mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-28 00:58:24 +00:00
cleaned up Orange Pi Zero Plus2 LED configuration
This commit is contained in:
parent
18215550b3
commit
79b83d0eac
1 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
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..0a531e55 100644
|
||||
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 @@
|
||||
|
@ -9,19 +9,19 @@ index 53c8c116..0a531e55 100644
|
|||
+
|
||||
+ leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+
|
||||
+ pwr {
|
||||
+ label = "orangepi:green:pwr";
|
||||
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
|
||||
+ default-state = "on";
|
||||
+ };
|
||||
+ status {
|
||||
+ label = "orangepi:red:status";
|
||||
+ linux,default-trigger = "mmc0";
|
||||
+ gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
|
||||
+ default-state = "on";
|
||||
+ };
|
||||
+ linux,default-trigger = "default-on";
|
||||
+ };
|
||||
+
|
||||
+ status {
|
||||
+ label = "orangepi:red:status";
|
||||
+ gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
|
||||
+ linux,default-trigger = "heartbeat";
|
||||
+ };
|
||||
+ };
|
||||
};
|
||||
|
||||
&de {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue