• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Device Tree file for Google Chromecast
3 *
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
11 *  a) This file is licensed under the terms of the GNU General Public
12 *     License version 2. This program is licensed "as is" without any
13 *     warranty of any kind, whether express or implied.
14 *
15 * Or, alternatively,
16 *
17 *  b) Permission is hereby granted, free of charge, to any person
18 *     obtaining a copy of this software and associated documentation
19 *     files (the "Software"), to deal in the Software without
20 *     restriction, including without limitation the rights to use,
21 *     copy, modify, merge, publish, distribute, sublicense, and/or
22 *     sell copies of the Software, and to permit persons to whom the
23 *     Software is furnished to do so, subject to the following
24 *     conditions:
25 *
26 *     The above copyright notice and this permission notice shall be
27 *     included in all copies or substantial portions of the Software.
28 *
29 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
30 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
31 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
32 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
33 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
34 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
35 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
36 *     OTHER DEALINGS IN THE SOFTWARE.
37 */
38
39/dts-v1/;
40
41#include "berlin2cd.dtsi"
42#include <dt-bindings/gpio/gpio.h>
43
44/ {
45	model = "Google Chromecast";
46	compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin";
47
48	chosen {
49		bootargs = "earlyprintk";
50		stdout-path = "serial0:115200n8";
51	};
52
53	memory {
54		device_type = "memory";
55		reg = <0x00000000 0x20000000>; /* 512 MB */
56	};
57
58	leds {
59		compatible = "gpio-leds";
60
61		white {
62			label = "white";
63			gpios = <&portc 1 GPIO_ACTIVE_HIGH>;
64			default-state = "keep";
65		};
66
67		red {
68			label = "red";
69			gpios = <&portc 2 GPIO_ACTIVE_HIGH>;
70			default-state = "keep";
71		};
72	};
73};
74
75/*
76 * AzureWave AW-NH387 (Marvell 88W8787)
77 * 802.11b/g/n + Bluetooth 2.1
78 */
79&sdhci0 {
80	non-removable;
81	status = "okay";
82};
83
84&uart0 { status = "okay"; };
85
86&usb_phy1 { status = "okay"; };
87
88&usb1 { status = "okay"; };
89