[External] Re: Call for testing: spi-mem driver for Aspeed SMC controllers

Lei Yu yulei.sh at bytedance.com
Wed Mar 2 13:28:32 AEDT 2022


> I tried to enable quad spi by adjust the device tree:
>
> --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
> +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
> @@ -157,10 +157,13 @@ &rtc {
>  };
>
>  &fmc {
> +     pinctrl-names = "default";
> +     pinctrl-0 = <&pinctrl_fwqspid_default>;

We had similar issue, for QSPI it needs to pick FWQSPI related changes
from aspeed-sdk's tree:
https://github.com/AspeedTech-BMC/linux/blob/aspeed-master-v5.15/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c#L1322

And with the updated dtsi:
https://github.com/AspeedTech-BMC/linux/blob/aspeed-master-v5.15/arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi#L120

And with the machine dts:
    pinctrl-0 = <&pinctrl_fwqspi_default>;


More information about the openbmc mailing list