Merge remote-tracking branches 'regulator/fix/88pm800', 'regulator/fix/max8973',...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / berlin2cd-google-chromecast.dts
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 = "console=ttyS0,115200 earlyprintk";
50         };
51
52         memory {
53                 device_type = "memory";
54                 reg = <0x00000000 0x20000000>; /* 512 MB */
55         };
56
57         leds {
58                 compatible = "gpio-leds";
59
60                 white {
61                         label = "white";
62                         gpios = <&portc 1 GPIO_ACTIVE_HIGH>;
63                         default-state = "keep";
64                 };
65
66                 red {
67                         label = "red";
68                         gpios = <&portc 2 GPIO_ACTIVE_HIGH>;
69                         default-state = "keep";
70                 };
71         };
72 };
73
74 /*
75  * AzureWave AW-NH387 (Marvell 88W8787)
76  * 802.11b/g/n + Bluetooth 2.1
77  */
78 &sdhci0 {
79         non-removable;
80         status = "okay";
81 };
82
83 &uart0 { status = "okay"; };
84
85 &usb_phy1 { status = "okay"; };
86
87 &usb1 { status = "okay"; };