blob: e542a7907610ae4f615ff81333bd318f1fea4c96 [file] [log] [blame]
Hatim RV89ee4022012-12-11 00:52:45 +00001/*
2 * SAMSUNG SMDK5250 board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10*/
11
12/dts-v1/;
Simon Glass78cefc02014-10-20 19:48:29 -060013#include "exynos5250.dtsi"
Simon Glass2a61b442015-07-02 18:15:48 -060014#include <dt-bindings/interrupt-controller/irq.h>
Hatim RV89ee4022012-12-11 00:52:45 +000015
16/ {
17 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
18 compatible = "samsung,smdk5250", "samsung,exynos5250";
19
Rajeshwari Shindebb8dc712012-12-26 20:03:09 +000020 aliases {
Simon Glass2a61b442015-07-02 18:15:48 -060021 i2c0 = "/i2c@12C60000";
22 i2c1 = "/i2c@12C70000";
23 i2c2 = "/i2c@12C80000";
24 i2c3 = "/i2c@12C90000";
25 i2c4 = "/i2c@12CA0000";
26 i2c5 = "/i2c@12CB0000";
27 i2c6 = "/i2c@12CC0000";
28 i2c7 = "/i2c@12CD0000";
Rajeshwari Shinde5f2f0b62012-12-26 20:03:21 +000029 spi0 = "/spi@12d20000";
30 spi1 = "/spi@12d30000";
31 spi2 = "/spi@12d40000";
32 spi3 = "/spi@131a0000";
33 spi4 = "/spi@131b0000";
Amar070e83f2013-04-27 11:42:53 +053034 mmc0 = "/mmc@12200000";
35 mmc1 = "/mmc@12210000";
36 mmc2 = "/mmc@12220000";
37 mmc3 = "/mmc@12230000";
Rajeshwari Shindeba7495d2013-06-24 16:47:21 +053038 serial0 = "/serial@12C30000";
39 console = "/serial@12C30000";
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053040 i2s = "/sound@3830000";
Rajeshwari Shindebb8dc712012-12-26 20:03:09 +000041 };
42
Hatim RV89ee4022012-12-11 00:52:45 +000043 sromc@12250000 {
44 bank = <1>;
45 srom-timing = <1 9 12 1 6 1 1>;
46 width = <2>;
47 lan@5000000 {
48 compatible = "smsc,lan9215", "smsc,lan";
49 reg = <0x5000000 0x100>;
50 phy-mode = "mii";
51 };
52 };
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000053
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053054 sound@3830000 {
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000055 samsung,codec-type = "wm8994";
56 };
57
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053058 sound@12d60000 {
59 status = "disabled";
60 };
61
Simon Glass2a61b442015-07-02 18:15:48 -060062 i2c@12C70000 {
Simon Glass38d0bb32018-12-10 10:37:44 -070063 wm8994: soundcodec@1a {
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000064 reg = <0x1a>;
Simon Glass4070ba62018-12-10 10:37:39 -070065 u-boot,i2c-offset-len = <2>;
Simon Glass38d0bb32018-12-10 10:37:44 -070066 compatible = "wolfson,wm8994";
67 #sound-dai-cells = <1>;
68 };
69 };
70
71 sound {
72 compatible = "google,smdk5250-audio-wm8994";
73
74 samsung,model = "SMDK5250-I2S-WM8994";
75 samsung,audio-codec = <&wm8994>;
76
77 cpu {
78 sound-dai = <&i2s0 0>;
79 };
80
81 codec {
82 sound-dai = <&wm8994 0>;
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000083 };
84 };
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000085
Simon Glass2a61b442015-07-02 18:15:48 -060086 i2c@12C60000 {
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000087 pmic@9 {
88 reg = <0x9>;
Przemyslaw Marczakff0e22b2015-04-20 20:07:45 +020089 compatible = "maxim,max77686";
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000090 };
91 };
Akshay Saraswataa773182013-02-25 01:13:01 +000092
93 tmu@10060000 {
94 samsung,min-temp = <25>;
95 samsung,max-temp = <125>;
96 samsung,start-warning = <95>;
97 samsung,start-tripping = <105>;
Akshay Saraswat9a427cc2013-02-25 01:13:07 +000098 samsung,hw-tripping = <110>;
Akshay Saraswataa773182013-02-25 01:13:01 +000099 samsung,efuse-min-value = <40>;
100 samsung,efuse-value = <55>;
101 samsung,efuse-max-value = <100>;
102 samsung,slope = <274761730>;
103 samsung,dc-value = <25>;
104 };
Ajay Kumarc2349862013-02-21 23:53:03 +0000105
106 fimd@14400000 {
107 samsung,vl-freq = <60>;
108 samsung,vl-col = <2560>;
109 samsung,vl-row = <1600>;
110 samsung,vl-width = <2560>;
111 samsung,vl-height = <1600>;
112
113 samsung,vl-clkp;
114 samsung,vl-dp;
115 samsung,vl-bpix = <4>;
116
117 samsung,vl-hspw = <32>;
118 samsung,vl-hbpd = <80>;
119 samsung,vl-hfpd = <48>;
120 samsung,vl-vspw = <6>;
121 samsung,vl-vbpd = <37>;
122 samsung,vl-vfpd = <3>;
123 samsung,vl-cmd-allow-len = <0xf>;
124
125 samsung,winid = <3>;
126 samsung,interface-mode = <1>;
127 samsung,dp-enabled = <1>;
128 samsung,dual-lcd-enabled = <0>;
129 };
Ajay Kumarbca019f2013-02-21 23:53:08 +0000130
131 dp@145b0000 {
132 samsung,lt-status = <0>;
133
134 samsung,master-mode = <0>;
135 samsung,bist-mode = <0>;
136 samsung,bist-pattern = <0>;
137 samsung,h-sync-polarity = <0>;
138 samsung,v-sync-polarity = <0>;
139 samsung,interlaced = <0>;
140 samsung,color-space = <0>;
141 samsung,dynamic-range = <0>;
142 samsung,ycbcr-coeff = <0>;
143 samsung,color-depth = <1>;
144 };
Amar070e83f2013-04-27 11:42:53 +0530145
146 mmc@12200000 {
147 samsung,bus-width = <8>;
148 samsung,timing = <1 3 3>;
149 samsung,removable = <0>;
150 };
151
152 mmc@12210000 {
153 status = "disabled";
154 };
155
156 mmc@12220000 {
157 samsung,bus-width = <4>;
158 samsung,timing = <1 2 3>;
159 samsung,removable = <1>;
160 };
161
162 mmc@12230000 {
163 status = "disabled";
164 };
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530165
166 ehci@12110000 {
Simon Glassdabafc32015-01-05 20:05:42 -0700167 samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530168 };
Hatim RV89ee4022012-12-11 00:52:45 +0000169};
Simon Glasseef15f22015-07-02 18:15:49 -0600170
171&i2c_0 {
172 status = "okay";
173 samsung,i2c-sda-delay = <100>;
174 samsung,i2c-max-bus-freq = <20000>;
175
176 max77686@09 {
177 compatible = "maxim,max77686";
178 reg = <0x09>;
179 interrupt-parent = <&gpx3>;
180 interrupts = <2 IRQ_TYPE_NONE>;
181
182 voltage-regulators {
183 ldo1_reg: LDO1 {
184 regulator-name = "P1.0V_LDO_OUT1";
185 regulator-min-microvolt = <1000000>;
186 regulator-max-microvolt = <1000000>;
187 regulator-always-on;
188 };
189
190 ldo2_reg: LDO2 {
191 regulator-name = "P1.2V_LDO_OUT2";
192 regulator-min-microvolt = <1200000>;
193 regulator-max-microvolt = <1200000>;
194 regulator-always-on;
195 };
196
197 ldo3_reg: LDO3 {
198 regulator-name = "P1.8V_LDO_OUT3";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
201 regulator-always-on;
202 };
203
204 ldo4_reg: LDO4 {
205 regulator-name = "P2.8V_LDO_OUT4";
206 regulator-min-microvolt = <2800000>;
207 regulator-max-microvolt = <2800000>;
208 };
209
210 ldo5_reg: LDO5 {
211 regulator-name = "P1.8V_LDO_OUT5";
212 regulator-min-microvolt = <1800000>;
213 regulator-max-microvolt = <1800000>;
214 };
215
216 ldo6_reg: LDO6 {
217 regulator-name = "P1.1V_LDO_OUT6";
218 regulator-min-microvolt = <1100000>;
219 regulator-max-microvolt = <1100000>;
220 regulator-always-on;
221 };
222
223 ldo7_reg: LDO7 {
224 regulator-name = "P1.1V_LDO_OUT7";
225 regulator-min-microvolt = <1100000>;
226 regulator-max-microvolt = <1100000>;
227 regulator-always-on;
228 };
229
230 ldo8_reg: LDO8 {
231 regulator-name = "P1.0V_LDO_OUT8";
232 regulator-min-microvolt = <1000000>;
233 regulator-max-microvolt = <1000000>;
234 };
235
236 ldo10_reg: LDO10 {
237 regulator-name = "P1.8V_LDO_OUT10";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 };
241
242 ldo11_reg: LDO11 {
243 regulator-name = "P1.8V_LDO_OUT11";
244 regulator-min-microvolt = <1800000>;
245 regulator-max-microvolt = <1800000>;
246 };
247
248 ldo12_reg: LDO12 {
249 regulator-name = "P3.0V_LDO_OUT12";
250 regulator-min-microvolt = <3000000>;
251 regulator-max-microvolt = <3000000>;
252 };
253
254 ldo13_reg: LDO13 {
255 regulator-name = "P1.8V_LDO_OUT13";
256 regulator-min-microvolt = <1800000>;
257 regulator-max-microvolt = <1800000>;
258 };
259
260 ldo14_reg: LDO14 {
261 regulator-name = "P1.8V_LDO_OUT14";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264 };
265
266 ldo15_reg: LDO15 {
267 regulator-name = "P1.0V_LDO_OUT15";
268 regulator-min-microvolt = <1000000>;
269 regulator-max-microvolt = <1000000>;
270 };
271
272 ldo16_reg: LDO16 {
273 regulator-name = "P1.8V_LDO_OUT16";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
276 };
277
278 buck1_reg: BUCK1 {
279 regulator-name = "vdd_mif";
280 regulator-min-microvolt = <950000>;
281 regulator-max-microvolt = <1300000>;
282 regulator-always-on;
283 regulator-boot-on;
284 };
285
286 buck2_reg: BUCK2 {
287 regulator-name = "vdd_arm";
288 regulator-min-microvolt = <850000>;
289 regulator-max-microvolt = <1350000>;
290 regulator-always-on;
291 regulator-boot-on;
292 };
293
294 buck3_reg: BUCK3 {
295 regulator-name = "vdd_int";
296 regulator-min-microvolt = <900000>;
297 regulator-max-microvolt = <1200000>;
298 regulator-always-on;
299 regulator-boot-on;
300 };
301
302 buck4_reg: BUCK4 {
303 regulator-name = "vdd_g3d";
304 regulator-min-microvolt = <850000>;
305 regulator-max-microvolt = <1300000>;
306 regulator-always-on;
307 regulator-boot-on;
308 };
309
310 buck5_reg: BUCK5 {
311 regulator-name = "P1.8V_BUCK_OUT5";
312 regulator-min-microvolt = <1800000>;
313 regulator-max-microvolt = <1800000>;
314 regulator-always-on;
315 regulator-boot-on;
316 };
317 };
318 };
319};