apm821xx: convert legacy nand partition layout
[openwrt/staging/chunkeey.git] / target / linux / apm821xx / dts / netgear-wndap6x0.dtsi
index c18c73d95672e501ea6c604c32d9f2eb83def24c..c6f112d240e07aa78e1af44cc656be3bcdfc6991 100644 (file)
        status = "okay";
 };
 
-&EBC0 {
-       ndfc@1,0 {
-               status = "okay";
-               /* 32 MiB SLC NAND Flash */
-               nand {
-                       nand-is-boot-medium;
+&ndfc {
+       status = "okay";
+       /* 32 MiB SLC NAND Flash */
+
+       nand {
+               nand-is-boot-medium;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
 
                        partition@0 {
                                label = "u-boot";