blob: 8ba8b50ce9976cad5d971b1deabee57dc48fb6f2 [file] [log] [blame]
Sebastian Hesselbartha9092112013-11-05 12:40:22 +01001/*
2 * Device Tree file for Google Chromecast
3 *
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
5 *
Antoine Tenart923f83b2015-04-27 21:39:47 +02006 * 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.
Sebastian Hesselbartha9092112013-11-05 12:40:22 +010037 */
38
39/dts-v1/;
40
41#include "berlin2cd.dtsi"
Sebastian Hesselbarth297bb062014-05-20 21:57:45 +020042#include <dt-bindings/gpio/gpio.h>
Sebastian Hesselbartha9092112013-11-05 12:40:22 +010043
44/ {
45 model = "Google Chromecast";
46 compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin";
47
48 chosen {
Jisheng Zhangc56e1a22015-09-14 14:42:13 +080049 bootargs = "earlyprintk";
50 stdout-path = "serial0:115200n8";
Sebastian Hesselbartha9092112013-11-05 12:40:22 +010051 };
52
53 memory {
54 device_type = "memory";
55 reg = <0x00000000 0x20000000>; /* 512 MB */
56 };
Sebastian Hesselbarth297bb062014-05-20 21:57:45 +020057
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 };
Sebastian Hesselbartha9092112013-11-05 12:40:22 +010073};
74
Sebastian Hesselbarthacbcadc2014-05-20 20:30:30 +020075/*
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
Sebastian Hesselbartha9092112013-11-05 12:40:22 +010084&uart0 { status = "okay"; };
Sebastian Hesselbarthea7aaa22014-11-17 14:35:47 +010085
86&usb_phy1 { status = "okay"; };
87
88&usb1 { status = "okay"; };