[PATCH v2 2/2] riscv: dts: spacemit: add QSPI support for K3 Pico-ITX
Yixun Lan
dlan at kernel.org
Tue Jul 7 03:56:36 PDT 2026
Hi Zhengyu,
since I'm requesting some changes, so along with the title, suggest
riscv: dts: spacemit: k3: Add QSPI support for Pico-ITX board
On 22:44 Thu 21 May , Zhengyu He wrote:
> Add K3 QSPI controller node into k3.dtsi, and add related pinmux
> configuration.
It's obvious..
>
> Enable QSPI on Pico-ITX board, and describe the NOR flash which wires
> to it.
>
How about combine above and simplify
Enable QSPI with proper pinmux on Pico-ITX board, and describe the NOR flash
which wires to it.
> Signed-off-by: Cody Kang <cody.kang.hk at outlook.com>
> Signed-off-by: Zhengyu He <hezhy472013 at gmail.com>
> ---
> Changes in v2:
> - Add "spacemit,k1-qspi" fallback to the K3 QSPI compatible.
> - Reordered Signed-off-by trailers.
> ---
> arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 58 ++++++++++++++++++++++++++++
> arch/riscv/boot/dts/spacemit/k3-pinctrl.dtsi | 21 ++++++++++
> arch/riscv/boot/dts/spacemit/k3.dtsi | 17 ++++++++
> 3 files changed, 96 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> index b89c1521e664..e90e17895bb2 100644
> --- a/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> +++ b/arch/riscv/boot/dts/spacemit/k3-pico-itx.dts
> @@ -200,6 +200,64 @@ phy0: phy at 1 {
> };
> };
>
> +&pinctrl {
> + qspi-cfg {
as you've already defined te label, which make it possible to reduce one indention
&qspi_cfg {
..
}
> + qspi-pins {
> + power-source = <1800>;
> + };
> +
> + qspi-cs0-pins {
> + power-source = <1800>;
> + };
> + };
> +};
> +
--
Yixun Lan (dlan)
More information about the linux-riscv
mailing list