Nanopi K1 plus: fix led colors

This commit is contained in:
Igor Pecovnik 2019-07-15 17:29:31 +02:00
parent 2b4af84e96
commit c865c065eb
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5
2 changed files with 4 additions and 4 deletions

View File

@ -111,12 +111,12 @@ index 000000000000..52337a18721f
+ compatible = "gpio-leds";
+
+ status {
+ label = "nanopi:blue:status";
+ label = "nanopi:green:status";
+ gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ };
+ pwr {
+ label = "nanopi:green:pwr";
+ label = "nanopi:red:pwr";
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };

View File

@ -111,12 +111,12 @@ index 000000000000..52337a18721f
+ compatible = "gpio-leds";
+
+ status {
+ label = "nanopi:blue:status";
+ label = "nanopi:green:status";
+ gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ };
+ pwr {
+ label = "nanopi:green:pwr";
+ label = "nanopi:red:pwr";
+ gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };