|
|
@@ -12,7 +12,7 @@ Signed-off-by: Chukun Pan <[email protected]>
|
|
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
|
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts
|
|
|
-@@ -22,6 +22,11 @@
|
|
|
+@@ -23,6 +23,11 @@
|
|
|
ethernet0 = &emac;
|
|
|
ethernet1 = &rtl8189etv;
|
|
|
serial0 = &uart0;
|
|
|
@@ -24,12 +24,12 @@ Signed-off-by: Chukun Pan <[email protected]>
|
|
|
};
|
|
|
|
|
|
chosen {
|
|
|
-@@ -31,7 +36,7 @@
|
|
|
- leds {
|
|
|
- compatible = "gpio-leds";
|
|
|
+@@ -38,7 +43,7 @@
|
|
|
+ gpios = <&pio 0 9 GPIO_ACTIVE_HIGH>;
|
|
|
+ };
|
|
|
|
|
|
-- sys {
|
|
|
-+ led_sys: sys {
|
|
|
- label = "nanopi:red:sys";
|
|
|
+- led-1 {
|
|
|
++ led_sys: led-1 {
|
|
|
+ function = LED_FUNCTION_STATUS;
|
|
|
+ color = <LED_COLOR_ID_RED>;
|
|
|
gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
|
|
|
- linux,default-trigger = "heartbeat";
|