Commit 297bb063 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth

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: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
parent 5a37d071
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
/dts-v1/; /dts-v1/;
#include "berlin2cd.dtsi" #include "berlin2cd.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "Google Chromecast"; model = "Google Chromecast";
...@@ -24,6 +25,22 @@ memory { ...@@ -24,6 +25,22 @@ memory {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x20000000>; /* 512 MB */ 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"; }; &uart0 { status = "okay"; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment