blob: 382d8c7e290602058fd9f2609ba2d1646461da7c [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 {
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;
Tushar Behera5f132692013-06-19 00:41:56 +0900228 regulator-always-on;
Thomas Abraham17419722013-05-21 01:18:45 +0900229 };
230 };
231 };
232 };
233
Thomas Abraham0561cea2011-11-02 19:31:15 +0900234 gpio_keys {
235 compatible = "gpio-keys";
236 #address-cells = <1>;
237 #size-cells = <0>;
238
239 up {
240 label = "Up";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900241 gpios = <&gpx2 0 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900242 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900243 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900244 };
245
246 down {
247 label = "Down";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900248 gpios = <&gpx2 1 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900249 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900250 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900251 };
252
253 back {
254 label = "Back";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900255 gpios = <&gpx1 7 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900256 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900257 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900258 };
259
260 home {
261 label = "Home";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900262 gpios = <&gpx1 6 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900263 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900264 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900265 };
266
267 menu {
268 label = "Menu";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900269 gpios = <&gpx1 5 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900270 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900271 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900272 };
273 };
274
Sachin Kamat162b1722012-09-08 10:09:03 +0900275 leds {
276 compatible = "gpio-leds";
277 status {
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900278 gpios = <&gpx1 3 1>;
Sachin Kamat162b1722012-09-08 10:09:03 +0900279 linux,default-trigger = "heartbeat";
280 };
281 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900282
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 };
Sachin Kamat7c1a26a2013-06-19 00:41:51 +0900294
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 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900315};