Re: [PATCHv2] arm64: dts: agilex: add QSPI support for Intel Agilex

From: Dinh Nguyen
Date: Mon Oct 21 2019 - 23:46:46 EST




On 10/17/19 8:00 PM, Ley Foon Tan wrote:
> On Wed, 2019-10-16 at 02:40 -0700, Ooi, Joyce wrote:
>> This patch adds QSPI flash interface in device tree for Intel Agilex
>>
>> Signed-off-by: Ooi, Joyce <joyce.ooi@xxxxxxxxx>
>> ---
>> v2: update the qspi_rootfs partition size
>> ---
>> Âarch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 35
>> ++++++++++++++++++++++
>> Â1 file changed, 35 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
>> b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
>> index 7814a9e..8de8118 100644
>> --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
>> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
>> @@ -73,3 +73,38 @@
>> Â&watchdog0 {
>> Â status = "okay";
>> Â};
>> +
>> +&qspi {
>> + flash@0 {
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + compatible = "mt25qu02g";
>> + reg = <0>;
>> + spi-max-frequency = <50000000>;
> QSPI can support up to 100MHz.

I've updated the patch accordingly.

Dinh