aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMateusz Krawczuk <m.krawczuk@partner.samsung.com>2013-09-28 12:25:30 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-07-18 15:31:51 -0400
commitb672b27d232e337c848f51a371538b665ca4fcf3 (patch)
tree614457f9e5ce50c6944d6f5898b54c38f58f41bd /arch/arm
parent94ad0f6d9278a4137d863391131a7c7826630297 (diff)
ARM: dts: Add Device tree for s5pc110/s5pv210 boards
Add DTS for s5pc110 boards: goni, aquila, smdkc110 s5pv210: smdkv210, tiny210, torbreck Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [t.figa: Rebased, fixed merge conflicts, neatened.] Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/Makefile5
-rw-r--r--arch/arm/boot/dts/s5pv210-aquila.dts392
-rw-r--r--arch/arm/boot/dts/s5pv210-goni.dts449
-rw-r--r--arch/arm/boot/dts/s5pv210-smdkc110.dts78
-rw-r--r--arch/arm/boot/dts/s5pv210-smdkv210.dts238
-rw-r--r--arch/arm/boot/dts/s5pv210-torbreck.dts92
6 files changed, 1254 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index adb5ed9e269e..26775c9a985e 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -321,6 +321,11 @@ dtb-$(CONFIG_ARCH_QCOM) += \
321dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb 321dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb
322dtb-$(CONFIG_ARCH_S3C64XX) += s3c6410-mini6410.dtb \ 322dtb-$(CONFIG_ARCH_S3C64XX) += s3c6410-mini6410.dtb \
323 s3c6410-smdk6410.dtb 323 s3c6410-smdk6410.dtb
324dtb-$(CONFIG_ARCH_S5PV210) += s5pv210-aquila.dtb \
325 s5pv210-goni.dtb \
326 s5pv210-smdkc110.dtb \
327 s5pv210-smdkv210.dtb \
328 s5pv210-torbreck.dtb
324dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += r7s72100-genmai.dtb \ 329dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += r7s72100-genmai.dtb \
325 r8a7740-armadillo800eva.dtb \ 330 r8a7740-armadillo800eva.dtb \
326 r8a7778-bockw.dtb \ 331 r8a7778-bockw.dtb \
diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts
new file mode 100644
index 000000000000..aa31b84a707a
--- /dev/null
+++ b/arch/arm/boot/dts/s5pv210-aquila.dts
@@ -0,0 +1,392 @@
1/*
2 * Samsung's S5PV210 SoC device tree source
3 *
4 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
5 *
6 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
7 * Tomasz Figa <t.figa@samsung.com>
8 *
9 * Board device tree source for Samsung Aquila board.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */
15
16/dts-v1/;
17#include <dt-bindings/input/input.h>
18#include "s5pv210.dtsi"
19
20/ {
21 model = "Samsung Aquila based on S5PC110";
22 compatible = "samsung,aquila", "samsung,s5pv210";
23
24 aliases {
25 i2c3 = &i2c_pmic;
26 };
27
28 chosen {
29 bootargs = "console=ttySAC2,115200n8 root=/dev/mmcblk1p5 rw rootwait ignore_loglevel earlyprintk";
30 };
31
32 memory {
33 device_type = "memory";
34 reg = <0x30000000 0x05000000
35 0x40000000 0x18000000>;
36 };
37
38 regulators {
39 compatible = "simple-bus";
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 vtf_reg: fixed-regulator@0 {
44 compatible = "regulator-fixed";
45 reg = <0>;
46 regulator-name = "V_TF_2.8V";
47 regulator-min-microvolt = <2800000>;
48 regulator-max-microvolt = <2800000>;
49 gpios = <&mp05 4 0>;
50 enable-active-high;
51 };
52
53 pda_reg: fixed-regulator@1 {
54 compatible = "regulator-fixed";
55 regulator-name = "VCC_1.8V_PDA";
56 regulator-min-microvolt = <1800000>;
57 regulator-max-microvolt = <1800000>;
58 reg = <1>;
59 };
60
61 bat_reg: fixed-regulator@2 {
62 compatible = "regulator-fixed";
63 regulator-name = "V_BAT";
64 regulator-min-microvolt = <3700000>;
65 regulator-max-microvolt = <3700000>;
66 reg = <2>;
67 };
68 };
69
70 i2c_pmic: i2c-pmic {
71 compatible = "i2c-gpio";
72 gpios = <&gpj4 0 0>, /* sda */
73 <&gpj4 3 0>; /* scl */
74 i2c-gpio,delay-us = <2>; /* ~100 kHz */
75 #address-cells = <1>;
76 #size-cells = <0>;
77
78 pmic@66 {
79 compatible = "national,lp3974";
80 reg = <0x66>;
81
82 max8998,pmic-buck1-default-dvs-idx = <0>;
83 max8998,pmic-buck1-dvs-gpios = <&gph0 3 0>,
84 <&gph0 4 0>;
85 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
86 <1200000>, <1200000>;
87
88 max8998,pmic-buck2-default-dvs-idx = <0>;
89 max8998,pmic-buck2-dvs-gpio = <&gph0 5 0>;
90 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
91
92 regulators {
93 ldo2_reg: LDO2 {
94 regulator-name = "VALIVE_1.1V";
95 regulator-min-microvolt = <1100000>;
96 regulator-max-microvolt = <1100000>;
97 regulator-always-on;
98 };
99
100 ldo3_reg: LDO3 {
101 regulator-name = "VUSB+MIPI_1.1V";
102 regulator-min-microvolt = <1100000>;
103 regulator-max-microvolt = <1100000>;
104 regulator-always-on;
105 };
106
107 ldo4_reg: LDO4 {
108 regulator-name = "VADC_3.3V";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
111 };
112
113 ldo5_reg: LDO5 {
114 regulator-name = "VTF_2.8V";
115 regulator-min-microvolt = <2800000>;
116 regulator-max-microvolt = <2800000>;
117 regulator-always-on;
118 };
119
120 ldo6_reg: LDO6 {
121 regulator-name = "VCC_3.3V";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 regulator-always-on;
125 };
126
127 ldo7_reg: LDO7 {
128 regulator-name = "VCC_3.0V";
129 regulator-min-microvolt = <3000000>;
130 regulator-max-microvolt = <3000000>;
131 regulator-always-on;
132 regulator-boot-on;
133 };
134
135 ldo8_reg: LDO8 {
136 regulator-name = "VUSB+VDAC_3.3V";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
139 regulator-always-on;
140 };
141
142 ldo9_reg: LDO9 {
143 regulator-name = "VCC+VCAM_2.8V";
144 regulator-min-microvolt = <2800000>;
145 regulator-max-microvolt = <2800000>;
146 regulator-always-on;
147 };
148
149 ldo10_reg: LDO10 {
150 regulator-name = "VPLL_1.1V";
151 regulator-min-microvolt = <1100000>;
152 regulator-max-microvolt = <1100000>;
153 regulator-always-on;
154 regulator-boot-on;
155 };
156
157 ldo11_reg: LDO11 {
158 regulator-name = "CAM_IO_2.8V";
159 regulator-min-microvolt = <2800000>;
160 regulator-max-microvolt = <2800000>;
161 regulator-always-on;
162 };
163
164 ldo12_reg: LDO12 {
165 regulator-name = "CAM_ISP_1.2V";
166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
168 regulator-always-on;
169 };
170
171 ldo13_reg: LDO13 {
172 regulator-name = "CAM_A_2.8V";
173 regulator-min-microvolt = <2800000>;
174 regulator-max-microvolt = <2800000>;
175 regulator-always-on;
176 };
177
178 ldo14_reg: LDO14 {
179 regulator-name = "CAM_CIF_1.8V";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 regulator-always-on;
183 };
184
185 ldo15_reg: LDO15 {
186 regulator-name = "CAM_AF_3.3V";
187 regulator-min-microvolt = <3300000>;
188 regulator-max-microvolt = <3300000>;
189 regulator-always-on;
190 };
191
192 ldo16_reg: LDO16 {
193 regulator-name = "VMIPI_1.8V";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
196 regulator-always-on;
197 };
198
199 ldo17_reg: LDO17 {
200 regulator-name = "CAM_8M_1.8V";
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
203 regulator-always-on;
204 };
205
206 buck1_reg: BUCK1 {
207 regulator-name = "VARM_1.2V";
208 regulator-min-microvolt = <1200000>;
209 regulator-max-microvolt = <1200000>;
210 regulator-always-on;
211 };
212
213 buck2_reg: BUCK2 {
214 regulator-name = "VINT_1.2V";
215 regulator-min-microvolt = <1200000>;
216 regulator-max-microvolt = <1200000>;
217 regulator-always-on;
218 };
219
220 buck3_reg: BUCK3 {
221 regulator-name = "VCC_1.8V";
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
224 regulator-always-on;
225 };
226
227 buck4_reg: BUCK4 {
228 regulator-name = "CAM_CORE_1.2V";
229 regulator-min-microvolt = <1200000>;
230 regulator-max-microvolt = <1200000>;
231 regulator-always-on;
232 };
233
234 vichg_reg: ENVICHG {
235 regulator-name = "VICHG";
236 };
237
238 safeout1_reg: ESAFEOUT1 {
239 regulator-name = "SAFEOUT1";
240 regulator-always-on;
241 };
242
243 safeout2_reg: ESAFEOUT2 {
244 regulator-name = "SAFEOUT2";
245 regulator-boot-on;
246 };
247 };
248 };
249
250 };
251
252 gpio-keys {
253 compatible = "gpio-keys";
254
255 power-key {
256 gpios = <&gph2 6 1>;
257 linux,code = <KEY_POWER>;
258 label = "power";
259 debounce-interval = <1>;
260 gpio-key,wakeup;
261 };
262 };
263};
264
265&xusbxti {
266 clock-frequency = <24000000>;
267};
268
269&keypad {
270 linux,input-no-autorepeat;
271 linux,input-wakeup;
272 samsung,keypad-num-rows = <3>;
273 samsung,keypad-num-columns = <3>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
276 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>;
277 status = "okay";
278
279 key_1 {
280 keypad,row = <0>;
281 keypad,column = <1>;
282 linux,code = <KEY_CONNECT>;
283 };
284
285 key_2 {
286 keypad,row = <0>;
287 keypad,column = <2>;
288 linux,code = <KEY_BACK>;
289 };
290
291 key_3 {
292 keypad,row = <1>;
293 keypad,column = <1>;
294 linux,code = <KEY_CAMERA_FOCUS>;
295 };
296
297 key_4 {
298 keypad,row = <1>;
299 keypad,column = <2>;
300 linux,code = <KEY_VOLUMEUP>;
301 };
302
303 key_5 {
304 keypad,row = <2>;
305 keypad,column = <1>;
306 linux,code = <KEY_CAMERA>;
307 };
308
309 key_6 {
310 keypad,row = <2>;
311 keypad,column = <2>;
312 linux,code = <KEY_VOLUMEDOWN>;
313 };
314};
315
316&uart0 {
317 status = "okay";
318};
319
320&uart1 {
321 status = "okay";
322};
323
324&uart2 {
325 status = "okay";
326};
327
328&uart3 {
329 status = "okay";
330};
331
332&sdhci0 {
333 bus-width = <4>;
334 non-removable;
335 status = "okay";
336 vmmc-supply = <&ldo5_reg>;
337 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>;
338 pinctrl-names = "default";
339};
340
341&sdhci2 {
342 bus-width = <4>;
343 cd-gpios = <&gph3 4 1>;
344 vmmc-supply = <&vtf_reg>;
345 cd-inverted;
346 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &t_flash_detect>;
347 pinctrl-names = "default";
348 status = "okay";
349};
350
351&onenand {
352 status = "okay";
353};
354
355&hsotg {
356 vusb_a-supply = <&ldo3_reg>;
357 vusb_d-supply = <&ldo8_reg>;
358 status = "okay";
359};
360
361&usbphy {
362 status = "okay";
363};
364
365&fimd {
366 pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
367 pinctrl-names = "default";
368 status = "okay";
369
370 display-timings {
371 native-mode = <&timing0>;
372 timing0: timing {
373 clock-frequency = <0>;
374 hactive = <800>;
375 vactive = <480>;
376 hfront-porch = <16>;
377 hback-porch = <16>;
378 hsync-len = <2>;
379 vback-porch = <3>;
380 vfront-porch = <28>;
381 vsync-len = <1>;
382 };
383 };
384};
385
386&pinctrl0 {
387 t_flash_detect: t-flash-detect {
388 samsung,pins = "gph3-4";
389 samsung,pin-function = <0>;
390 samsung,pin-pud = <0>;
391 };
392};
diff --git a/arch/arm/boot/dts/s5pv210-goni.dts b/arch/arm/boot/dts/s5pv210-goni.dts
new file mode 100644
index 000000000000..6387c77a6f7b
--- /dev/null
+++ b/arch/arm/boot/dts/s5pv210-goni.dts
@@ -0,0 +1,449 @@
1/*
2 * Samsung's S5PV210 SoC device tree source
3 *
4 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
5 *
6 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
7 * Tomasz Figa <t.figa@samsung.com>
8 *
9 * Board device tree source for Samsung Goni board.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */
15
16/dts-v1/;
17#include <dt-bindings/input/input.h>
18#include "s5pv210.dtsi"
19
20/ {
21 model = "Samsung Goni based on S5PC110";
22 compatible = "samsung,goni", "samsung,s5pv210";
23
24 aliases {
25 i2c3 = &i2c_pmic;
26 };
27
28 chosen {
29 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p5 rw rootwait ignore_loglevel earlyprintk";
30 };
31
32 memory {
33 device_type = "memory";
34 reg = <0x30000000 0x05000000
35 0x40000000 0x10000000
36 0x50000000 0x08000000>;
37 };
38
39 regulators {
40 compatible = "simple-bus";
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 vtf_reg: fixed-regulator@0 {
45 compatible = "regulator-fixed";
46 regulator-name = "V_TF_2.8V";
47 regulator-min-microvolt = <2800000>;
48 regulator-max-microvolt = <2800000>;
49 reg = <0>;
50 gpios = <&mp05 4 0>;
51 enable-active-high;
52 };
53
54 pda_reg: fixed-regulator@1 {
55 compatible = "regulator-fixed";
56 regulator-name = "VCC_1.8V_PDA";
57 regulator-min-microvolt = <1800000>;
58 regulator-max-microvolt = <1800000>;
59 reg = <1>;
60 };
61
62 bat_reg: fixed-regulator@2 {
63 compatible = "regulator-fixed";
64 regulator-name = "V_BAT";
65 regulator-min-microvolt = <3700000>;
66 regulator-max-microvolt = <3700000>;
67 reg = <2>;
68 };
69
70 tsp_reg: fixed-regulator@3 {
71 compatible = "regulator-fixed";
72 regulator-name = "TSP_VDD";
73 regulator-min-microvolt = <2800000>;
74 regulator-max-microvolt = <2800000>;
75 reg = <3>;
76 gpios = <&gpj1 3 0>;
77 enable-active-high;
78 };
79 };
80
81 i2c_pmic: i2c-pmic {
82 compatible = "i2c-gpio";
83 gpios = <&gpj4 0 0>, /* sda */
84 <&gpj4 3 0>; /* scl */
85 i2c-gpio,delay-us = <2>; /* ~100 kHz */
86 #address-cells = <1>;
87 #size-cells = <0>;
88
89 pmic@66 {
90 compatible = "national,lp3974";
91 reg = <0x66>;
92
93 max8998,pmic-buck1-default-dvs-idx = <0>;
94 max8998,pmic-buck1-dvs-gpios = <&gph0 3 0>,
95 <&gph0 4 0>;
96 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
97 <1200000>, <1200000>;
98
99 max8998,pmic-buck2-default-dvs-idx = <0>;
100 max8998,pmic-buck2-dvs-gpio = <&gph0 5 0>;
101 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
102
103 regulators {
104 ldo2_reg: LDO2 {
105 regulator-name = "VALIVE_1.1V";
106 regulator-min-microvolt = <1100000>;
107 regulator-max-microvolt = <1100000>;
108 regulator-always-on;
109 };
110
111 ldo3_reg: LDO3 {
112 regulator-name = "VUSB+MIPI_1.1V";
113 regulator-min-microvolt = <1100000>;
114 regulator-max-microvolt = <1100000>;
115 regulator-always-on;
116 };
117
118 ldo4_reg: LDO4 {
119 regulator-name = "VADC_3.3V";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
122 };
123
124 ldo5_reg: LDO5 {
125 regulator-name = "VTF_2.8V";
126 regulator-min-microvolt = <2800000>;
127 regulator-max-microvolt = <2800000>;
128 };
129
130 ldo6_reg: LDO6 {
131 regulator-name = "VCC_3.3V";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
134 };
135
136 ldo7_reg: LDO7 {
137 regulator-name = "VLCD_1.8V";
138 regulator-min-microvolt = <1800000>;
139 regulator-max-microvolt = <1800000>;
140 regulator-always-on;
141 };
142
143 ldo8_reg: LDO8 {
144 regulator-name = "VUSB+VDAC_3.3V";
145 regulator-min-microvolt = <3300000>;
146 regulator-max-microvolt = <3300000>;
147 };
148
149 ldo9_reg: LDO9 {
150 regulator-name = "VCC+VCAM_2.8V";
151 regulator-min-microvolt = <2800000>;
152 regulator-max-microvolt = <2800000>;
153 };
154
155 ldo10_reg: LDO10 {
156 regulator-name = "VPLL_1.1V";
157 regulator-min-microvolt = <1100000>;
158 regulator-max-microvolt = <1100000>;
159 regulator-boot-on;
160 };
161
162 ldo11_reg: LDO11 {
163 regulator-name = "CAM_IO_2.8V";
164 regulator-min-microvolt = <2800000>;
165 regulator-max-microvolt = <2800000>;
166 };
167
168 ldo12_reg: LDO12 {
169 regulator-name = "CAM_ISP_1.2V";
170 regulator-min-microvolt = <1200000>;
171 regulator-max-microvolt = <1200000>;
172 };
173
174 ldo13_reg: LDO13 {
175 regulator-name = "CAM_A_2.8V";
176 regulator-min-microvolt = <2800000>;
177 regulator-max-microvolt = <2800000>;
178 };
179
180 ldo14_reg: LDO14 {
181 regulator-name = "CAM_CIF_1.8V";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 };
185
186 ldo15_reg: LDO15 {
187 regulator-name = "CAM_AF_3.3V";
188 regulator-min-microvolt = <3300000>;
189 regulator-max-microvolt = <3300000>;
190 };
191
192 ldo16_reg: LDO16 {
193 regulator-name = "VMIPI_1.8V";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
196 };
197
198 ldo17_reg: LDO17 {
199 regulator-name = "CAM_8M_1.8V";
200 regulator-min-microvolt = <1800000>;
201 regulator-max-microvolt = <1800000>;
202 regulator-always-on;
203 };
204
205 buck1_reg: BUCK1 {
206 regulator-name = "VARM_1.2V";
207 regulator-min-microvolt = <1200000>;
208 regulator-max-microvolt = <1200000>;
209 };
210
211 buck2_reg: BUCK2 {
212 regulator-name = "VINT_1.2V";
213 regulator-min-microvolt = <1200000>;
214 regulator-max-microvolt = <1200000>;
215 };
216
217 buck3_reg: BUCK3 {
218 regulator-name = "VCC_1.8V";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
221 regulator-always-on;
222 };
223
224 buck4_reg: BUCK4 {
225 regulator-name = "CAM_CORE_1.2V";
226 regulator-min-microvolt = <1200000>;
227 regulator-max-microvolt = <1200000>;
228 regulator-always-on;
229 };
230 };
231 };
232 };
233
234 gpio-keys {
235 compatible = "gpio-keys";
236
237 power-key {
238 gpios = <&gph2 6 1>;
239 linux,code = <KEY_POWER>;
240 label = "power";
241 debounce-interval = <1>;
242 gpio-key,wakeup;
243 };
244 };
245};
246
247&xusbxti {
248 clock-frequency = <24000000>;
249};
250
251&keypad {
252 linux,input-no-autorepeat;
253 linux,input-wakeup;
254 samsung,keypad-num-rows = <3>;
255 samsung,keypad-num-columns = <3>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
258 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>;
259 status = "okay";
260
261 key_1 {
262 keypad,row = <0>;
263 keypad,column = <1>;
264 linux,code = <KEY_CONNECT>;
265 };
266
267 key_2 {
268 keypad,row = <0>;
269 keypad,column = <2>;
270 linux,code = <KEY_BACK>;
271 };
272
273 key_3 {
274 keypad,row = <1>;
275 keypad,column = <1>;
276 linux,code = <KEY_CAMERA_FOCUS>;
277 };
278
279 key_4 {
280 keypad,row = <1>;
281 keypad,column = <2>;
282 linux,code = <KEY_VOLUMEUP>;
283 };
284
285 key_5 {
286 keypad,row = <2>;
287 keypad,column = <1>;
288 linux,code = <KEY_CAMERA>;
289 };
290
291 key_6 {
292 keypad,row = <2>;
293 keypad,column = <2>;
294 linux,code = <KEY_VOLUMEDOWN>;
295 };
296};
297
298&uart0 {
299 status = "okay";
300};
301
302&uart1 {
303 status = "okay";
304};
305
306&uart2 {
307 status = "okay";
308};
309
310&uart3 {
311 status = "okay";
312};
313
314&sdhci0 {
315 bus-width = <4>;
316 non-removable;
317 vmmc-supply = <&ldo5_reg>;
318 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
319 pinctrl-names = "default";
320 status = "okay";
321};
322
323&sdhci2 {
324 bus-width = <4>;
325 cd-gpios = <&gph3 4 1>;
326 vmmc-supply = <&vtf_reg>;
327 cd-inverted;
328 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
329 pinctrl-names = "default";
330 status = "okay";
331};
332
333&hsotg {
334 vusb_a-supply = <&ldo3_reg>;
335 vusb_d-supply = <&ldo8_reg>;
336 status = "okay";
337};
338
339&usbphy {
340 status = "okay";
341};
342
343&i2c2 {
344 samsung,i2c-sda-delay = <100>;
345 samsung,i2c-max-bus-freq = <400000>;
346 samsung,i2c-slave-addr = <0x10>;
347 status = "okay";
348
349 tsp@4a {
350 compatible = "atmel,maxtouch";
351 reg = <0x4a>;
352 interrupt-parent = <&gpj0>;
353 interrupts = <5 2>;
354
355 atmel,x-line = <17>;
356 atmel,y-line = <11>;
357 atmel,x-size = <800>;
358 atmel,y-size = <480>;
359 atmel,burst-length = <0x21>;
360 atmel,threshold = <0x28>;
361 atmel,orientation = <1>;
362
363 vdd-supply = <&tsp_reg>;
364 };
365};
366
367&i2c0 {
368 samsung,i2c-sda-delay = <100>;
369 samsung,i2c-max-bus-freq = <100000>;
370 samsung,i2c-slave-addr = <0x10>;
371 status = "okay";
372
373 noon010pc30: sensor@30 {
374 compatible = "siliconfile,noon010pc30";
375 reg = <0x30>;
376 vddio-supply = <&ldo11_reg>;
377 vdda-supply = <&ldo13_reg>;
378 vdd_core-supply = <&ldo14_reg>;
379
380 clock-frequency = <16000000>;
381 clocks = <&clock_cam 0>;
382 clock-names = "mclk";
383 nreset-gpios = <&gpb 2 0>;
384 nstby-gpios = <&gpb 0 0>;
385
386 port {
387 noon010pc30_ep: endpoint {
388 remote-endpoint = <&fimc0_ep>;
389 bus-width = <8>;
390 hsync-active = <0>;
391 vsync-active = <1>;
392 pclk-sample = <1>;
393 };
394 };
395 };
396};
397
398&camera {
399 pinctrl-0 = <&cam_port_a_io &cam_port_a_clk_active>;
400 pinctrl-1 = <&cam_port_a_io &cam_port_a_clk_idle>;
401 pinctrl-names = "default", "idle";
402
403 parallel-ports {
404 #address-cells = <1>;
405 #size-cells = <0>;
406
407 /* camera A input */
408 port@1 {
409 reg = <1>;
410 fimc0_ep: endpoint {
411 remote-endpoint = <&noon010pc30_ep>;
412 bus-width = <8>;
413 hsync-active = <1>;
414 vsync-active = <1>;
415 pclk-sample = <0>;
416 };
417 };
418 };
419};
420
421&fimd {
422 pinctrl-0 = <&lcd_clk &lcd_data24>;
423 pinctrl-names = "default";
424 status = "okay";
425
426 display-timings {
427 native-mode = <&timing0>;
428 timing0: timing {
429 /* 480x800@55Hz */
430 clock-frequency = <23439570>;
431 hactive = <480>;
432 hfront-porch = <16>;
433 hback-porch = <16>;
434 hsync-len = <2>;
435 vactive = <800>;
436 vback-porch = <2>;
437 vfront-porch = <28>;
438 vsync-len = <1>;
439 hsync-active = <0>;
440 vsync-active = <0>;
441 de-active = <0>;
442 pixelclk-active = <0>;
443 };
444 };
445};
446
447&onenand {
448 status = "okay";
449};
diff --git a/arch/arm/boot/dts/s5pv210-smdkc110.dts b/arch/arm/boot/dts/s5pv210-smdkc110.dts
new file mode 100644
index 000000000000..1eedab7ffe94
--- /dev/null
+++ b/arch/arm/boot/dts/s5pv210-smdkc110.dts
@@ -0,0 +1,78 @@
1/*
2 * Samsung's S5PV210 SoC device tree source
3 *
4 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
5 *
6 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
7 * Tomasz Figa <t.figa@samsung.com>
8 *
9 * Board device tree source for YIC System SMDC110 board.
10 *
11 * NOTE: This file is completely based on original board file for mach-smdkc110
12 * available in Linux 3.15 and intends to provide equivalent level of hardware
13 * support. Due to lack of hardware, _no_ testing has been performed.
14 *
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License version 2 as
17 * published by the Free Software Foundation.
18 */
19
20/dts-v1/;
21#include <dt-bindings/input/input.h>
22#include "s5pv210.dtsi"
23
24/ {
25 model = "YIC System SMDKC110 based on S5PC110";
26 compatible = "yic,smdkc110", "samsung,s5pv210";
27
28 chosen {
29 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
30 };
31
32 memory {
33 device_type = "memory";
34 reg = <0x20000000 0x20000000>;
35 };
36};
37
38&xusbxti {
39 clock-frequency = <24000000>;
40};
41
42&uart0 {
43 status = "okay";
44};
45
46&uart1 {
47 status = "okay";
48};
49
50&uart2 {
51 status = "okay";
52};
53
54&uart3 {
55 status = "okay";
56};
57
58&rtc {
59 status = "okay";
60};
61
62&i2c0 {
63 status = "okay";
64
65 audio-codec@1b {
66 compatible = "wlf,wm8580";
67 reg = <0x1b>;
68 };
69
70 eeprom@50 {
71 compatible = "atmel,24c08";
72 reg = <0x50>;
73 };
74};
75
76&i2s0 {
77 status = "okay";
78};
diff --git a/arch/arm/boot/dts/s5pv210-smdkv210.dts b/arch/arm/boot/dts/s5pv210-smdkv210.dts
new file mode 100644
index 000000000000..cb8521899ec8
--- /dev/null
+++ b/arch/arm/boot/dts/s5pv210-smdkv210.dts
@@ -0,0 +1,238 @@
1/*
2 * Samsung's S5PV210 SoC device tree source
3 *
4 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
5 *
6 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
7 * Tomasz Figa <t.figa@samsung.com>
8 *
9 * Board device tree source for YIC System SMDV210 board.
10 *
11 * NOTE: This file is completely based on original board file for mach-smdkv210
12 * available in Linux 3.15 and intends to provide equivalent level of hardware
13 * support. Due to lack of hardware, _no_ testing has been performed.
14 *
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License version 2 as
17 * published by the Free Software Foundation.
18 */
19
20/dts-v1/;
21#include <dt-bindings/input/input.h>
22#include "s5pv210.dtsi"
23
24/ {
25 model = "YIC System SMDKV210 based on S5PV210";
26 compatible = "yic,smdkv210", "samsung,s5pv210";
27
28 chosen {
29 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
30 };
31
32 memory {
33 device_type = "memory";
34 reg = <0x20000000 0x40000000>;
35 };
36
37 ethernet@18000000 {
38 compatible = "davicom,dm9000";
39 reg = <0xA8000000 0x2 0xA8000002 0x2>;
40 interrupt-parent = <&gph1>;
41 interrupts = <1 4>;
42 local-mac-address = [00 00 de ad be ef];
43 davicom,no-eeprom;
44 };
45
46 backlight {
47 compatible = "pwm-backlight";
48 pwms = <&pwm 3 5000000 0>;
49 brightness-levels = <0 4 8 16 32 64 128 255>;
50 default-brightness-level = <6>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&pwm3_out>;
53 };
54};
55
56&xusbxti {
57 clock-frequency = <24000000>;
58};
59
60&keypad {
61 linux,input-no-autorepeat;
62 linux,input-wakeup;
63 samsung,keypad-num-rows = <8>;
64 samsung,keypad-num-columns = <8>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&keypad_row0>, <&keypad_row1>, <&keypad_row2>,
67 <&keypad_row3>, <&keypad_row4>, <&keypad_row5>,
68 <&keypad_row6>, <&keypad_row7>,
69 <&keypad_col0>, <&keypad_col1>, <&keypad_col2>,
70 <&keypad_col3>, <&keypad_col4>, <&keypad_col5>,
71 <&keypad_col6>, <&keypad_col7>;
72 status = "okay";
73
74 key_1 {
75 keypad,row = <0>;
76 keypad,column = <3>;
77 linux,code = <KEY_1>;
78 };
79
80 key_2 {
81 keypad,row = <0>;
82 keypad,column = <4>;
83 linux,code = <KEY_2>;
84 };
85
86 key_3 {
87 keypad,row = <0>;
88 keypad,column = <5>;
89 linux,code = <KEY_3>;
90 };
91
92 key_4 {
93 keypad,row = <0>;
94 keypad,column = <6>;
95 linux,code = <KEY_4>;
96 };
97
98 key_5 {
99 keypad,row = <0
100 >;
101 keypad,column = <7>;
102 linux,code = <KEY_5>;
103 };
104
105 key_6 {
106 keypad,row = <1>;
107 keypad,column = <3>;
108 linux,code = <KEY_A>;
109 };
110 key_7 {
111 keypad,row = <1>;
112 keypad,column = <4>;
113 linux,code = <KEY_B>;
114 };
115
116 key_8 {
117 keypad,row = <1>;
118 keypad,column = <5>;
119 linux,code = <KEY_C>;
120 };
121
122 key_9 {
123 keypad,row = <1>;
124 keypad,column = <6>;
125 linux,code = <KEY_D>;
126 };
127
128 key_10 {
129 keypad,row = <1>;
130 keypad,column = <7>;
131 linux,code = <KEY_E>;
132 };
133};
134
135&uart0 {
136 status = "okay";
137};
138
139&uart1 {
140 status = "okay";
141};
142
143&uart2 {
144 status = "okay";
145};
146
147&uart3 {
148 status = "okay";
149};
150
151&rtc {
152 status = "okay";
153};
154
155&sdhci0 {
156 bus-width = <4>;
157 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
158 pinctrl-names = "default";
159 status = "okay";
160};
161
162&sdhci1 {
163 bus-width = <4>;
164 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus1 &sd1_bus4>;
165 pinctrl-names = "default";
166 status = "okay";
167};
168
169&sdhci2 {
170 bus-width = <4>;
171 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
172 pinctrl-names = "default";
173 status = "okay";
174};
175
176&sdhci3 {
177 bus-width = <4>;
178 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_cd &sd3_bus1 &sd3_bus4>;
179 pinctrl-names = "default";
180 status = "okay";
181};
182
183&hsotg {
184 status = "okay";
185};
186
187&usbphy {
188 status = "okay";
189};
190
191&fimd {
192 pinctrl-0 = <&lcd_clk &lcd_data24>;
193 pinctrl-names = "default";
194 status = "okay";
195
196 display-timings {
197 native-mode = <&timing0>;
198
199 timing0: timing@0 {
200 /* 800x480@60Hz */
201 clock-frequency = <24373920>;
202 hactive = <800>;
203 vactive = <480>;
204 hfront-porch = <8>;
205 hback-porch = <13>;
206 hsync-len = <3>;
207 vback-porch = <7>;
208 vfront-porch = <5>;
209 vsync-len = <1>;
210 hsync-active = <0>;
211 vsync-active = <0>;
212 de-active = <1>;
213 pixelclk-active = <1>;
214 };
215 };
216};
217
218&pwm {
219 samsung,pwm-outputs = <3>;
220};
221
222&i2c0 {
223 status = "okay";
224
225 audio-codec@1b {
226 compatible = "wlf,wm8580";
227 reg = <0x1b>;
228 };
229
230 eeprom@50 {
231 compatible = "atmel,24c08";
232 reg = <0x50>;
233 };
234};
235
236&i2s0 {
237 status = "okay";
238};
diff --git a/arch/arm/boot/dts/s5pv210-torbreck.dts b/arch/arm/boot/dts/s5pv210-torbreck.dts
new file mode 100644
index 000000000000..622599fd2cfa
--- /dev/null
+++ b/arch/arm/boot/dts/s5pv210-torbreck.dts
@@ -0,0 +1,92 @@
1/*
2 * Samsung's S5PV210 SoC device tree source
3 *
4 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
5 *
6 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
7 * Tomasz Figa <t.figa@samsung.com>
8 *
9 * Board device tree source for Torbreck board.
10 *
11 * NOTE: This file is completely based on original board file for mach-torbreck
12 * available in Linux 3.15 and intends to provide equivalent level of hardware
13 * support. Due to lack of hardware, _no_ testing has been performed.
14 *
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License version 2 as
17 * published by the Free Software Foundation.
18 */
19
20/dts-v1/;
21#include <dt-bindings/input/input.h>
22#include "s5pv210.dtsi"
23
24/ {
25 model = "aESOP Torbreck based on S5PV210";
26 compatible = "aesop,torbreck", "samsung,s5pv210";
27
28 chosen {
29 bootargs = "console=ttySAC0,115200n8 root=/dev/mmcblk0p1 rw rootwait ignore_loglevel earlyprintk";
30 };
31
32 memory {
33 device_type = "memory";
34 reg = <0x20000000 0x20000000>;
35 };
36};
37
38&xusbxti {
39 clock-frequency = <24000000>;
40};
41
42&uart0 {
43 status = "okay";
44};
45
46&uart1 {
47 status = "okay";
48};
49
50&uart2 {
51 status = "okay";
52};
53
54&uart3 {
55 status = "okay";
56};
57
58&rtc {
59 status = "okay";
60};
61
62&sdhci0 {
63 bus-width = <4>;
64 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus1 &sd0_bus4>;
65 pinctrl-names = "default";
66 status = "okay";
67};
68
69&sdhci1 {
70 bus-width = <4>;
71 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus1 &sd1_bus4>;
72 pinctrl-names = "default";
73 status = "okay";
74};
75
76&sdhci2 {
77 bus-width = <4>;
78 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus1 &sd2_bus4>;
79 pinctrl-names = "default";
80 status = "okay";
81};
82
83&sdhci3 {
84 bus-width = <4>;
85 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_cd &sd3_bus1 &sd3_bus4>;
86 pinctrl-names = "default";
87 status = "okay";
88};
89
90&i2s0 {
91 status = "okay";
92};