arm64: dts: rockchip: add leds node on rk3328-rock64
Add led nodes on Rock64. Use heartbeat trigger for the red standby led and use mmc0 trigger for the white power led. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
committed by
Heiko Stuebner
parent
ad3c8cc359
commit
092430ea9d
@@ -65,6 +65,20 @@
|
|||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
|
power {
|
||||||
|
gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "mmc0";
|
||||||
|
};
|
||||||
|
|
||||||
|
standby {
|
||||||
|
gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "heartbeat";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
compatible = "audio-graph-card";
|
compatible = "audio-graph-card";
|
||||||
label = "rockchip,rk3328";
|
label = "rockchip,rk3328";
|
||||||
@@ -157,6 +171,8 @@
|
|||||||
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
clock-output-names = "xin32k", "rk805-clkout2";
|
clock-output-names = "xin32k", "rk805-clkout2";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pmic_int_l>;
|
pinctrl-0 = <&pmic_int_l>;
|
||||||
rockchip,system-power-controller;
|
rockchip,system-power-controller;
|
||||||
|
Reference in New Issue
Block a user