ipq806x: rework dts to use label
[openwrt/staging/hauke.git] / target / linux / ipq806x / files-5.4 / arch / arm / boot / dts / qcom-ipq8064-wxr-2533dhp.dts
index 401cd0c7f72b508240e61b971a4ffb16a86b5a1f..0cc1b7965f1aa23b811d6ba20d0fbd85828a2416 100644 (file)
        };
 
        soc {
-               nand-controller@1ac00000 {
-                       status = "okay";
-
-                       pinctrl-0 = <&nand_pins>;
-                       pinctrl-names = "default";
-
-                       cs@0 {
-                               reg = <0>;
-                               compatible = "qcom,nandcs";
-
-                               nand-ecc-strength = <4>;
-                               nand-bus-width = <8>;
-                               nand-ecc-step-size = <512>;
-
-                               partitions {
-                                       compatible = "fixed-partitions";
-                                       #address-cells = <1>;
-                                       #size-cells = <1>;
-
-                                       ubi@0 {
-                                               label = "ubi";
-                                               reg = <0x0000000 0x4000000>;
-                                       };
-
-                                       rootfs_1@4000000 {
-                                               label = "rootfs_1";
-                                               reg = <0x4000000 0x4000000>;
-                                       };
-                               };
-                       };
-               };
 
                mdio0: mdio@37000000 {
                        #address-cells = <1>;
        };
 };
 
+&nand_controller {
+       status = "okay";
+
+       pinctrl-0 = <&nand_pins>;
+       pinctrl-names = "default";
+
+       cs@0 {
+               reg = <0>;
+               compatible = "qcom,nandcs";
+
+               nand-ecc-strength = <4>;
+               nand-bus-width = <8>;
+               nand-ecc-step-size = <512>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ubi@0 {
+                               label = "ubi";
+                               reg = <0x0000000 0x4000000>;
+                       };
+
+                       rootfs_1@4000000 {
+                               label = "rootfs_1";
+                               reg = <0x4000000 0x4000000>;
+                       };
+               };
+       };
+};
+
 &adm_dma {
        status = "okay";
 };