mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-25 16:21:32 +00:00
27 lines
784 B
Diff
27 lines
784 B
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
index 53c8c116..50ad2e4f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts
|
|
@@ -82,6 +82,22 @@
|
|
reset-gpios = <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */
|
|
post-power-on-delay-ms = <200>;
|
|
};
|
|
+
|
|
+ leds {
|
|
+ compatible = "gpio-leds";
|
|
+
|
|
+ pwr {
|
|
+ label = "orangepi:green:pwr";
|
|
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
|
|
+ linux,default-trigger = "default-on";
|
|
+ };
|
|
+
|
|
+ status {
|
|
+ label = "orangepi:red:status";
|
|
+ gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
|
|
+ linux,default-trigger = "heartbeat";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
&de {
|