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>
This commit is contained in:
parent
5a37d07185
commit
297bb063b6
@ -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"; };
|
||||
|
Loading…
Reference in New Issue
Block a user