Skip to contentSkip to conversation

arm64: dts: agilex: add NAND IP to base dts

PATCH New Dinh Nguyen 1 participant 2 messages Nov 8, 2019

Subsystems (2)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/2 arm64: dts: agilex: add NAND IP to base dts

Add NAND entry to base DTSI.

---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +12 -0
index 94090c6fb946..f9565e76a9d1 100644
@@ -249,6 +249,18 @@
 			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>;
+			resets = <&rst NAND_RESET>, <&rst NAND_OCP_RESET>;
+			status = "disabled";
+		};
+
 		ocram: sram@ffe00000 {
 			compatible = "mmio-sram";
 			reg = <0xffe00000 0x40000>;
Signature · 1 line
2.20.0
author maintainer
#1 lore raw

PATCH 2/2 arm64: dts: add NAND board files for Stratix10 and Agilex

From: Dinh Nguyen <[email protected]>

The Stratix10 and Agilex devkits support a separate NAND daughter card. The NAND daughter card replaces the SDMMC slot that is on the default daughter card thus requires a separate board dts file.

add socfpga_agilex_socdk_nand.dts

---
 arch/arm64/boot/dts/altera/Makefile           |   3 +-
 .../altera/socfpga_stratix10_socdk_nand.dts   | 225 ++++++++++++++++++
 arch/arm64/boot/dts/intel/Makefile            |   3 +-
 .../dts/intel/socfpga_agilex_socdk_nand.dts   | 136 +++++++++++
 4 files changed, 365 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
 create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
arch/arm64/boot/dts/altera/Makefile +2 -1
index 27bb925adc8d..10119c7ab437 100644
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-dtb-$(CONFIG_ARCH_STRATIX10) += socfpga_stratix10_socdk.dtb
+dtb-$(CONFIG_ARCH_STRATIX10) += socfpga_stratix10_socdk.dtb \
+				socfpga_stratix10_socdk_nand.dtb
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts new file +225 -0

225 lines not on this page · raw message

arch/arm64/boot/dts/intel/Makefile +2 -1
index 1253af30da8e..40cb16e8c814 100644
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-dtb-$(CONFIG_ARCH_AGILEX) += socfpga_agilex_socdk.dtb
+dtb-$(CONFIG_ARCH_AGILEX) += socfpga_agilex_socdk.dtb \
+			     socfpga_agilex_socdk_nand.dtb
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts new file +136 -0

136 lines not on this page · raw message

Signature · 1 line
2.20.0