[resend v2 02/19] arm: dts: agilex5: Enabled cdns-nand dts setting
dinesh.maniyam at intel.com
dinesh.maniyam at intel.com
Thu Dec 5 10:22:58 CET 2024
From: Dinesh Maniyam <dinesh.maniyam at intel.com>
Enable cdns-nand dts setting for the socfpga_agilex5
family device.
Signed-off-by: Dinesh Maniyam <dinesh.maniyam at intel.com>
---
v2:
- remove the "this patch is to" commit phrases
---
---
arch/arm/dts/socfpga_agilex5.dtsi | 14 ++++++++++
.../arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 28 +++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/arch/arm/dts/socfpga_agilex5.dtsi b/arch/arm/dts/socfpga_agilex5.dtsi
index 03b5504049..64665e499e 100644
--- a/arch/arm/dts/socfpga_agilex5.dtsi
+++ b/arch/arm/dts/socfpga_agilex5.dtsi
@@ -330,6 +330,20 @@
status = "disabled";
};
+ nand: nand at 10b80000 {
+ compatible = "cdns,nand";
+ reg = <0x10b80000 0x10000>,
+ <0x10840000 0x1000>;
+ reg-names = "reg", "sdma";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ interrupts = <0 97 4>;
+ clocks = <&clkmgr AGILEX5_NAND_CLK>;
+ resets = <&rst NAND_RESET>, <&rst COMBOPHY_RESET>;
+ cdns,board-delay-ps = <4830>;
+ status = "disabled";
+ };
+
ocram: sram at 00000000 {
compatible = "mmio-sram";
reg = <0x00000000 0x200000>;
diff --git a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi b/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
index 9eb21d6542..f9cca84ee3 100644
--- a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
+++ b/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi
@@ -41,6 +41,10 @@
/delete-property/ cdns,read-delay;
};
+&flash1 {
+ bootph-all;
+};
+
&i3c0 {
bootph-all;
};
@@ -102,6 +106,10 @@
status = "okay";
};
+&nand {
+ bootph-all;
+};
+
&timer0 {
bootph-all;
};
@@ -122,3 +130,23 @@
bootph-all;
};
+&nand {
+ status = "okay";
+
+ flash1: flash at 0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ label = "u-boot";
+ reg = <0 0x200000>;
+ };
+ partition at 200000 {
+ label = "root";
+ reg = <0x200000 0x3fe00000>;
+ };
+ };
+};
+
+
--
2.19.0
More information about the U-Boot
mailing list