Skip to content

Commit

Permalink
Nanopi K1 plus: fix led colors
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jul 15, 2019
1 parent 2b4af84 commit c865c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions patch/kernel/sunxi-dev/board-h5-add-0000-nanopi-k1plus.patch
Expand Up @@ -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";
+ };
Expand Down
4 changes: 2 additions & 2 deletions patch/kernel/sunxi-next/board-h5-add-0000-nanopi-k1plus.patch
Expand Up @@ -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";
+ };
Expand Down

0 comments on commit c865c06

Please sign in to comment.