diff options
author | Gao Pan <pandy.gao@nxp.com> | 2016-12-15 14:34:15 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:25:27 +0800 |
commit | ad178131f149f2de7e2da8965110259c78595732 (patch) | |
tree | 18c2c41071f2113235311ac16c99a3db5509342a /arch/arm/boot/dts/imx7ulp-evk.dts | |
parent | 7dfd8bffd72638866d6559b4261825cf8b89b06b (diff) |
MLK-13618 arm: dts: enable lpspi3 in imx7ulp-evk.dts
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7ulp-evk.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts index 81c6860acbf8..4dce316d92ff 100644 --- a/arch/arm/boot/dts/imx7ulp-evk.dts +++ b/arch/arm/boot/dts/imx7ulp-evk.dts @@ -201,6 +201,15 @@ >; }; + pinctrl_lpspi3: lpspi3grp { + fsl,pins = < + IMX7ULP_PAD_PTF16__LPSPI3_SIN 0x300 + IMX7ULP_PAD_PTF17__LPSPI3_SOUT 0x300 + IMX7ULP_PAD_PTF18__LPSPI3_SCK 0x300 + IMX7ULP_PAD_PTF19__LPSPI3_PCS0 0x300 + >; + }; + pinctrl_usb_otg1: usbotg1grp { fsl,pins = < IMX7ULP_PAD_PTC0__PTC0 0x30100 @@ -292,6 +301,20 @@ }; }; +&lpspi3 { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi3>; + status = "okay"; + + spidev0: spi@0 { + reg = <0>; + compatible = "rohm,dh2228fv"; + spi-max-frequency = <1000000>; + }; +}; + &lpuart4 { /* console */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart4>; |