blob: d3340db030002bff384664d147b34f97ca410f02 [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
Sachin Kamataf617c92013-10-06 09:20:59 +090035 regulators {
36 compatible = "simple-bus";
37 #address-cells = <1>;
38 #size-cells = <0>;
39
40 mmc_reg: regulator@0 {
41 compatible = "regulator-fixed";
42 reg = <0>;
43 regulator-name = "VMEM_VDD_2.8V";
44 regulator-min-microvolt = <2800000>;
45 regulator-max-microvolt = <2800000>;
46 gpio = <&gpx1 1 0>;
47 enable-active-high;
48 };
Tomasz Figacf7c3972012-11-22 00:15:40 +090049 };
50
Sachin Kamat092c3432013-04-23 23:20:24 +090051 tmu@100C0000 {
52 status = "okay";
53 };
54
Thomas Abraham0561cea2011-11-02 19:31:15 +090055 sdhci@12530000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090056 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090057 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
58 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090059 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090060 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090061 };
62
63 sdhci@12510000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090064 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090065 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
66 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090067 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090068 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090069 };
70
Sachin Kamatfcc0afb2013-04-04 13:49:49 +090071 g2d@12800000 {
72 status = "okay";
73 };
74
Sachin Kamat6fe57712013-02-08 13:58:24 -080075 codec@13400000 {
76 samsung,mfc-r = <0x43000000 0x800000>;
77 samsung,mfc-l = <0x51000000 0x800000>;
78 status = "okay";
79 };
80
Tomasz Figa70191db2012-10-17 18:13:24 +090081 serial@13800000 {
82 status = "okay";
83 };
84
85 serial@13810000 {
86 status = "okay";
87 };
88
89 serial@13820000 {
90 status = "okay";
91 };
92
93 serial@13830000 {
94 status = "okay";
95 };
96
Thomas Abraham17419722013-05-21 01:18:45 +090097 i2c@13860000 {
98 status = "okay";
99 samsung,i2c-sda-delay = <100>;
100 samsung,i2c-max-bus-freq = <20000>;
101 pinctrl-0 = <&i2c0_bus>;
102 pinctrl-names = "default";
103
104 max8997_pmic@66 {
105 compatible = "maxim,max8997-pmic";
106 reg = <0x66>;
107 interrupt-parent = <&gpx0>;
108 interrupts = <4 0>, <3 0>;
109
110 max8997,pmic-buck1-dvs-voltage = <1350000>;
111 max8997,pmic-buck2-dvs-voltage = <1100000>;
112 max8997,pmic-buck5-dvs-voltage = <1200000>;
113
114 regulators {
115 ldo1_reg: LDO1 {
116 regulator-name = "VDD_ABB_3.3V";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
119 };
120
121 ldo2_reg: LDO2 {
122 regulator-name = "VDD_ALIVE_1.1V";
123 regulator-min-microvolt = <1100000>;
124 regulator-max-microvolt = <1100000>;
125 regulator-always-on;
126 };
127
128 ldo3_reg: LDO3 {
129 regulator-name = "VMIPI_1.1V";
130 regulator-min-microvolt = <1100000>;
131 regulator-max-microvolt = <1100000>;
132 };
133
134 ldo4_reg: LDO4 {
135 regulator-name = "VDD_RTC_1.8V";
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <1800000>;
138 regulator-always-on;
139 };
140
141 ldo6_reg: LDO6 {
142 regulator-name = "VMIPI_1.8V";
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
145 regulator-always-on;
146 };
147
148 ldo7_reg: LDO7 {
149 regulator-name = "VDD_AUD_1.8V";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
152 };
153
154 ldo8_reg: LDO8 {
155 regulator-name = "VADC_3.3V";
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 };
159
160 ldo9_reg: LDO9 {
161 regulator-name = "DVDD_SWB_2.8V";
162 regulator-min-microvolt = <2800000>;
163 regulator-max-microvolt = <2800000>;
164 regulator-always-on;
165 };
166
167 ldo10_reg: LDO10 {
168 regulator-name = "VDD_PLL_1.1V";
169 regulator-min-microvolt = <1100000>;
170 regulator-max-microvolt = <1100000>;
171 regulator-always-on;
172 };
173
174 ldo11_reg: LDO11 {
175 regulator-name = "VDD_AUD_3V";
176 regulator-min-microvolt = <3000000>;
177 regulator-max-microvolt = <3000000>;
178 };
179
180 ldo14_reg: LDO14 {
181 regulator-name = "AVDD18_SWB_1.8V";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 regulator-always-on;
185 };
186
187 ldo17_reg: LDO17 {
188 regulator-name = "VDD_SWB_3.3V";
189 regulator-min-microvolt = <3300000>;
190 regulator-max-microvolt = <3300000>;
191 regulator-always-on;
192 };
193
194 ldo21_reg: LDO21 {
195 regulator-name = "VDD_MIF_1.2V";
196 regulator-min-microvolt = <1200000>;
197 regulator-max-microvolt = <1200000>;
198 regulator-always-on;
199 };
200
201 buck1_reg: BUCK1 {
202 regulator-name = "VDD_ARM_1.2V";
203 regulator-min-microvolt = <950000>;
204 regulator-max-microvolt = <1350000>;
205 regulator-always-on;
206 regulator-boot-on;
207 };
208
209 buck2_reg: BUCK2 {
210 regulator-name = "VDD_INT_1.1V";
211 regulator-min-microvolt = <900000>;
212 regulator-max-microvolt = <1100000>;
213 regulator-always-on;
214 regulator-boot-on;
215 };
216
217 buck3_reg: BUCK3 {
218 regulator-name = "VDD_G3D_1.1V";
219 regulator-min-microvolt = <900000>;
220 regulator-max-microvolt = <1100000>;
221 };
222
223 buck5_reg: BUCK5 {
224 regulator-name = "VDDQ_M1M2_1.2V";
225 regulator-min-microvolt = <1200000>;
226 regulator-max-microvolt = <1200000>;
227 regulator-always-on;
228 };
229
230 buck7_reg: BUCK7 {
231 regulator-name = "VDD_LCD_3.3V";
232 regulator-min-microvolt = <3300000>;
233 regulator-max-microvolt = <3300000>;
234 regulator-boot-on;
Tushar Behera5f132692013-06-19 00:41:56 +0900235 regulator-always-on;
Thomas Abraham17419722013-05-21 01:18:45 +0900236 };
237 };
238 };
239 };
240
Thomas Abraham0561cea2011-11-02 19:31:15 +0900241 gpio_keys {
242 compatible = "gpio-keys";
243 #address-cells = <1>;
244 #size-cells = <0>;
245
246 up {
247 label = "Up";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900248 gpios = <&gpx2 0 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900249 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900250 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900251 };
252
253 down {
254 label = "Down";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900255 gpios = <&gpx2 1 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900256 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900257 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900258 };
259
260 back {
261 label = "Back";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900262 gpios = <&gpx1 7 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900263 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900264 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900265 };
266
267 home {
268 label = "Home";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900269 gpios = <&gpx1 6 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900270 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900271 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900272 };
273
274 menu {
275 label = "Menu";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900276 gpios = <&gpx1 5 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900277 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900278 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900279 };
280 };
281
Sachin Kamat162b1722012-09-08 10:09:03 +0900282 leds {
283 compatible = "gpio-leds";
284 status {
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900285 gpios = <&gpx1 3 1>;
Sachin Kamat162b1722012-09-08 10:09:03 +0900286 linux,default-trigger = "heartbeat";
287 };
288 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900289
290 fixed-rate-clocks {
291 xxti {
292 compatible = "samsung,clock-xxti";
293 clock-frequency = <0>;
294 };
295
296 xusbxti {
297 compatible = "samsung,clock-xusbxti";
298 clock-frequency = <24000000>;
299 };
300 };
Sachin Kamat7c1a26a2013-06-19 00:41:51 +0900301
302 fimd@11c00000 {
303 pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
304 pinctrl-names = "default";
305 status = "okay";
306 };
307
308 display-timings {
309 native-mode = <&timing0>;
310 timing0: timing {
311 clock-frequency = <50000>;
312 hactive = <1024>;
313 vactive = <600>;
314 hfront-porch = <64>;
315 hback-porch = <16>;
316 hsync-len = <48>;
317 vback-porch = <64>;
318 vfront-porch = <16>;
319 vsync-len = <3>;
320 };
321 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900322};