ARM: dts: socfpga: add nand controller nodes
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 9 Nov 2016 18:39:33 +0000 (12:39 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 9 Nov 2016 18:40:52 +0000 (12:40 -0600)
Add the denali nand controller to the socfpga dtsi.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga.dtsi

index dda6b45..27c1d46 100644 (file)
                        status = "disabled";
                };
 
+               nand0: nand@ff900000 {
+                       #address-cells = <0x1>;
+                       #size-cells = <0x1>;
+                       compatible = "denali,denali-nand-dt";
+                       reg = <0xff900000 0x100000>,
+                             <0xffb80000 0x10000>;
+                       reg-names = "nand_data", "denali_reg";
+                       interrupts = <0x0 0x90 0x4>;
+                       dma-mask = <0xffffffff>;
+                       clocks = <&nand_clk>;
+                       status = "disabled";
+               };
+
                ocram: sram@ffff0000 {
                        compatible = "mmio-sram";
                        reg = <0xffff0000 0x10000>;