Skip to content

Commit

Permalink
arm64: dts: agilex: add QSPI support for Intel Agilex
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ooi, Joyce authored and Dinh Nguyen committed Oct 22, 2019
1 parent e683c4b commit c4c8757
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,38 @@
&watchdog0 {
status = "okay";
};

&qspi {
flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mt25qu02g";
reg = <0>;
spi-max-frequency = <100000000>;

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>;
};
};
};
};

0 comments on commit c4c8757

Please sign in to comment.