]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/exynos4210-origen.dts
Merge branch 'next/dt' into for-next
[karo-tx-linux.git] / arch / arm / boot / dts / exynos4210-origen.dts
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/;
18 #include "exynos4210.dtsi"
19
20 / {
21         model = "Insignal Origen evaluation board based on Exynos4210";
22         compatible = "insignal,origen", "samsung,exynos4210";
23
24         memory {
25                 reg = <0x40000000 0x10000000
26                        0x50000000 0x10000000
27                        0x60000000 0x10000000
28                        0x70000000 0x10000000>;
29         };
30
31         chosen {
32                 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
33         };
34
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
44         tmu@100C0000 {
45                 status = "okay";
46         };
47
48         sdhci@12530000 {
49                 bus-width = <4>;
50                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
51                 pinctrl-names = "default";
52                 vmmc-supply = <&mmc_reg>;
53                 status = "okay";
54         };
55
56         sdhci@12510000 {
57                 bus-width = <4>;
58                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
59                 pinctrl-names = "default";
60                 vmmc-supply = <&mmc_reg>;
61                 status = "okay";
62         };
63
64         g2d@12800000 {
65                 status = "okay";
66         };
67
68         codec@13400000 {
69                 samsung,mfc-r = <0x43000000 0x800000>;
70                 samsung,mfc-l = <0x51000000 0x800000>;
71                 status = "okay";
72         };
73
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
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                                         /*
196                                         * HACK: The real name is VDD_ARM_1.2V,
197                                         * but exynos-cpufreq does not support
198                                         * DT-based regulator lookup yet.
199                                         */
200                                         regulator-name = "vdd_arm";
201                                         regulator-min-microvolt = <950000>;
202                                         regulator-max-microvolt = <1350000>;
203                                         regulator-always-on;
204                                         regulator-boot-on;
205                                 };
206
207                                 buck2_reg: BUCK2 {
208                                         regulator-name = "VDD_INT_1.1V";
209                                         regulator-min-microvolt = <900000>;
210                                         regulator-max-microvolt = <1100000>;
211                                         regulator-always-on;
212                                         regulator-boot-on;
213                                 };
214
215                                 buck3_reg: BUCK3 {
216                                         regulator-name = "VDD_G3D_1.1V";
217                                         regulator-min-microvolt = <900000>;
218                                         regulator-max-microvolt = <1100000>;
219                                 };
220
221                                 buck5_reg: BUCK5 {
222                                         regulator-name = "VDDQ_M1M2_1.2V";
223                                         regulator-min-microvolt = <1200000>;
224                                         regulator-max-microvolt = <1200000>;
225                                         regulator-always-on;
226                                 };
227
228                                 buck7_reg: BUCK7 {
229                                         regulator-name = "VDD_LCD_3.3V";
230                                         regulator-min-microvolt = <3300000>;
231                                         regulator-max-microvolt = <3300000>;
232                                         regulator-boot-on;
233                                         regulator-always-on;
234                                 };
235                         };
236                 };
237         };
238
239         gpio_keys {
240                 compatible = "gpio-keys";
241                 #address-cells = <1>;
242                 #size-cells = <0>;
243
244                 up {
245                         label = "Up";
246                         gpios = <&gpx2 0 1>;
247                         linux,code = <103>;
248                         gpio-key,wakeup;
249                 };
250
251                 down {
252                         label = "Down";
253                         gpios = <&gpx2 1 1>;
254                         linux,code = <108>;
255                         gpio-key,wakeup;
256                 };
257
258                 back {
259                         label = "Back";
260                         gpios = <&gpx1 7 1>;
261                         linux,code = <158>;
262                         gpio-key,wakeup;
263                 };
264
265                 home {
266                         label = "Home";
267                         gpios = <&gpx1 6 1>;
268                         linux,code = <102>;
269                         gpio-key,wakeup;
270                 };
271
272                 menu {
273                         label = "Menu";
274                         gpios = <&gpx1 5 1>;
275                         linux,code = <139>;
276                         gpio-key,wakeup;
277                 };
278         };
279
280         leds {
281                 compatible = "gpio-leds";
282                 status {
283                         gpios = <&gpx1 3 1>;
284                         linux,default-trigger = "heartbeat";
285                 };
286         };
287
288         fixed-rate-clocks {
289                 xxti {
290                         compatible = "samsung,clock-xxti";
291                         clock-frequency = <0>;
292                 };
293
294                 xusbxti {
295                         compatible = "samsung,clock-xusbxti";
296                         clock-frequency = <24000000>;
297                 };
298         };
299
300         fimd@11c00000 {
301                 pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
302                 pinctrl-names = "default";
303                 status = "okay";
304         };
305
306         display-timings {
307                 native-mode = <&timing0>;
308                 timing0: timing {
309                         clock-frequency = <50000>;
310                         hactive = <1024>;
311                         vactive = <600>;
312                         hfront-porch = <64>;
313                         hback-porch = <16>;
314                         hsync-len = <48>;
315                         vback-porch = <64>;
316                         vfront-porch = <16>;
317                         vsync-len = <3>;
318                 };
319         };
320 };