[U-Boot] [PATCH 1/1] ls1012a:dts: Update LS1012A-2G5RDB device tree

Bhaskar Upadhaya Bhaskar.Upadhaya at nxp.com
Fri Dec 8 03:35:51 UTC 2017


Previously LS1012A-2G5RDB dts includes fsl-ls1012a-rdb.dtsi which
further includes fsl-ls1012a.dtsi.Now LS1012A-2G5RDB dts include
fsl-ls1012a.dtsi.

Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya at nxp.com>
---
 arch/arm/dts/fsl-ls1012a-2g5rdb.dts | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/fsl-ls1012a-2g5rdb.dts b/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
index 8c7f410..3b692d0 100644
--- a/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
+++ b/arch/arm/dts/fsl-ls1012a-2g5rdb.dts
@@ -7,10 +7,37 @@
  */
 
 /dts-v1/;
-#include "fsl-ls1012a-rdb.dtsi"
+#include "fsl-ls1012a.dtsi"
 
 / {
+	model = "LS1012A 2G5RDB Board";
+
+	aliases {
+		spi0 = &qspi;
+	};
+
 	chosen {
 		stdout-path = &duart0;
+       };
+};
+
+&qspi {
+	bus-num = <0>;
+	status = "okay";
+
+	qflash0: s25fl128s at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "spi-flash";
+		spi-max-frequency = <20000000>;
+		reg = <0>;
 	};
 };
+
+&i2c0 {
+	status = "okay";
+};
+
+&duart0 {
+	status = "okay";
+};
-- 
1.9.1



More information about the U-Boot mailing list