diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-05-20 23:57:45 +0400 |
---|---|---|
committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-10-29 21:44:41 +0300 |
commit | 297bb063b614b801bd08f3130b780c2ff2776c47 (patch) | |
tree | bd98a80bd15cb8040cdf2f1f35dfdc138d83ae5b /arch/arm/boot/dts/berlin2cd-google-chromecast.dts | |
parent | 5a37d07185fbaba3ead2a487f0238eb236f19102 (diff) | |
download | linux-297bb063b614b801bd08f3130b780c2ff2776c47.tar.xz |
ARM: dts: berlin: Add GPIO leds to Google Chromecast
With GPIO support for Marvell Berlin, now add the two gpio-connected
LEDs on Google Chromecast.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/berlin2cd-google-chromecast.dts')
-rw-r--r-- | arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts index bcd81ffc495d..0816890a5c0d 100644 --- a/arch/arm/boot/dts/berlin2cd-google-chromecast.dts +++ b/arch/arm/boot/dts/berlin2cd-google-chromecast.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "berlin2cd.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Google Chromecast"; @@ -24,6 +25,22 @@ device_type = "memory"; reg = <0x00000000 0x20000000>; /* 512 MB */ }; + + leds { + compatible = "gpio-leds"; + + white { + label = "white"; + gpios = <&portc 1 GPIO_ACTIVE_HIGH>; + default-state = "keep"; + }; + + red { + label = "red"; + gpios = <&portc 2 GPIO_ACTIVE_HIGH>; + default-state = "keep"; + }; + }; }; &uart0 { status = "okay"; }; |