Commit 68c33366 authored by Vivek Unune's avatar Vivek Unune Committed by Heiko Stuebner

arm64: dts: rockchip: Add Hugsun X99 power led

Remove pwm0 node as it interferes with power LED gpio.

Tested with LibreElec linux-next-20200305
Signed-off-by: default avatarVivek Unune <npcomplete13@gmail.com>
Link: https://lore.kernel.org/r/20200313230513.123049-1-npcomplete13@gmail.com
[split out led addition into separate patch]
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent cd2fd91e
......@@ -36,6 +36,19 @@ ir-receiver {
pinctrl-0 = <&ir_rx>;
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&power_led_gpio>;
led-0 {
label = "blue:power";
gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;
default-state = "on";
linux,default-trigger = "default-on";
};
};
vcc_sys: vcc-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
......@@ -496,6 +509,12 @@ ir_rx: ir-rx {
};
};
leds {
power_led_gpio: power-led-gpio {
rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
pmic {
pmic_int_l: pmic-int-l {
rockchip,pins =
......@@ -552,10 +571,6 @@ host_vbus_drv: host-vbus-drv {
};
};
&pwm0 {
status = "okay";
};
&pwm2 {
status = "okay";
pinctrl-0 = <&pwm2_pin_pull_down>;
......
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