[PATCH 12/13] arm64: dts: imx95-19x19-evk: Add spidev0

Peng Fan posted 13 patches 1 month, 2 weeks ago
There is a newer version of this series
[PATCH 12/13] arm64: dts: imx95-19x19-evk: Add spidev0
Posted by Peng Fan 1 month, 2 weeks ago
Add "lwn,bk4-spi" compatible spidev node under lpspi7.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
index 0ad5707314fb225b74d8940908b53dc2a444ed5d..193fc2cc9ac92bc3f0ff0e14ce0b1f84e91516c5 100644
--- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
@@ -507,6 +507,12 @@ &lpspi7 {
 	pinctrl-0 = <&pinctrl_lpspi7>;
 	cs-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
 	status = "okay";
+
+	spidev0: spi@0 {
+		compatible = "lwn,bk4-spi";
+		reg = <0>;
+		spi-max-frequency = <1000000>;
+	};
 };
 
 &micfil {

-- 
2.37.1
Re: [PATCH 12/13] arm64: dts: imx95-19x19-evk: Add spidev0
Posted by Frank Li 1 month, 2 weeks ago
On Fri, Aug 15, 2025 at 05:03:58PM +0800, Peng Fan wrote:
> Add "lwn,bk4-spi" compatible spidev node under lpspi7.

Previous NAK by Krzysztof Kozlowski

https://lore.kernel.org/imx/7d4ec7c9-c95a-4e7e-9750-f6310ecb59fc@kernel.org/

our board have not SPI which attached to big lwn,bk4-spi boards.

Frank

>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> index 0ad5707314fb225b74d8940908b53dc2a444ed5d..193fc2cc9ac92bc3f0ff0e14ce0b1f84e91516c5 100644
> --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
> @@ -507,6 +507,12 @@ &lpspi7 {
>  	pinctrl-0 = <&pinctrl_lpspi7>;
>  	cs-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
>  	status = "okay";
> +
> +	spidev0: spi@0 {
> +		compatible = "lwn,bk4-spi";
> +		reg = <0>;
> +		spi-max-frequency = <1000000>;
> +	};
>  };
>
>  &micfil {
>
> --
> 2.37.1
>