Skip to contentSkip to conversation

arm64: dts: socfpga: agilex5: add qspi flash node

PATCH Applied [email protected] 3 participants 3 messages Feb 5, 2025 – Feb 25, 2025 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: socfpga: agilex5: add qspi flash node

From: Niravkumar L Rabara <[email protected]>

Add Micron qspi nor flash node for Intel SoCFPGA Agilex5.

---

changes in v2:
* Removed unexpected properties to fix dts build warnings.

Link to v1:https://lore.kernel.org/all/[email protected]/

 .../boot/dts/intel/socfpga_agilex5_socdk.dts  | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +31 -0
index c533e5a3a610..5eda77242c5d 100644
@@ -25,6 +25,37 @@ &osc1 {
 	clock-frequency = <25000000>;
 };
 
+&qspi {
+	status = "okay";
+	flash@0 {
+		compatible = "micron,mt25qu02g", "jedec,spi-nor";
+		reg = <0>;
+		spi-max-frequency = <100000000>;
+		m25p,fast-read;
+		cdns,read-delay = <2>;
+		cdns,tshsl-ns = <50>;
+		cdns,tsd2d-ns = <50>;
+		cdns,tchsh-ns = <4>;
+		cdns,tslch-ns = <4>;
+
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			qspi_boot: partition@0 {
+				label = "u-boot";
+				reg = <0x0 0x04200000>;
+			};
+
+			root: partition@4200000 {
+				label = "root";
+				reg = <0x04200000 0x0be00000>;
+			};
+		};
+	};
+};
+
 &uart0 {
 	status = "okay";
 };
Signature · 1 line
2.25.1
Applied
#2 lore raw
In reply to [email protected]
Quoted 7 lines · On 2/5/25 04:11, [email protected] wrote:

From: Niravkumar L Rabara <[email protected]>

Add Micron qspi nor flash node for Intel SoCFPGA Agilex5.

---

Quoted 9 lines

changes in v2:
* Removed unexpected properties to fix dts build warnings.

Link to v1:https://lore.kernel.org/all/[email protected]/

  .../boot/dts/intel/socfpga_agilex5_socdk.dts  | 31 +++++++++++++++++++
  1 file changed, 31 insertions(+)

Applied!