apm821xx: convert legacy nand partition layout
[openwrt/staging/chunkeey.git] / target / linux / apm821xx / dts / netgear-wndr4700.dts
index 3f93153d4da6a6a6753851183d21d84218563e14..63c96bd82a8a7d24ce4bf1fc48b3023abe05de76 100644 (file)
        dr_mode = "host";
 };
 
-&EBC0 {
-       ndfc: ndfc@1,0 {
-
-               status = "okay";
-               /* 128 MiB Nand Flash */
-               nand {
-                       nand-is-boot-medium;
+&ndfc {
+       status = "okay";
+       /* 128 MiB Nand Flash */
+       nand {
+               nand-is-boot-medium;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
 
                        partition@0 {
                                label = "uboot";