Skip to content

Commit c4c8757

Browse files
joyceooi295Dinh Nguyen
authored andcommitted
arm64: dts: agilex: add QSPI support for Intel Agilex
This patch adds QSPI flash interface in device tree for Intel Agilex Signed-off-by: Ooi, Joyce <joyce.ooi@intel.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
1 parent e683c4b commit c4c8757

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,38 @@
7373
&watchdog0 {
7474
status = "okay";
7575
};
76+
77+
&qspi {
78+
flash@0 {
79+
#address-cells = <1>;
80+
#size-cells = <1>;
81+
compatible = "mt25qu02g";
82+
reg = <0>;
83+
spi-max-frequency = <100000000>;
84+
85+
m25p,fast-read;
86+
cdns,page-size = <256>;
87+
cdns,block-size = <16>;
88+
cdns,read-delay = <1>;
89+
cdns,tshsl-ns = <50>;
90+
cdns,tsd2d-ns = <50>;
91+
cdns,tchsh-ns = <4>;
92+
cdns,tslch-ns = <4>;
93+
94+
partitions {
95+
compatible = "fixed-partitions";
96+
#address-cells = <1>;
97+
#size-cells = <1>;
98+
99+
qspi_boot: partition@0 {
100+
label = "Boot and fpga data";
101+
reg = <0x0 0x034B0000>;
102+
};
103+
104+
qspi_rootfs: partition@34B0000 {
105+
label = "Root Filesystem - JFFS2";
106+
reg = <0x034B0000 0x0EB50000>;
107+
};
108+
};
109+
};
110+
};

0 commit comments

Comments
 (0)