Skip to content

Commit

Permalink
MIPS: Ci20: Add DT node for LED triggers
Browse files Browse the repository at this point in the history
Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
  • Loading branch information
HarveyHunt committed Jul 7, 2015
1 parent a7ac22c commit 2f6e4c1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/mips/boot/dts/ci20.dts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,22 @@
type = <RFKILL_TYPE_BLUETOOTH>;
vrfkill-supply = <&bt_reset>;
};

leds {
compatible = "gpio-leds";
led1 {
gpios = <&gpc 0 0>;
linux,default-trigger = "cpu0";
};
led2 {
gpios = <&gpc 1 0>;
linux,default-trigger = "cpu1";
};
led3 {
gpios = <&gpc 2 0>;
linux,default-trigger = "nand-disk";
};
};
};

&ext {
Expand Down

0 comments on commit 2f6e4c1

Please sign in to comment.