arm64: dts: rockchip: rk3566-rk817-eink-w6: add charger leds

Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Id2edd426c626b8cc9e3d86626f9e9dc766f91ff6
This commit is contained in:
Weixin Zhou
2021-01-12 21:49:06 +08:00
committed by Tao Huang
parent 2810efc860
commit ceaaf760e6

View File

@@ -59,6 +59,26 @@
};
};
leds: gpio-leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 =<&leds_gpio>;
led@1 {
gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "battery-full";
label = "battery_full";
retain-state-suspended;
};
led@2 {
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "battery-charging";
label = "battery_charging";
retain-state-suspended;
};
};
vccsys: vccsys {
compatible = "regulator-fixed";
regulator-name = "vcc3v8_sys";
@@ -651,6 +671,14 @@
};
};
leds {
leds_gpio: leds-gpio {
rockchip,pins =
<0 RK_PC4 RK_FUNC_1 &pcfg_pull_none>,
<0 RK_PC5 RK_FUNC_1 &pcfg_pull_none>;
};
};
tps_pmic {
tps65185_gpio: tps65185-gpio {
rockchip,pins =