ath79: add AR934x NAND Flash Controller driver
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar934x.dtsi
index ba1355d071f50416eab9a07fbef298ddece796b2..bb6c647452e6ce1f9b8c515f4826f8e5f1763fa7 100644 (file)
                        };
                };
 
                        };
                };
 
+               nand: nand@1b000200 {
+                       compatible = "qca,ar934x-nand";
+                       reg = <0x1b000200 0xb8>;
+
+                       interrupts = <21>;
+                       interrupt-parent = <&miscintc>;
+
+                       resets = <&rst 14>;
+                       reset-names = "nand";
+
+                       nand-ecc-mode = "hw";
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       status = "disabled";
+               };
+
                gmac: gmac@18070000 {
                        compatible = "qca,ar9340-gmac";
                        reg = <0x18070000 0x14>;
                gmac: gmac@18070000 {
                        compatible = "qca,ar9340-gmac";
                        reg = <0x18070000 0x14>;