Commit 65fa83a6 authored by Frank Li's avatar Frank Li Committed by Shawn Guo
Browse files

arm64: dts: imx8dxl_evk: add lpspi0 support



Enable lpspi0 at imx8dxl_evk boards dts.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c4098885
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -359,6 +359,21 @@ &usdhc2 {
	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>;