From: Niravkumar L Rabara Date: Wed, 5 Feb 2025 10:11:53 +0000 (+0800) Subject: arm64: dts: socfpga: agilex5: add qspi flash node X-Git-Tag: v6.16-rc1~97^2~47^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a63766f32d62cf3677429faf75f24539735fef1b;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: socfpga: agilex5: add qspi flash node Add Micron qspi nor flash node for Intel SoCFPGA Agilex5. Signed-off-by: Niravkumar L Rabara Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dinh Nguyen --- diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts index c533e5a3a6106..5eda77242c5d0 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts @@ -25,6 +25,37 @@ 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"; };