1/*
2 * Device Tree file for Google Chromecast
3 *
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2.  This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11/dts-v1/;
12
13#include "berlin2cd.dtsi"
14#include <dt-bindings/gpio/gpio.h>
15
16/ {
17	model = "Google Chromecast";
18	compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin";
19
20	chosen {
21		bootargs = "console=ttyS0,115200 earlyprintk";
22	};
23
24	memory {
25		device_type = "memory";
26		reg = <0x00000000 0x20000000>; /* 512 MB */
27	};
28
29	leds {
30		compatible = "gpio-leds";
31
32		white {
33			label = "white";
34			gpios = <&portc 1 GPIO_ACTIVE_HIGH>;
35			default-state = "keep";
36		};
37
38		red {
39			label = "red";
40			gpios = <&portc 2 GPIO_ACTIVE_HIGH>;
41			default-state = "keep";
42		};
43	};
44};
45
46/*
47 * AzureWave AW-NH387 (Marvell 88W8787)
48 * 802.11b/g/n + Bluetooth 2.1
49 */
50&sdhci0 {
51	non-removable;
52	status = "okay";
53};
54
55&uart0 { status = "okay"; };
56
57&usb_phy1 { status = "okay"; };
58
59&usb1 { status = "okay"; };
60