rockchip: add system-LED aliases specific to OpenWrt
Add the aliases sections required to detect LEDs specific to OpenWrt boot / update indication for the NanoPi R4S. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
b5675f500d
commit
1588069612
@ -0,0 +1,16 @@
|
|||||||
|
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
||||||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
||||||
|
@@ -19,6 +19,13 @@
|
||||||
|
model = "FriendlyElec NanoPi R4S";
|
||||||
|
compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
|
||||||
|
|
||||||
|
+ aliases {
|
||||||
|
+ led-boot = &sys_led;
|
||||||
|
+ led-failsafe = &sys_led;
|
||||||
|
+ led-running = &sys_led;
|
||||||
|
+ led-upgrade = &sys_led;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
/delete-node/ display-subsystem;
|
||||||
|
|
||||||
|
gpio-leds {
|
@ -0,0 +1,16 @@
|
|||||||
|
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
||||||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
|
||||||
|
@@ -19,6 +19,13 @@
|
||||||
|
model = "FriendlyElec NanoPi R4S";
|
||||||
|
compatible = "friendlyarm,nanopi-r4s", "rockchip,rk3399";
|
||||||
|
|
||||||
|
+ aliases {
|
||||||
|
+ led-boot = &sys_led;
|
||||||
|
+ led-failsafe = &sys_led;
|
||||||
|
+ led-running = &sys_led;
|
||||||
|
+ led-upgrade = &sys_led;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
/delete-node/ display-subsystem;
|
||||||
|
|
||||||
|
gpio-leds {
|
Loading…
x
Reference in New Issue
Block a user