[PATCH 02/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi E
FUKAUMI Naoki
naoki at radxa.com
Thu Aug 8 02:38:00 PDT 2024
- sort properties
- add default-state and function
Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
---
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi
index bb01143dc91a..4e77701f2e01 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dtsi
@@ -49,11 +49,13 @@ gmac_clkin: external-gmac-clock {
leds {
compatible = "gpio-leds";
- pinctrl-0 = <&led_pin>;
pinctrl-names = "default";
+ pinctrl-0 = <&led_pin>;
led-0 {
color = <LED_COLOR_ID_BLUE>;
+ default-state = "on";
+ function = LED_FUNCTION_HEARTBEAT;
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
};
--
2.43.0
More information about the Linux-rockchip
mailing list