[openwrt/openwrt] ipq806x: simplify ecw5410 dts

LEDE Commits lede-commits at lists.infradead.org
Thu May 6 22:06:00 PDT 2021


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d079c8fa48995a64ce56c1d01cf008118e999a81

commit d079c8fa48995a64ce56c1d01cf008118e999a81
Author: Ansuel Smith <ansuelsmth at gmail.com>
AuthorDate: Wed Mar 3 11:46:52 2021 +0100

    ipq806x: simplify ecw5410 dts
    
    Simplify ecw5410 dts instead of redefine nodes.
    
    Signed-off-by: Ansuel Smith <ansuelsmth at gmail.com>
---
 .../arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts     | 50 +++++++++++-----------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
index 9b14bb2c29..1d159714db 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts
@@ -258,40 +258,40 @@
 	};
 };
 
-&soc {
-	nand at 1ac00000 {
-		status = "okay";
+&nand_controller {
+	status = "okay";
 
-		pinctrl-0 = <&nand_pins>;
-		pinctrl-names = "default";
+	pinctrl-0 = <&nand_pins>;
+	pinctrl-names = "default";
 
-		nand at 0 {
-			compatible = "qcom,nandcs";
+	nand at 0 {
+		compatible = "qcom,nandcs";
 
-			reg = <0>;
+		reg = <0>;
 
-			nand-ecc-strength = <4>;
-			nand-bus-width = <8>;
-			nand-ecc-step-size = <512>;
+		nand-ecc-strength = <4>;
+		nand-bus-width = <8>;
+		nand-ecc-step-size = <512>;
 
-			partitions {
-				compatible = "fixed-partitions";
-				#address-cells = <1>;
-				#size-cells = <1>;
-
-				rootfs1 at 0 {
-					label = "rootfs1";
-					reg = <0x0000000 0x4000000>;
-				};
-
-				rootfs2 at 4000000 {
-					label = "rootfs2";
-					reg = <0x4000000 0x4000000>;
-				};
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			rootfs1 at 0 {
+				label = "rootfs1";
+				reg = <0x0000000 0x4000000>;
+			};
+
+			rootfs2 at 4000000 {
+				label = "rootfs2";
+				reg = <0x4000000 0x4000000>;
 			};
 		};
 	};
+};
 
+&soc {
 	mdio1: mdio {
 		compatible = "virtual,mdio-gpio";
 		#address-cells = <1>;



More information about the lede-commits mailing list