Commit ea38ca9a authored by Guido Günther's avatar Guido Günther Committed by Shawn Guo

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: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4c940354
...@@ -441,6 +441,12 @@ touchscreen@5d { ...@@ -441,6 +441,12 @@ touchscreen@5d {
VDDIO-supply = <&reg_1v8_p>; VDDIO-supply = <&reg_1v8_p>;
}; };
proximity-sensor@60 {
compatible = "vishay,vcnl4040";
reg = <0x60>;
pinctrl-0 = <&pinctrl_prox>;
};
accel-gyro@6a { accel-gyro@6a {
compatible = "st,lsm9ds1-imu"; compatible = "st,lsm9ds1-imu";
reg = <0x6a>; reg = <0x6a>;
...@@ -543,6 +549,12 @@ MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x80 /* PMIC intr */ ...@@ -543,6 +549,12 @@ MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x80 /* PMIC intr */
>; >;
}; };
pinctrl_prox: proxgrp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */
>;
};
pinctrl_pwr_en: pwrengrp { pinctrl_pwr_en: pwrengrp {
fsl,pins = < fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06 MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment