aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4412-odroidx.dts
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2014-07-15 13:54:07 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-07-15 13:54:07 -0400
commitec601ff3394af5045cbfbd02b2e0197a93b97723 (patch)
tree54b9b7d0119951049ac678937c4753f3495a1e46 /arch/arm/boot/dts/exynos4412-odroidx.dts
parentf9e45a69b7bb2d436741f79fc5a372c104f7b68b (diff)
ARM: dts: refactor Odroid DTS file and add support for Odroid X2 and U2/U3
This patch moves some parts of exynos4412-odroidx.dts to common exynos4412-odroid-common.dtsi file and adds support for Odroid X2 and U2/U3 boards. X2 is same as X, but it has faster SoC module (1.7GHz instead of 1.4GHz), while U2/U3 differs from X2 by different way of routing signals to host USB hub. It also lacks some hw modules not yet supported by those dts files (i.e. LCD & touch panel). Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroidx.dts')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidx.dts326
1 files changed, 11 insertions, 315 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index bcf331543fb0..8b453a31410d 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -3,8 +3,8 @@
3 * 3 *
4 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com> 4 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
5 * 5 *
6 * Device tree source file for Hardkernel's ODROID-X board which is based on 6 * Device tree source file for Hardkernel's ODROID-X board which is based
7 * Samsung's Exynos4412 SoC. 7 * on Samsung's Exynos4412 SoC.
8 * 8 *
9 * This program is free software; you can redistribute it and/or modify 9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as 10 * it under the terms of the GNU General Public License version 2 as
@@ -12,7 +12,7 @@
12*/ 12*/
13 13
14/dts-v1/; 14/dts-v1/;
15#include "exynos4412.dtsi" 15#include "exynos4412-odroid-common.dtsi"
16 16
17/ { 17/ {
18 model = "Hardkernel ODROID-X board based on Exynos4412"; 18 model = "Hardkernel ODROID-X board based on Exynos4412";
@@ -22,11 +22,6 @@
22 reg = <0x40000000 0x3FF00000>; 22 reg = <0x40000000 0x3FF00000>;
23 }; 23 };
24 24
25 firmware@0204F000 {
26 compatible = "samsung,secure-firmware";
27 reg = <0x0204F000 0x1000>;
28 };
29
30 leds { 25 leds {
31 compatible = "gpio-leds"; 26 compatible = "gpio-leds";
32 led1 { 27 led1 {
@@ -43,24 +38,12 @@
43 }; 38 };
44 }; 39 };
45 40
46 mmc@12550000 { 41 serial@13820000 {
47 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
48 pinctrl-names = "default";
49 vmmc-supply = <&ldo20_reg &buck8_reg>;
50 status = "okay"; 42 status = "okay";
43 };
51 44
52 num-slots = <1>; 45 serial@13830000 {
53 supports-highspeed; 46 status = "okay";
54 broken-cd;
55 card-detect-delay = <200>;
56 samsung,dw-mshc-ciu-div = <3>;
57 samsung,dw-mshc-sdr-timing = <2 3>;
58 samsung,dw-mshc-ddr-timing = <1 2>;
59
60 slot@0 {
61 reg = <0>;
62 bus-width = <8>;
63 };
64 }; 47 };
65 48
66 regulator_p3v3 { 49 regulator_p3v3 {
@@ -70,299 +53,12 @@
70 regulator-max-microvolt = <3300000>; 53 regulator-max-microvolt = <3300000>;
71 gpio = <&gpa1 1 1>; 54 gpio = <&gpa1 1 1>;
72 enable-active-high; 55 enable-active-high;
73 regulator-boot-on; 56 regulator-always-on;
74 };
75
76 watchdog@10060000 {
77 status = "okay";
78 };
79
80 rtc@10070000 {
81 status = "okay";
82 };
83
84 g2d@10800000 {
85 status = "okay";
86 };
87
88 camera {
89 status = "okay";
90 pinctrl-names = "default";
91 pinctrl-0 = <>;
92
93 fimc_0: fimc@11800000 {
94 status = "okay";
95 };
96
97 fimc_1: fimc@11810000 {
98 status = "okay";
99 };
100
101 fimc_2: fimc@11820000 {
102 status = "okay";
103 };
104
105 fimc_3: fimc@11830000 {
106 status = "okay";
107 };
108 };
109
110 sdhci@12530000 {
111 bus-width = <4>;
112 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
113 pinctrl-names = "default";
114 vmmc-supply = <&ldo4_reg &ldo21_reg>;
115 status = "okay";
116 };
117
118 serial@13800000 {
119 status = "okay";
120 };
121
122 serial@13810000 {
123 status = "okay";
124 };
125
126 serial@13820000 {
127 status = "okay";
128 };
129
130 serial@13830000 {
131 status = "okay";
132 };
133
134 fixed-rate-clocks {
135 xxti {
136 compatible = "samsung,clock-xxti";
137 clock-frequency = <0>;
138 };
139
140 xusbxti {
141 compatible = "samsung,clock-xusbxti";
142 clock-frequency = <24000000>;
143 };
144 };
145
146 i2c@13860000 {
147 pinctrl-0 = <&i2c0_bus>;
148 pinctrl-names = "default";
149 status = "okay";
150
151 usb3503@08 {
152 compatible = "smsc,usb3503";
153 reg = <0x08>;
154
155 intn-gpios = <&gpx3 0 0>;
156 connect-gpios = <&gpx3 4 0>;
157 reset-gpios = <&gpx3 5 0>;
158 initial-mode = <1>;
159 };
160
161 max77686: pmic@09 {
162 compatible = "maxim,max77686";
163 reg = <0x09>;
164 #clock-cells = <1>;
165
166 voltage-regulators {
167 ldo1_reg: LDO1 {
168 regulator-name = "VDD_ALIVE_1.0V";
169 regulator-min-microvolt = <1000000>;
170 regulator-max-microvolt = <1000000>;
171 regulator-always-on;
172 };
173
174 ldo2_reg: LDO2 {
175 regulator-name = "VDDQ_M1_2_1.8V";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
178 regulator-always-on;
179 };
180
181 ldo3_reg: LDO3 {
182 regulator-name = "VDDQ_EXT_1.8V";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
185 regulator-always-on;
186 };
187
188 ldo4_reg: LDO4 {
189 regulator-name = "VDDQ_MMC2_2.8V";
190 regulator-min-microvolt = <2800000>;
191 regulator-max-microvolt = <2800000>;
192 regulator-always-on;
193 regulator-boot-on;
194 };
195
196 ldo5_reg: LDO5 {
197 regulator-name = "VDDQ_MMC1_3_1.8V";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-always-on;
201 regulator-boot-on;
202 };
203
204 ldo6_reg: LDO6 {
205 regulator-name = "VDD10_MPLL_1.0V";
206 regulator-min-microvolt = <1000000>;
207 regulator-max-microvolt = <1000000>;
208 regulator-always-on;
209 };
210
211 ldo7_reg: LDO7 {
212 regulator-name = "VDD10_XPLL_1.0V";
213 regulator-min-microvolt = <1000000>;
214 regulator-max-microvolt = <1000000>;
215 regulator-always-on;
216 };
217
218 ldo11_reg: LDO11 {
219 regulator-name = "VDD18_ABB1_1.8V";
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <1800000>;
222 regulator-always-on;
223 };
224
225 ldo12_reg: LDO12 {
226 regulator-name = "VDD33_USB_3.3V";
227 regulator-min-microvolt = <3300000>;
228 regulator-max-microvolt = <3300000>;
229 regulator-always-on;
230 regulator-boot-on;
231 };
232
233 ldo13_reg: LDO13 {
234 regulator-name = "VDDQ_C2C_W_1.8V";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 regulator-always-on;
238 regulator-boot-on;
239 };
240
241 ldo14_reg: LDO14 {
242 regulator-name = "VDD18_ABB0_2_1.8V";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
245 regulator-always-on;
246 regulator-boot-on;
247 };
248
249 ldo15_reg: LDO15 {
250 regulator-name = "VDD10_HSIC_1.0V";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
253 regulator-always-on;
254 regulator-boot-on;
255 };
256
257 ldo16_reg: LDO16 {
258 regulator-name = "VDD18_HSIC_1.8V";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
261 regulator-always-on;
262 regulator-boot-on;
263 };
264
265 ldo20_reg: LDO20 {
266 regulator-name = "LDO20_1.8V";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 regulator-boot-on;
270 };
271
272 ldo21_reg: LDO21 {
273 regulator-name = "LDO21_3.3V";
274 regulator-min-microvolt = <3300000>;
275 regulator-max-microvolt = <3300000>;
276 regulator-always-on;
277 regulator-boot-on;
278 };
279
280 ldo25_reg: LDO25 {
281 regulator-name = "VDDQ_LCD_1.8V";
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
284 regulator-always-on;
285 regulator-boot-on;
286 };
287
288 buck1_reg: BUCK1 {
289 regulator-name = "vdd_mif";
290 regulator-min-microvolt = <1000000>;
291 regulator-max-microvolt = <1000000>;
292 regulator-always-on;
293 regulator-boot-on;
294 };
295
296 buck2_reg: BUCK2 {
297 regulator-name = "vdd_arm";
298 regulator-min-microvolt = <900000>;
299 regulator-max-microvolt = <1350000>;
300 regulator-always-on;
301 regulator-boot-on;
302 };
303
304 buck3_reg: BUCK3 {
305 regulator-name = "vdd_int";
306 regulator-min-microvolt = <1000000>;
307 regulator-max-microvolt = <1000000>;
308 regulator-always-on;
309 regulator-boot-on;
310 };
311
312 buck4_reg: BUCK4 {
313 regulator-name = "vdd_g3d";
314 regulator-min-microvolt = <900000>;
315 regulator-max-microvolt = <1100000>;
316 regulator-microvolt-offset = <50000>;
317 };
318
319 buck5_reg: BUCK5 {
320 regulator-name = "VDDQ_CKEM1_2_1.2V";
321 regulator-min-microvolt = <1200000>;
322 regulator-max-microvolt = <1200000>;
323 regulator-always-on;
324 regulator-boot-on;
325 };
326
327 buck6_reg: BUCK6 {
328 regulator-name = "BUCK6_1.35V";
329 regulator-min-microvolt = <1350000>;
330 regulator-max-microvolt = <1350000>;
331 regulator-always-on;
332 regulator-boot-on;
333 };
334
335 buck7_reg: BUCK7 {
336 regulator-name = "BUCK7_2.0V";
337 regulator-min-microvolt = <2000000>;
338 regulator-max-microvolt = <2000000>;
339 regulator-always-on;
340 };
341
342 buck8_reg: BUCK8 {
343 regulator-name = "BUCK8_2.8V";
344 regulator-min-microvolt = <2800000>;
345 regulator-max-microvolt = <2800000>;
346 regulator-always-on;
347 };
348 };
349 };
350 };
351
352 exynos-usbphy@125B0000 {
353 status = "okay";
354 };
355
356 hsotg@12480000 {
357 status = "okay";
358 vusb_d-supply = <&ldo15_reg>;
359 vusb_a-supply = <&ldo12_reg>;
360 }; 57 };
58};
361 59
362 ehci@12580000 { 60&ehci {
61 port@1 {
363 status = "okay"; 62 status = "okay";
364 port@1 {
365 status = "okay";
366 };
367 }; 63 };
368}; 64};