bcm63xx: dgnd3700-v1: add NAND support
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6368-netgear-dgnd3700-v1.dts
index 0c88d56c862049a1d9a0335d7b08b6b9470a19e5..546b0b1f6060217877251da0afbe97eb008c8ef8 100644 (file)
        };
 };
 
+&nflash {
+       status = "okay";
+
+       nandcs@0 {
+               compatible = "brcm,nandcs";
+               #size-cells = <1>;
+               #address-cells = <1>;
+               reg = <0>;
+               nand-ecc-step-size = <512>;
+               nand-ecc-strength = <15>;
+               nand-on-flash-bbt;
+               brcm,nand-oob-sector-size = <64>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "storage";
+                               reg = <0x0000000 0x8000000>;
+                       };
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };