arm64: dts: rockchip: rk3566-rk817-eink-w103: add charge led

Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I7ffbbadef1aa9df8d8234a318ef5043418db73d1
This commit is contained in:
Weixin Zhou
2021-01-19 09:36:56 +08:00
committed by Tao Huang
parent 3bd6077b1d
commit eb27d7ba43

View File

@@ -119,6 +119,17 @@
};
};
leds: gpio-leds {
compatible = "gpio-leds";
led@2 {
gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "battery-charging";
label = "battery_charging";
retain-state-suspended;
};
};
hall_sensor: hall-mh248 {
compatible = "hall-mh248";
irq-gpio = <&gpio0 RK_PC7 IRQ_TYPE_EDGE_BOTH>;