arm64: dts: librem5: enable the proximity sensor

There is a vcnl4040 light and proximity sensor on the board. Enable it.
Signed-off-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
parent dc26c0bb
......@@ -436,6 +436,14 @@ touchscreen@5d {
AVDD28-supply = <&reg_2v8_p>;
VDDIO-supply = <&reg_1v8_p>;
};
prox@60 {
compatible = "vishay,vcnl4040", "vishay,vcnl4200";
reg = <0x60>;
pinctrl-0 = <&pinctrl_prox>;
interrupt-parent = <&gpio1>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
};
};
&iomuxc {
......@@ -532,6 +540,12 @@ MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x80 /* PMIC intr */
>;
};
pinctrl_prox: proxgrp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* PROX_INT */
>;
};
pinctrl_pwr_en: pwrengrp {
fsl,pins = <
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