bcm63xx: AD1018-nor: add NAND flash
[openwrt/staging/rmilecki.git] / target / linux / bcm63xx / dts / bcm6328-sercomm-ad1018-nor.dts
index 83f7578b06960e564f0bad3b8995fed5f74a001a..5a9f52648e295eda93b572a088eeeff002fa450f 100644 (file)
        };
 };
 
+&nflash {
+       status = "okay";
+
+       nandcs@0 {
+               compatible = "brcm,nandcs";
+               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 = <0 0>; /* autodetected size */
+                       };
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };