Commit 65eaaa9d authored by Guido Gunther's avatar Guido Gunther
Browse files

imx8mq-librem5-devkit: Add DT entries for the proximity sensor


Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 7305aec0
......@@ -407,6 +407,15 @@ charger@6b { /* bq25896 */
ti,boost-voltage = <5000000>; /* 5V */
ti,boost-max-current = <50000>; /* 50mA */
};
prox@60 {
compatible = "vishay,vcnl4040", "vishay,vcnl4200";
reg = <0x60>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_prox>;
interrupt-parent = <&gpio1>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
};
};
&i2c3 {
......@@ -536,6 +545,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