ARM: dts: rockchip: rk3126-bnd: enabled power off charge

Change-Id: I67723545a509b70ba629b2e4b916a82af752a576
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
This commit is contained in:
Wu Liangqing
2019-11-02 11:54:26 +08:00
committed by Tao Huang
parent e30da71b23
commit c6965c0ca7
2 changed files with 18 additions and 6 deletions

View File

@@ -73,6 +73,15 @@
enable-gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
};
charge-animation {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <1>;
rockchip,android-charge-on = <0>;
rockchip,uboot-low-power-voltage = <3500>;
rockchip,screen-on-voltage = <3600>;
status = "okay";
};
rockchip_headset {
compatible = "rockchip_headset";
headset_gpio = <&gpio2 18 GPIO_ACTIVE_LOW>;

View File

@@ -74,6 +74,15 @@
default-brightness-level = <128>;
};
charge-animation {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <1>;
rockchip,android-charge-on = <0>;
rockchip,uboot-low-power-voltage = <3500>;
rockchip,screen-on-voltage = <3600>;
status = "okay";
};
panel {
compatible = "simple-panel";
backlight = <&backlight>;
@@ -114,12 +123,6 @@
};
};
uboot-charge {
compatible = "rockchip,uboot-charge";
rockchip,uboot-charge-on = <0>;
rockchip,android-charge-on = <1>;
};
rockchip_headset {
compatible = "rockchip_headset";
io-channels = <&saradc 2>;