[U-Boot] [PATCH] arm: controlcenterdc: Add spi-flash compatible strings

Mario Six mario.six at gdsys.cc
Thu Apr 26 08:10:59 UTC 2018


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 at gdsys.cc>
---
 arch/arm/dts/armada-38x-controlcenterdc.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/armada-38x-controlcenterdc.dts b/arch/arm/dts/armada-38x-controlcenterdc.dts
index d183fd7502..8e7df43331 100644
--- a/arch/arm/dts/armada-38x-controlcenterdc.dts
+++ b/arch/arm/dts/armada-38x-controlcenterdc.dts
@@ -93,14 +93,14 @@
 				spi-flash at 0 {
 					#address-cells = <1>;
 					#size-cells = <1>;
-					compatible = "n25q016a";
+					compatible = "n25q016a", "spi-flash";
 					reg = <0>; /* Chip select 0 */
 					spi-max-frequency = <108000000>;
 				};
 				spi-flash at 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;
-- 
2.16.1



More information about the U-Boot mailing list