ARM: dts: kirkwood: add stdout-path property to all boards
[deliverable/linux.git] / arch / arm / boot / dts / kirkwood-t5325.dts
1 /*
2 * Device Tree file for HP t5325 Thin Client"
3 *
4 * Copyright (C) 2014
5 *
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 * Andrew Lunn <andrew@lunn.ch>
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14 /dts-v1/;
15
16 #include "kirkwood.dtsi"
17 #include "kirkwood-6281.dtsi"
18
19 / {
20 model = "HP t5325 Thin Client";
21 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
22
23 memory {
24 device_type = "memory";
25 reg = <0x00000000 0x20000000>;
26 };
27
28 chosen {
29 bootargs = "console=ttyS0,115200n8";
30 stdout-path = &uart0;
31 };
32
33 mbus {
34 pcie-controller {
35 status = "okay";
36
37 pcie@1,0 {
38 status = "okay";
39 };
40 };
41 };
42
43 ocp@f1000000 {
44 pinctrl: pinctrl@10000 {
45 pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
46 pinctrl-names = "default";
47
48 pmx_button_power: pmx-button_power {
49 marvell,pins = "mpp45";
50 marvell,function = "gpio";
51 };
52
53 pmx_power_off: pmx-power-off {
54 marvell,pins = "mpp48";
55 marvell,function = "gpio";
56 };
57
58 pmx_led: pmx-led {
59 marvell,pins = "mpp21";
60 marvell,function = "gpio";
61 };
62
63 pmx_usb_sata_power_enable: pmx-usb-sata-power-enable {
64 marvell,pins = "mpp44";
65 marvell,function = "gpio";
66 };
67
68 /*
69 * Redefined from kirkwood-6281.dtsi, because
70 * we don't use SPI CS on MPP0, but on MPP7.
71 */
72 pmx_spi: pmx-spi {
73 marvell,pins = "mpp1", "mpp2", "mpp3", "mpp7";
74 marvell,function = "spi";
75 };
76
77 pmx_sysrst: pmx-sysrst {
78 marvell,pins = "mpp6";
79 marvell,function = "sysrst";
80 };
81
82 pmx_i2s: pmx-i2s {
83 marvell,pins = "mpp39", "mpp40", "mpp41", "mpp42",
84 "mpp43";
85 marvell,function = "audio";
86 };
87 };
88
89 spi@10600 {
90 pinctrl-0 = <&pmx_spi>;
91 pinctrl-names = "default";
92 status = "okay";
93
94 flash@0 {
95 #address-cells = <1>;
96 #size-cells = <1>;
97 compatible = "st,m25p80";
98 spi-max-frequency = <86000000>;
99 reg = <0>;
100 mode = <0>;
101
102 partition@0 {
103 reg = <0x0 0x80000>;
104 label = "u-boot";
105 };
106
107 partition@1 {
108 reg = <0x80000 0x40000>;
109 label = "SSD firmware";
110 };
111
112 partition@2 {
113 reg = <0xc0000 0x10000>;
114 label = "u-boot env";
115 };
116
117 partition@3 {
118 reg = <0xd0000 0x10000>;
119 label = "permanent u-boot env";
120 };
121
122 partition@4 {
123 reg = <0xd0000 0x10000>;
124 label = "permanent u-boot env";
125 };
126 };
127 };
128
129 i2c@11000 {
130 status = "okay";
131
132 alc5621: alc5621@1a {
133 compatible = "realtek,alc5621";
134 reg = <0x1a>;
135 };
136 };
137
138 serial@12000 {
139 status = "okay";
140 };
141
142 sata@80000 {
143 status = "okay";
144 nr-ports = <2>;
145 };
146
147 audio: audio-controller@a0000 {
148 status = "okay";
149 };
150 };
151
152 regulators {
153 compatible = "simple-bus";
154 #address-cells = <1>;
155 #size-cells = <0>;
156 pinctrl-0 = <&pmx_usb_sata_power_enable>;
157 pinctrl-names = "default";
158
159 usb_power: regulator@1 {
160 compatible = "regulator-fixed";
161 reg = <1>;
162 regulator-name = "USB-SATA Power";
163 regulator-min-microvolt = <5000000>;
164 regulator-max-microvolt = <5000000>;
165 enable-active-high;
166 regulator-always-on;
167 regulator-boot-on;
168 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
169 };
170 };
171
172 gpio_keys {
173 compatible = "gpio-keys";
174 #address-cells = <1>;
175 #size-cells = <0>;
176 pinctrl-0 = <&pmx_button_power>;
177 pinctrl-names = "default";
178
179 button@1 {
180 label = "Power Button";
181 linux,code = <KEY_POWER>;
182 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
183 };
184 };
185
186 gpio_poweroff {
187 compatible = "gpio-poweroff";
188 pinctrl-0 = <&pmx_power_off>;
189 pinctrl-names = "default";
190 gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
191 };
192
193 };
194
195 &mdio {
196 status = "okay";
197
198 ethphy0: ethernet-phy {
199 device_type = "ethernet-phy";
200 reg = <8>;
201 };
202 };
203
204 &eth0 {
205 status = "okay";
206 ethernet0-port@0 {
207 phy-handle = <&ethphy0>;
208 };
209 };
This page took 0.057147 seconds and 5 git commands to generate.