2013-11-05 19:40:22 +08:00
|
|
|
/*
|
|
|
|
* Device Tree file for Google Chromecast
|
|
|
|
*
|
|
|
|
* Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "berlin2cd.dtsi"
|
2014-05-21 03:57:45 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2013-11-05 19:40:22 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Google Chromecast";
|
|
|
|
compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200 earlyprintk";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x20000000>; /* 512 MB */
|
|
|
|
};
|
2014-05-21 03:57:45 +08:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
2013-11-05 19:40:22 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 { status = "okay"; };
|