blob: 46378fee2a13f358a7bf841163f1479852ea021a [file] [log] [blame]
Thomas Abraham0561cea2011-11-02 19:31:15 +09001/*
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/;
Padmavathi Venna37992792013-06-18 00:02:08 +090018#include "exynos4210.dtsi"
Thomas Abraham0561cea2011-11-02 19:31:15 +090019
20/ {
21 model = "Insignal Origen evaluation board based on Exynos4210";
22 compatible = "insignal,origen", "samsung,exynos4210";
23
24 memory {
Tomasz Figa49ed67a42012-11-22 00:15:40 +090025 reg = <0x40000000 0x10000000
26 0x50000000 0x10000000
27 0x60000000 0x10000000
28 0x70000000 0x10000000>;
Thomas Abraham0561cea2011-11-02 19:31:15 +090029 };
30
31 chosen {
32 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
33 };
34
Tomasz Figacf7c3972012-11-22 00:15:40 +090035 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
Sachin Kamat092c3432013-04-23 23:20:24 +090044 tmu@100C0000 {
45 status = "okay";
46 };
47
Thomas Abraham0561cea2011-11-02 19:31:15 +090048 sdhci@12530000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090049 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090050 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
51 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090052 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090053 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090054 };
55
56 sdhci@12510000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090057 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090058 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
59 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090060 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090061 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090062 };
63
Sachin Kamatfcc0afb2013-04-04 13:49:49 +090064 g2d@12800000 {
65 status = "okay";
66 };
67
Sachin Kamat6fe57712013-02-08 13:58:24 -080068 codec@13400000 {
69 samsung,mfc-r = <0x43000000 0x800000>;
70 samsung,mfc-l = <0x51000000 0x800000>;
71 status = "okay";
72 };
73
Tomasz Figa70191db2012-10-17 18:13:24 +090074 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
Thomas Abraham17419722013-05-21 01:18:45 +090090 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 {
Tomasz Figadb9f3162013-10-08 07:06:18 +0900195 /*
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";
Thomas Abraham17419722013-05-21 01:18:45 +0900201 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;
Tushar Behera5f132692013-06-19 00:41:56 +0900233 regulator-always-on;
Thomas Abraham17419722013-05-21 01:18:45 +0900234 };
235 };
236 };
237 };
238
Thomas Abraham0561cea2011-11-02 19:31:15 +0900239 gpio_keys {
240 compatible = "gpio-keys";
241 #address-cells = <1>;
242 #size-cells = <0>;
243
244 up {
245 label = "Up";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900246 gpios = <&gpx2 0 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900247 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900248 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900249 };
250
251 down {
252 label = "Down";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900253 gpios = <&gpx2 1 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900254 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900255 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900256 };
257
258 back {
259 label = "Back";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900260 gpios = <&gpx1 7 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900261 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900262 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900263 };
264
265 home {
266 label = "Home";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900267 gpios = <&gpx1 6 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900268 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900269 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900270 };
271
272 menu {
273 label = "Menu";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900274 gpios = <&gpx1 5 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900275 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900276 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900277 };
278 };
279
Sachin Kamat162b1722012-09-08 10:09:03 +0900280 leds {
281 compatible = "gpio-leds";
282 status {
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900283 gpios = <&gpx1 3 1>;
Sachin Kamat162b1722012-09-08 10:09:03 +0900284 linux,default-trigger = "heartbeat";
285 };
286 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900287
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 };
Sachin Kamat7c1a26a2013-06-19 00:41:51 +0900299
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 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900320};