Re: [PATCH v2 2/2] riscv: dts: spacemit: add QSPI support for K3 Pico-ITX
Yixun Lan <[email protected]> Tue, 7 Jul 2026 10:56:36 +0000
| Newsgroups | dev.linux.lists.spacemit,dev.linux.lists.imx,org.infradead.lists.linux-riscv,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> > Signed-off-by: Zhengyu He <[email protected]> > --- > 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@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)