Skip to contentSkip to conversation

arm64: dts: agilex: add QSPI support for Intel Agilex

PATCH Superseded Joyce Ooi 1 participant 1 message Oct 8, 2019 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Joyce Ooi

author
#0 lore raw

PATCH 1/1 arm64: dts: agilex: add QSPI support for Intel Agilex

From: "Ooi, Joyce" <[email protected]>

This patch adds QSPI flash interface in device tree for Intel Agilex

---
 arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +35 -0
index 2ba9a5dc91aa..e3c5b007fb51 100644
@@ -81,3 +81,38 @@
 &watchdog0 {
 	status = "okay";
 };
+
+&qspi {
+	flash@0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "mt25qu02g";
+		reg = <0>;
+		spi-max-frequency = <50000000>;
+
+		m25p,fast-read;
+		cdns,page-size = <256>;
+		cdns,block-size = <16>;
+		cdns,read-delay = <1>;
+		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 = "Boot and fpga data";
+				reg = <0x0 0x034B0000>;
+			};
+
+			qspi_rootfs: partition@34B0000 {
+				label = "Root Filesystem - JFFS2";
+				reg = <0x034B0000 0x0EB50000>;
+			};
+		};
+	};
+};
Signature · 1 line
2.13.0