blob: f018e21491687aed73eae0bc30d4ca2b73225430 [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";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090022 compatible = "insignal,origen", "samsung,exynos4210", "samsung,exynos4";
Thomas Abraham0561cea2011-11-02 19:31:15 +090023
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 Kamatdb070672014-05-28 00:53:22 +090051 watchdog@10060000 {
52 status = "okay";
53 };
54
55 rtc@10070000 {
56 status = "okay";
57 };
58
Sachin Kamat092c3432013-04-23 23:20:24 +090059 tmu@100C0000 {
60 status = "okay";
61 };
62
Thomas Abraham0561cea2011-11-02 19:31:15 +090063 sdhci@12530000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090064 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090065 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_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
71 sdhci@12510000 {
Tomasz Figa6475daa2012-11-22 00:15:40 +090072 bus-width = <4>;
Tomasz Figa41d8bdf2012-11-22 00:15:40 +090073 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
74 pinctrl-names = "default";
Tomasz Figacf7c3972012-11-22 00:15:40 +090075 vmmc-supply = <&mmc_reg>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090076 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090077 };
78
Sachin Kamatfcc0afb2013-04-04 13:49:49 +090079 g2d@12800000 {
80 status = "okay";
81 };
82
Sachin Kamat6fe57712013-02-08 13:58:24 -080083 codec@13400000 {
84 samsung,mfc-r = <0x43000000 0x800000>;
85 samsung,mfc-l = <0x51000000 0x800000>;
86 status = "okay";
87 };
88
Tomasz Figa70191db2012-10-17 18:13:24 +090089 serial@13800000 {
90 status = "okay";
91 };
92
93 serial@13810000 {
94 status = "okay";
95 };
96
97 serial@13820000 {
98 status = "okay";
99 };
100
101 serial@13830000 {
102 status = "okay";
103 };
104
Thomas Abraham17419722013-05-21 01:18:45 +0900105 i2c@13860000 {
106 status = "okay";
107 samsung,i2c-sda-delay = <100>;
108 samsung,i2c-max-bus-freq = <20000>;
109 pinctrl-0 = <&i2c0_bus>;
110 pinctrl-names = "default";
111
112 max8997_pmic@66 {
113 compatible = "maxim,max8997-pmic";
114 reg = <0x66>;
115 interrupt-parent = <&gpx0>;
116 interrupts = <4 0>, <3 0>;
117
118 max8997,pmic-buck1-dvs-voltage = <1350000>;
119 max8997,pmic-buck2-dvs-voltage = <1100000>;
120 max8997,pmic-buck5-dvs-voltage = <1200000>;
121
122 regulators {
123 ldo1_reg: LDO1 {
124 regulator-name = "VDD_ABB_3.3V";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 };
128
129 ldo2_reg: LDO2 {
130 regulator-name = "VDD_ALIVE_1.1V";
131 regulator-min-microvolt = <1100000>;
132 regulator-max-microvolt = <1100000>;
133 regulator-always-on;
134 };
135
136 ldo3_reg: LDO3 {
137 regulator-name = "VMIPI_1.1V";
138 regulator-min-microvolt = <1100000>;
139 regulator-max-microvolt = <1100000>;
140 };
141
142 ldo4_reg: LDO4 {
143 regulator-name = "VDD_RTC_1.8V";
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
146 regulator-always-on;
147 };
148
149 ldo6_reg: LDO6 {
150 regulator-name = "VMIPI_1.8V";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
153 regulator-always-on;
154 };
155
156 ldo7_reg: LDO7 {
157 regulator-name = "VDD_AUD_1.8V";
158 regulator-min-microvolt = <1800000>;
159 regulator-max-microvolt = <1800000>;
160 };
161
162 ldo8_reg: LDO8 {
163 regulator-name = "VADC_3.3V";
164 regulator-min-microvolt = <3300000>;
165 regulator-max-microvolt = <3300000>;
166 };
167
168 ldo9_reg: LDO9 {
169 regulator-name = "DVDD_SWB_2.8V";
170 regulator-min-microvolt = <2800000>;
171 regulator-max-microvolt = <2800000>;
172 regulator-always-on;
173 };
174
175 ldo10_reg: LDO10 {
176 regulator-name = "VDD_PLL_1.1V";
177 regulator-min-microvolt = <1100000>;
178 regulator-max-microvolt = <1100000>;
179 regulator-always-on;
180 };
181
182 ldo11_reg: LDO11 {
183 regulator-name = "VDD_AUD_3V";
184 regulator-min-microvolt = <3000000>;
185 regulator-max-microvolt = <3000000>;
186 };
187
188 ldo14_reg: LDO14 {
189 regulator-name = "AVDD18_SWB_1.8V";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
192 regulator-always-on;
193 };
194
195 ldo17_reg: LDO17 {
196 regulator-name = "VDD_SWB_3.3V";
197 regulator-min-microvolt = <3300000>;
198 regulator-max-microvolt = <3300000>;
199 regulator-always-on;
200 };
201
202 ldo21_reg: LDO21 {
203 regulator-name = "VDD_MIF_1.2V";
204 regulator-min-microvolt = <1200000>;
205 regulator-max-microvolt = <1200000>;
206 regulator-always-on;
207 };
208
209 buck1_reg: BUCK1 {
Tomasz Figadb9f3162013-10-08 07:06:18 +0900210 /*
211 * HACK: The real name is VDD_ARM_1.2V,
212 * but exynos-cpufreq does not support
213 * DT-based regulator lookup yet.
214 */
215 regulator-name = "vdd_arm";
Thomas Abraham17419722013-05-21 01:18:45 +0900216 regulator-min-microvolt = <950000>;
217 regulator-max-microvolt = <1350000>;
218 regulator-always-on;
219 regulator-boot-on;
220 };
221
222 buck2_reg: BUCK2 {
223 regulator-name = "VDD_INT_1.1V";
224 regulator-min-microvolt = <900000>;
225 regulator-max-microvolt = <1100000>;
226 regulator-always-on;
227 regulator-boot-on;
228 };
229
230 buck3_reg: BUCK3 {
231 regulator-name = "VDD_G3D_1.1V";
232 regulator-min-microvolt = <900000>;
233 regulator-max-microvolt = <1100000>;
234 };
235
236 buck5_reg: BUCK5 {
237 regulator-name = "VDDQ_M1M2_1.2V";
238 regulator-min-microvolt = <1200000>;
239 regulator-max-microvolt = <1200000>;
240 regulator-always-on;
241 };
242
243 buck7_reg: BUCK7 {
244 regulator-name = "VDD_LCD_3.3V";
245 regulator-min-microvolt = <3300000>;
246 regulator-max-microvolt = <3300000>;
247 regulator-boot-on;
Tushar Behera5f132692013-06-19 00:41:56 +0900248 regulator-always-on;
Thomas Abraham17419722013-05-21 01:18:45 +0900249 };
250 };
251 };
252 };
253
Thomas Abraham0561cea2011-11-02 19:31:15 +0900254 gpio_keys {
255 compatible = "gpio-keys";
256 #address-cells = <1>;
257 #size-cells = <0>;
258
259 up {
260 label = "Up";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900261 gpios = <&gpx2 0 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900262 linux,code = <103>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900263 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900264 };
265
266 down {
267 label = "Down";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900268 gpios = <&gpx2 1 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900269 linux,code = <108>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900270 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900271 };
272
273 back {
274 label = "Back";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900275 gpios = <&gpx1 7 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900276 linux,code = <158>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900277 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900278 };
279
280 home {
281 label = "Home";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900282 gpios = <&gpx1 6 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900283 linux,code = <102>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900284 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900285 };
286
287 menu {
288 label = "Menu";
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900289 gpios = <&gpx1 5 1>;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900290 linux,code = <139>;
Tushar Beherac8c24da2012-09-21 11:13:25 +0900291 gpio-key,wakeup;
Thomas Abraham0561cea2011-11-02 19:31:15 +0900292 };
293 };
294
Sachin Kamat162b1722012-09-08 10:09:03 +0900295 leds {
296 compatible = "gpio-leds";
297 status {
Tomasz Figa41d8bdf2012-11-22 00:15:40 +0900298 gpios = <&gpx1 3 1>;
Sachin Kamat162b1722012-09-08 10:09:03 +0900299 linux,default-trigger = "heartbeat";
300 };
301 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900302
303 fixed-rate-clocks {
304 xxti {
305 compatible = "samsung,clock-xxti";
306 clock-frequency = <0>;
307 };
308
309 xusbxti {
310 compatible = "samsung,clock-xusbxti";
311 clock-frequency = <24000000>;
312 };
313 };
Sachin Kamat7c1a26a2013-06-19 00:41:51 +0900314
315 fimd@11c00000 {
316 pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
317 pinctrl-names = "default";
318 status = "okay";
319 };
320
321 display-timings {
322 native-mode = <&timing0>;
323 timing0: timing {
Tushar Behera67ddd052013-12-12 07:45:07 +0900324 clock-frequency = <47500000>;
Sachin Kamat7c1a26a2013-06-19 00:41:51 +0900325 hactive = <1024>;
326 vactive = <600>;
327 hfront-porch = <64>;
328 hback-porch = <16>;
329 hsync-len = <48>;
330 vback-porch = <64>;
331 vfront-porch = <16>;
332 vsync-len = <3>;
333 };
334 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900335};