diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-01-20 19:12:55 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-02-14 05:24:58 +0300 |
commit | ea38ca9a2607872b5bb515911330df52f9e4934b (patch) | |
tree | 889c71f8c21fc6c734a3ba7c1196c7c68e834c41 /arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | |
parent | 4c9403540f2859e848ae90dfae8915bf05d2189b (diff) | |
download | linux-ea38ca9a2607872b5bb515911330df52f9e4934b.tar.xz |
arm64: dts: imx8mq-librem5-devkit: Add proximity sensor
Support for the vcnl4040 landet a while ago so add it and the
corresponding pinmux. The irq is currently unused in the driver so don't
configure it yet.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 764a4cb4e125..007c14eec676 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -441,6 +441,12 @@ VDDIO-supply = <®_1v8_p>; }; + proximity-sensor@60 { + compatible = "vishay,vcnl4040"; + reg = <0x60>; + pinctrl-0 = <&pinctrl_prox>; + }; + accel-gyro@6a { compatible = "st,lsm9ds1-imu"; reg = <0x6a>; @@ -543,6 +549,12 @@ >; }; + pinctrl_prox: proxgrp { + fsl,pins = < + MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */ + >; + }; + pinctrl_pwr_en: pwrengrp { fsl,pins = < MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06 |