summaryrefslogtreecommitdiff
path: root/arch/arm/dts/fsl-imx8dxl-evk.dts
diff options
context:
space:
mode:
authorClark Wang <xiaoning.wang@nxp.com>2020-09-11 15:24:48 +0800
committerYe Li <ye.li@nxp.com>2022-04-06 18:04:08 +0800
commit4984878781749f6c79146b987b3065cac440f128 (patch)
tree244eb76da8c98e02ee1a038fca0c22c4fc73f981 /arch/arm/dts/fsl-imx8dxl-evk.dts
parent6496a03112b03e521aefc3bf619ec753a3a9acca (diff)
MLK-24766-5 arm64: dts: imx8dxl: enable lpspi3 support
Enable imx8dxl lpspi3 with both cs-gpio and non-cs-gpio enabled. Non-cs-gpio config is just a configuration example. Signed-off-by: Clark Wang <xiaoning.wang@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 66429f49e5dac7052cb8fe5fd8853b7586b0ba3a) (cherry picked from commit c718fa3d1dbc8638278626cf5294ebe360a04859) (cherry picked from commit 2e98e5e4937f33cc760c63d863329ef345a05c64) (cherry picked from commit 160b0cabd612df1ffb236757b981d5d44188473e)
Diffstat (limited to 'arch/arm/dts/fsl-imx8dxl-evk.dts')
-rw-r--r--arch/arm/dts/fsl-imx8dxl-evk.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8dxl-evk.dts b/arch/arm/dts/fsl-imx8dxl-evk.dts
index 1f4641f545..86558080d6 100644
--- a/arch/arm/dts/fsl-imx8dxl-evk.dts
+++ b/arch/arm/dts/fsl-imx8dxl-evk.dts
@@ -158,6 +158,16 @@
>;
};
+ pinctrl_lpspi3: lpspi3grp {
+ fsl,pins = <
+ SC_P_SPI3_SCK_ADMA_SPI3_SCK 0x0600004c
+ SC_P_SPI3_SDO_ADMA_SPI3_SDO 0x0600004c
+ SC_P_SPI3_SDI_ADMA_SPI3_SDI 0x0600004c
+ SC_P_SPI3_CS1_ADMA_SPI3_CS1 0x0600004c
+ SC_P_SPI3_CS0_LSIO_GPIO0_IO16 0x21
+ >;
+ };
+
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
SC_P_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041
@@ -286,6 +296,10 @@
status = "okay";
};
+&gpio0 {
+ status = "okay";
+};
+
&gpio4 {
status = "okay";
};
@@ -294,6 +308,16 @@
status = "okay";
};
+&lpspi3 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lpspi3>;
+ cs-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>, <0>, <0>, <0>;
+ spi-max-frequency = <1000000>;
+ status = "okay";
+};
+
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";