]> git.sur5r.net Git - u-boot/commitdiff
arm: controlcenterdc: Add spi-flash compatible strings
authorMario Six <mario.six@gdsys.cc>
Thu, 26 Apr 2018 08:10:59 +0000 (10:10 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:37 +0000 (09:07 -0400)
Since kirkwook SPI was recently converted to DM, add compatible strings
to the SPI flash devices to make them work with the new driver.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
arch/arm/dts/armada-38x-controlcenterdc.dts

index 896f8ae66dc2f346ab8c59cd4522f4f76101e6a5..2cc996876a77e3bd96bc197373394f47a4185370 100644 (file)
                                spi-flash@0 {
                                        #address-cells = <1>;
                                        #size-cells = <1>;
-                                       compatible = "n25q016a";
+                                       compatible = "n25q016a", "spi-flash";
                                        reg = <0>; /* Chip select 0 */
                                        spi-max-frequency = <108000000>;
                                };
                                spi-flash@1 {
                                        #address-cells = <1>;
                                        #size-cells = <1>;
-                                       compatible = "n25q128a11";
+                                       compatible = "n25q128a11", "spi-flash";
                                        reg = <1>; /* Chip select 1 */
                                        spi-max-frequency = <108000000>;
                                        u-boot,dm-pre-reloc;