]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: stratix10: Add NAND device node
authorDinh Nguyen <dinguyen@kernel.org>
Mon, 24 Jun 2019 21:12:32 +0000 (16:12 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 30 Jul 2019 14:05:29 +0000 (09:05 -0500)
Add the NAND device node to the base Stratix10 DTS.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index be78db2cd4c9f10c4aab54f0cd628f98066915b7..144a2c19ac02659a4b288d0df130ae26303d92cf 100644 (file)
@@ -302,6 +302,22 @@ mmc: dwmmc0@ff808000 {
                        status = "disabled";
                };
 
+               nand: nand@ffb90000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "altr,socfpga-denali-nand";
+                       reg = <0xffb90000 0x10000>,
+                             <0xffb80000 0x1000>;
+                       reg-names = "nand_data", "denali_reg";
+                       interrupts = <0 97 4>;
+                       clocks = <&clkmgr STRATIX10_NAND_CLK>,
+                                <&clkmgr STRATIX10_NAND_X_CLK>,
+                                <&clkmgr STRATIX10_NAND_ECC_CLK>;
+                       clock-names = "nand", "nand_x", "ecc";
+                       resets = <&rst NAND_RESET>, <&rst NAND_OCP_RESET>;
+                       status = "disabled";
+               };
+
                ocram: sram@ffe00000 {
                        compatible = "mmio-sram";
                        reg = <0xffe00000 0x100000>;