Commit | Line | Data |
---|---|---|
0561ceab TA |
1 | /* |
2 | * Samsung's Exynos4210 based Origen board device tree source | |
3 | * | |
4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * Copyright (c) 2010-2011 Linaro Ltd. | |
7 | * www.linaro.org | |
8 | * | |
9 | * Device tree source file for Insignal's Origen board which is based on | |
10 | * Samsung's Exynos4210 SoC. | |
11 | * | |
12 | * This program is free software; you can redistribute it and/or modify | |
13 | * it under the terms of the GNU General Public License version 2 as | |
14 | * published by the Free Software Foundation. | |
15 | */ | |
16 | ||
17 | /dts-v1/; | |
3799279f | 18 | #include "exynos4210.dtsi" |
0561ceab TA |
19 | |
20 | / { | |
21 | model = "Insignal Origen evaluation board based on Exynos4210"; | |
22 | compatible = "insignal,origen", "samsung,exynos4210"; | |
23 | ||
24 | memory { | |
49ed67a4 TF |
25 | reg = <0x40000000 0x10000000 |
26 | 0x50000000 0x10000000 | |
27 | 0x60000000 0x10000000 | |
28 | 0x70000000 0x10000000>; | |
0561ceab TA |
29 | }; |
30 | ||
31 | chosen { | |
32 | bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; | |
33 | }; | |
34 | ||
cf7c397b TF |
35 | mmc_reg: voltage-regulator { |
36 | compatible = "regulator-fixed"; | |
37 | regulator-name = "VMEM_VDD_2.8V"; | |
38 | regulator-min-microvolt = <2800000>; | |
39 | regulator-max-microvolt = <2800000>; | |
40 | gpio = <&gpx1 1 0>; | |
41 | enable-active-high; | |
42 | }; | |
43 | ||
092c343d SK |
44 | tmu@100C0000 { |
45 | status = "okay"; | |
46 | }; | |
47 | ||
0561ceab | 48 | sdhci@12530000 { |
6475daad | 49 | bus-width = <4>; |
41d8bdf6 TF |
50 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |
51 | pinctrl-names = "default"; | |
cf7c397b | 52 | vmmc-supply = <&mmc_reg>; |
c9e23f00 | 53 | status = "okay"; |
0561ceab TA |
54 | }; |
55 | ||
56 | sdhci@12510000 { | |
6475daad | 57 | bus-width = <4>; |
41d8bdf6 TF |
58 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>; |
59 | pinctrl-names = "default"; | |
cf7c397b | 60 | vmmc-supply = <&mmc_reg>; |
c9e23f00 | 61 | status = "okay"; |
0561ceab TA |
62 | }; |
63 | ||
fcc0afba SK |
64 | g2d@12800000 { |
65 | status = "okay"; | |
66 | }; | |
67 | ||
6fe57711 SK |
68 | codec@13400000 { |
69 | samsung,mfc-r = <0x43000000 0x800000>; | |
70 | samsung,mfc-l = <0x51000000 0x800000>; | |
71 | status = "okay"; | |
72 | }; | |
73 | ||
70191db9 TF |
74 | serial@13800000 { |
75 | status = "okay"; | |
76 | }; | |
77 | ||
78 | serial@13810000 { | |
79 | status = "okay"; | |
80 | }; | |
81 | ||
82 | serial@13820000 { | |
83 | status = "okay"; | |
84 | }; | |
85 | ||
86 | serial@13830000 { | |
87 | status = "okay"; | |
88 | }; | |
89 | ||
17419726 TA |
90 | i2c@13860000 { |
91 | status = "okay"; | |
92 | samsung,i2c-sda-delay = <100>; | |
93 | samsung,i2c-max-bus-freq = <20000>; | |
94 | pinctrl-0 = <&i2c0_bus>; | |
95 | pinctrl-names = "default"; | |
96 | ||
97 | max8997_pmic@66 { | |
98 | compatible = "maxim,max8997-pmic"; | |
99 | reg = <0x66>; | |
100 | interrupt-parent = <&gpx0>; | |
101 | interrupts = <4 0>, <3 0>; | |
102 | ||
103 | max8997,pmic-buck1-dvs-voltage = <1350000>; | |
104 | max8997,pmic-buck2-dvs-voltage = <1100000>; | |
105 | max8997,pmic-buck5-dvs-voltage = <1200000>; | |
106 | ||
107 | regulators { | |
108 | ldo1_reg: LDO1 { | |
109 | regulator-name = "VDD_ABB_3.3V"; | |
110 | regulator-min-microvolt = <3300000>; | |
111 | regulator-max-microvolt = <3300000>; | |
112 | }; | |
113 | ||
114 | ldo2_reg: LDO2 { | |
115 | regulator-name = "VDD_ALIVE_1.1V"; | |
116 | regulator-min-microvolt = <1100000>; | |
117 | regulator-max-microvolt = <1100000>; | |
118 | regulator-always-on; | |
119 | }; | |
120 | ||
121 | ldo3_reg: LDO3 { | |
122 | regulator-name = "VMIPI_1.1V"; | |
123 | regulator-min-microvolt = <1100000>; | |
124 | regulator-max-microvolt = <1100000>; | |
125 | }; | |
126 | ||
127 | ldo4_reg: LDO4 { | |
128 | regulator-name = "VDD_RTC_1.8V"; | |
129 | regulator-min-microvolt = <1800000>; | |
130 | regulator-max-microvolt = <1800000>; | |
131 | regulator-always-on; | |
132 | }; | |
133 | ||
134 | ldo6_reg: LDO6 { | |
135 | regulator-name = "VMIPI_1.8V"; | |
136 | regulator-min-microvolt = <1800000>; | |
137 | regulator-max-microvolt = <1800000>; | |
138 | regulator-always-on; | |
139 | }; | |
140 | ||
141 | ldo7_reg: LDO7 { | |
142 | regulator-name = "VDD_AUD_1.8V"; | |
143 | regulator-min-microvolt = <1800000>; | |
144 | regulator-max-microvolt = <1800000>; | |
145 | }; | |
146 | ||
147 | ldo8_reg: LDO8 { | |
148 | regulator-name = "VADC_3.3V"; | |
149 | regulator-min-microvolt = <3300000>; | |
150 | regulator-max-microvolt = <3300000>; | |
151 | }; | |
152 | ||
153 | ldo9_reg: LDO9 { | |
154 | regulator-name = "DVDD_SWB_2.8V"; | |
155 | regulator-min-microvolt = <2800000>; | |
156 | regulator-max-microvolt = <2800000>; | |
157 | regulator-always-on; | |
158 | }; | |
159 | ||
160 | ldo10_reg: LDO10 { | |
161 | regulator-name = "VDD_PLL_1.1V"; | |
162 | regulator-min-microvolt = <1100000>; | |
163 | regulator-max-microvolt = <1100000>; | |
164 | regulator-always-on; | |
165 | }; | |
166 | ||
167 | ldo11_reg: LDO11 { | |
168 | regulator-name = "VDD_AUD_3V"; | |
169 | regulator-min-microvolt = <3000000>; | |
170 | regulator-max-microvolt = <3000000>; | |
171 | }; | |
172 | ||
173 | ldo14_reg: LDO14 { | |
174 | regulator-name = "AVDD18_SWB_1.8V"; | |
175 | regulator-min-microvolt = <1800000>; | |
176 | regulator-max-microvolt = <1800000>; | |
177 | regulator-always-on; | |
178 | }; | |
179 | ||
180 | ldo17_reg: LDO17 { | |
181 | regulator-name = "VDD_SWB_3.3V"; | |
182 | regulator-min-microvolt = <3300000>; | |
183 | regulator-max-microvolt = <3300000>; | |
184 | regulator-always-on; | |
185 | }; | |
186 | ||
187 | ldo21_reg: LDO21 { | |
188 | regulator-name = "VDD_MIF_1.2V"; | |
189 | regulator-min-microvolt = <1200000>; | |
190 | regulator-max-microvolt = <1200000>; | |
191 | regulator-always-on; | |
192 | }; | |
193 | ||
194 | buck1_reg: BUCK1 { | |
195 | regulator-name = "VDD_ARM_1.2V"; | |
196 | regulator-min-microvolt = <950000>; | |
197 | regulator-max-microvolt = <1350000>; | |
198 | regulator-always-on; | |
199 | regulator-boot-on; | |
200 | }; | |
201 | ||
202 | buck2_reg: BUCK2 { | |
203 | regulator-name = "VDD_INT_1.1V"; | |
204 | regulator-min-microvolt = <900000>; | |
205 | regulator-max-microvolt = <1100000>; | |
206 | regulator-always-on; | |
207 | regulator-boot-on; | |
208 | }; | |
209 | ||
210 | buck3_reg: BUCK3 { | |
211 | regulator-name = "VDD_G3D_1.1V"; | |
212 | regulator-min-microvolt = <900000>; | |
213 | regulator-max-microvolt = <1100000>; | |
214 | }; | |
215 | ||
216 | buck5_reg: BUCK5 { | |
217 | regulator-name = "VDDQ_M1M2_1.2V"; | |
218 | regulator-min-microvolt = <1200000>; | |
219 | regulator-max-microvolt = <1200000>; | |
220 | regulator-always-on; | |
221 | }; | |
222 | ||
223 | buck7_reg: BUCK7 { | |
224 | regulator-name = "VDD_LCD_3.3V"; | |
225 | regulator-min-microvolt = <3300000>; | |
226 | regulator-max-microvolt = <3300000>; | |
227 | regulator-boot-on; | |
5f132691 | 228 | regulator-always-on; |
17419726 TA |
229 | }; |
230 | }; | |
231 | }; | |
232 | }; | |
233 | ||
0561ceab TA |
234 | gpio_keys { |
235 | compatible = "gpio-keys"; | |
236 | #address-cells = <1>; | |
237 | #size-cells = <0>; | |
238 | ||
239 | up { | |
240 | label = "Up"; | |
41d8bdf6 | 241 | gpios = <&gpx2 0 1>; |
0561ceab | 242 | linux,code = <103>; |
c8c24dad | 243 | gpio-key,wakeup; |
0561ceab TA |
244 | }; |
245 | ||
246 | down { | |
247 | label = "Down"; | |
41d8bdf6 | 248 | gpios = <&gpx2 1 1>; |
0561ceab | 249 | linux,code = <108>; |
c8c24dad | 250 | gpio-key,wakeup; |
0561ceab TA |
251 | }; |
252 | ||
253 | back { | |
254 | label = "Back"; | |
41d8bdf6 | 255 | gpios = <&gpx1 7 1>; |
0561ceab | 256 | linux,code = <158>; |
c8c24dad | 257 | gpio-key,wakeup; |
0561ceab TA |
258 | }; |
259 | ||
260 | home { | |
261 | label = "Home"; | |
41d8bdf6 | 262 | gpios = <&gpx1 6 1>; |
0561ceab | 263 | linux,code = <102>; |
c8c24dad | 264 | gpio-key,wakeup; |
0561ceab TA |
265 | }; |
266 | ||
267 | menu { | |
268 | label = "Menu"; | |
41d8bdf6 | 269 | gpios = <&gpx1 5 1>; |
0561ceab | 270 | linux,code = <139>; |
c8c24dad | 271 | gpio-key,wakeup; |
0561ceab TA |
272 | }; |
273 | }; | |
274 | ||
162b172d SK |
275 | leds { |
276 | compatible = "gpio-leds"; | |
277 | status { | |
41d8bdf6 | 278 | gpios = <&gpx1 3 1>; |
162b172d SK |
279 | linux,default-trigger = "heartbeat"; |
280 | }; | |
281 | }; | |
8b6076d4 TA |
282 | |
283 | fixed-rate-clocks { | |
284 | xxti { | |
285 | compatible = "samsung,clock-xxti"; | |
286 | clock-frequency = <0>; | |
287 | }; | |
288 | ||
289 | xusbxti { | |
290 | compatible = "samsung,clock-xusbxti"; | |
291 | clock-frequency = <24000000>; | |
292 | }; | |
293 | }; | |
7c1a26a0 SK |
294 | |
295 | fimd@11c00000 { | |
296 | pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>; | |
297 | pinctrl-names = "default"; | |
298 | status = "okay"; | |
299 | }; | |
300 | ||
301 | display-timings { | |
302 | native-mode = <&timing0>; | |
303 | timing0: timing { | |
304 | clock-frequency = <50000>; | |
305 | hactive = <1024>; | |
306 | vactive = <600>; | |
307 | hfront-porch = <64>; | |
308 | hback-porch = <16>; | |
309 | hsync-len = <48>; | |
310 | vback-porch = <64>; | |
311 | vfront-porch = <16>; | |
312 | vsync-len = <3>; | |
313 | }; | |
314 | }; | |
0561ceab | 315 | }; |