diff options
author | Robin Gong <yibin.gong@nxp.com> | 2016-11-17 16:21:48 +0800 |
---|---|---|
committer | Robin Gong <yibin.gong@nxp.com> | 2016-11-22 16:52:30 +0800 |
commit | 1d720481e48a856e6da67719608d21b352a78524 (patch) | |
tree | 16b080073eef40ce494f19e0f0c187fc97da59c6 /arch/arm/boot/dts | |
parent | 55cb12f7742bab713d21bc5bf8cfcbd097166930 (diff) |
MLK-13477: ARM: dts: imx6sll-evk: add charger driver
Add charger driver in dts.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
(cherry picked from commit 09b4ada240e7ca8c65904202e8293be5115960c3)
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sll-evk.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts index cc2f382627e0..b4af007c983f 100644 --- a/arch/arm/boot/dts/imx6sll-evk.dts +++ b/arch/arm/boot/dts/imx6sll-evk.dts @@ -28,6 +28,19 @@ status = "okay"; }; + battery: max8903@0 { + compatible = "fsl,max8903-charger"; + pinctrl-names = "default"; + dok_input = <&gpio4 13 1>; + uok_input = <&gpio4 13 1>; + chg_input = <&gpio4 15 1>; + flt_input = <&gpio4 14 1>; + fsl,dcm_always_high; + fsl,dc_valid; + fsl,adc_disable; + status = "okay"; + }; + pxp_v4l2_out { compatible = "fsl,imx6sl-pxp-v4l2"; status = "okay"; @@ -371,6 +384,10 @@ MX6SLL_PAD_KEY_COL6__GPIO4_IO04 0x17059 /*SD3 RESET */ MX6SLL_PAD_KEY_COL5__GPIO4_IO02 0x17059 MX6SLL_PAD_GPIO4_IO24__GPIO4_IO24 0x17059 /* HP DETECT */ + /* CHG_FLT, CHG_UOK/DOK, CHG_STATUS */ + MX6SLL_PAD_ECSPI2_MISO__GPIO4_IO14 0x17000 + MX6SLL_PAD_ECSPI2_MOSI__GPIO4_IO13 0x17000 + MX6SLL_PAD_ECSPI2_SS0__GPIO4_IO15 0x17000 >; }; |