summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinesh Maniyam <dinesh.maniyam@intel.com>2025-02-27 00:18:16 +0800
committerMichael Trimarchi <michael@amarulasolutions.com>2025-03-15 10:35:00 +0100
commitefb9cae1f1fa0e0d9185f943571a012ac9cb4b2a (patch)
tree27e6ccd1aede4447fc844b0d71e207f9e362a52b
parent1ae1e9c55ec42d5176aa5f4a88efc62c63863e43 (diff)
arm: dts: agilex5: Enabled cdns-nand dts setting
Enable cdns-nand dts setting for the socfpga_agilex5 family device. Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
-rw-r--r--arch/arm/dts/socfpga_agilex5.dtsi14
-rw-r--r--arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi9
-rw-r--r--arch/arm/dts/socfpga_agilex5_socdk.dts19
3 files changed, 41 insertions, 1 deletions
diff --git a/arch/arm/dts/socfpga_agilex5.dtsi b/arch/arm/dts/socfpga_agilex5.dtsi
index 03b55040497..64665e499e7 100644
--- a/arch/arm/dts/socfpga_agilex5.dtsi
+++ b/arch/arm/dts/socfpga_agilex5.dtsi
@@ -330,6 +330,20 @@
status = "disabled";
};
+ nand: nand@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@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 9eb21d65428..23e0354cba9 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;
};
@@ -121,4 +129,3 @@
&watchdog0 {
bootph-all;
};
-
diff --git a/arch/arm/dts/socfpga_agilex5_socdk.dts b/arch/arm/dts/socfpga_agilex5_socdk.dts
index 852e1e5ae3c..976656a35ad 100644
--- a/arch/arm/dts/socfpga_agilex5_socdk.dts
+++ b/arch/arm/dts/socfpga_agilex5_socdk.dts
@@ -161,3 +161,22 @@
};
};
};
+
+&nand {
+ status = "okay";
+
+ flash1: flash@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0 0x200000>;
+ };
+ partition@200000 {
+ label = "root";
+ reg = <0x200000 0x3fe00000>;
+ };
+ };
+};