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 b60354df
Pipeline #20300 passed with stage
in 12 minutes and 10 seconds
......@@ -544,6 +544,14 @@
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 {
......@@ -660,6 +668,12 @@
>;
};
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