arm64: dts: imx8dxl_evk: add lpspi0 support
authorFrank Li <Frank.Li@nxp.com>
Fri, 11 Nov 2022 15:47:42 +0000 (10:47 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Nov 2022 08:48:45 +0000 (16:48 +0800)
Enable lpspi0 at imx8dxl_evk boards dts.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8dxl-evk.dts

index f8d416f..280a9c9 100644 (file)
        status = "okay";
 };
 
+&lpspi3 {
+       fsl,spi-num-chipselects = <1>;
+       fsl,spi-only-use-cs1-sel;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_lpspi3>;
+       pinctrl-assert-gpios = <&pca6416_1 7 GPIO_ACTIVE_HIGH>;
+       status = "okay";
+
+       spidev0: spi@0 {
+               reg = <0>;
+               compatible = "rohm,dh2228fv";
+               spi-max-frequency = <30000000>;
+       };
+};
+
 &iomuxc {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_hog>;