Commit 7ce1fef0 authored by Angus Ainslie's avatar Angus Ainslie
Browse files

emcraft-imx8-som.dts : enable the bq25896 driver

parent aaaf3e74
......@@ -442,6 +442,12 @@
MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x41 /*0x17059*/
>;
};
pinctrl_charger: chargerirq {
fsl,pins = <
MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x41
>;
};
pinctrl_rtc: rtcirq {
fsl,pins = <
......@@ -805,6 +811,14 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c4>;
status = "okay";
charger: charger@6b { /* bq25896 */
compatible = "ti,bq25890";
reg = <0x6b>;
pinctrl-0 = <&pinctrl_charger>;
interrupt-parent = <&gpio3>;
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
};
};
......
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