blob: 882db2d1f6085a68ed51b4b80c9d34819fde36c9 [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 {
Simon Glass881c8862021-07-18 19:02:40 -060044 compatible = "samsung,exynos5-sromc";
Hatim RV89ee4022012-12-11 00:52:45 +000045 bank = <1>;
46 srom-timing = <1 9 12 1 6 1 1>;
47 width = <2>;
48 lan@5000000 {
49 compatible = "smsc,lan9215", "smsc,lan";
50 reg = <0x5000000 0x100>;
51 phy-mode = "mii";
52 };
53 };
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000054
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053055 sound@3830000 {
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000056 samsung,codec-type = "wm8994";
57 };
58
Dani Krishna Mohan76c444d2013-09-11 16:38:47 +053059 sound@12d60000 {
60 status = "disabled";
61 };
62
Simon Glass2a61b442015-07-02 18:15:48 -060063 i2c@12C70000 {
Simon Glass38d0bb32018-12-10 10:37:44 -070064 wm8994: soundcodec@1a {
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000065 reg = <0x1a>;
Simon Glass4070ba62018-12-10 10:37:39 -070066 u-boot,i2c-offset-len = <2>;
Simon Glass38d0bb32018-12-10 10:37:44 -070067 compatible = "wolfson,wm8994";
68 #sound-dai-cells = <1>;
69 };
70 };
71
72 sound {
73 compatible = "google,smdk5250-audio-wm8994";
74
75 samsung,model = "SMDK5250-I2S-WM8994";
76 samsung,audio-codec = <&wm8994>;
77
78 cpu {
79 sound-dai = <&i2s0 0>;
80 };
81
82 codec {
83 sound-dai = <&wm8994 0>;
Rajeshwari Shinded21258f2012-12-26 20:03:15 +000084 };
85 };
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000086
Simon Glass2a61b442015-07-02 18:15:48 -060087 i2c@12C60000 {
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000088 pmic@9 {
89 reg = <0x9>;
Przemyslaw Marczakff0e22b2015-04-20 20:07:45 +020090 compatible = "maxim,max77686";
Rajeshwari Shinde13b680d2013-01-08 21:03:39 +000091 };
92 };
Akshay Saraswataa773182013-02-25 01:13:01 +000093
94 tmu@10060000 {
95 samsung,min-temp = <25>;
96 samsung,max-temp = <125>;
97 samsung,start-warning = <95>;
98 samsung,start-tripping = <105>;
Akshay Saraswat9a427cc2013-02-25 01:13:07 +000099 samsung,hw-tripping = <110>;
Akshay Saraswataa773182013-02-25 01:13:01 +0000100 samsung,efuse-min-value = <40>;
101 samsung,efuse-value = <55>;
102 samsung,efuse-max-value = <100>;
103 samsung,slope = <274761730>;
104 samsung,dc-value = <25>;
105 };
Ajay Kumarc2349862013-02-21 23:53:03 +0000106
107 fimd@14400000 {
108 samsung,vl-freq = <60>;
109 samsung,vl-col = <2560>;
110 samsung,vl-row = <1600>;
111 samsung,vl-width = <2560>;
112 samsung,vl-height = <1600>;
113
114 samsung,vl-clkp;
115 samsung,vl-dp;
116 samsung,vl-bpix = <4>;
117
118 samsung,vl-hspw = <32>;
119 samsung,vl-hbpd = <80>;
120 samsung,vl-hfpd = <48>;
121 samsung,vl-vspw = <6>;
122 samsung,vl-vbpd = <37>;
123 samsung,vl-vfpd = <3>;
124 samsung,vl-cmd-allow-len = <0xf>;
125
126 samsung,winid = <3>;
127 samsung,interface-mode = <1>;
128 samsung,dp-enabled = <1>;
129 samsung,dual-lcd-enabled = <0>;
130 };
Ajay Kumarbca019f2013-02-21 23:53:08 +0000131
132 dp@145b0000 {
133 samsung,lt-status = <0>;
134
135 samsung,master-mode = <0>;
136 samsung,bist-mode = <0>;
137 samsung,bist-pattern = <0>;
138 samsung,h-sync-polarity = <0>;
139 samsung,v-sync-polarity = <0>;
140 samsung,interlaced = <0>;
141 samsung,color-space = <0>;
142 samsung,dynamic-range = <0>;
143 samsung,ycbcr-coeff = <0>;
144 samsung,color-depth = <1>;
145 };
Amar070e83f2013-04-27 11:42:53 +0530146
147 mmc@12200000 {
148 samsung,bus-width = <8>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500149 bus-width = <8>;
Amar070e83f2013-04-27 11:42:53 +0530150 samsung,timing = <1 3 3>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500151 samsung,dw-mshc-ciu-div = <3>;
152 samsung,dw-mshc-sdr-timing = <1 3>;
Amar070e83f2013-04-27 11:42:53 +0530153 samsung,removable = <0>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500154 non-removable;
Amar070e83f2013-04-27 11:42:53 +0530155 };
156
157 mmc@12210000 {
158 status = "disabled";
159 };
160
161 mmc@12220000 {
162 samsung,bus-width = <4>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500163 bus-width = <4>;
Amar070e83f2013-04-27 11:42:53 +0530164 samsung,timing = <1 2 3>;
Sam Protsenkob0ed27b2024-08-07 22:14:20 -0500165 samsung,dw-mshc-ciu-div = <3>;
166 samsung,dw-mshc-sdr-timing = <1 2>;
Amar070e83f2013-04-27 11:42:53 +0530167 samsung,removable = <1>;
168 };
169
170 mmc@12230000 {
171 status = "disabled";
172 };
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530173
174 ehci@12110000 {
Simon Glassdabafc32015-01-05 20:05:42 -0700175 samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
Julius Werner5bbaa0d2013-09-14 14:02:53 +0530176 };
Hatim RV89ee4022012-12-11 00:52:45 +0000177};
Simon Glasseef15f22015-07-02 18:15:49 -0600178
179&i2c_0 {
180 status = "okay";
181 samsung,i2c-sda-delay = <100>;
182 samsung,i2c-max-bus-freq = <20000>;
183
184 max77686@09 {
185 compatible = "maxim,max77686";
186 reg = <0x09>;
187 interrupt-parent = <&gpx3>;
188 interrupts = <2 IRQ_TYPE_NONE>;
189
190 voltage-regulators {
191 ldo1_reg: LDO1 {
192 regulator-name = "P1.0V_LDO_OUT1";
193 regulator-min-microvolt = <1000000>;
194 regulator-max-microvolt = <1000000>;
195 regulator-always-on;
196 };
197
198 ldo2_reg: LDO2 {
199 regulator-name = "P1.2V_LDO_OUT2";
200 regulator-min-microvolt = <1200000>;
201 regulator-max-microvolt = <1200000>;
202 regulator-always-on;
203 };
204
205 ldo3_reg: LDO3 {
206 regulator-name = "P1.8V_LDO_OUT3";
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
209 regulator-always-on;
210 };
211
212 ldo4_reg: LDO4 {
213 regulator-name = "P2.8V_LDO_OUT4";
214 regulator-min-microvolt = <2800000>;
215 regulator-max-microvolt = <2800000>;
216 };
217
218 ldo5_reg: LDO5 {
219 regulator-name = "P1.8V_LDO_OUT5";
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <1800000>;
222 };
223
224 ldo6_reg: LDO6 {
225 regulator-name = "P1.1V_LDO_OUT6";
226 regulator-min-microvolt = <1100000>;
227 regulator-max-microvolt = <1100000>;
228 regulator-always-on;
229 };
230
231 ldo7_reg: LDO7 {
232 regulator-name = "P1.1V_LDO_OUT7";
233 regulator-min-microvolt = <1100000>;
234 regulator-max-microvolt = <1100000>;
235 regulator-always-on;
236 };
237
238 ldo8_reg: LDO8 {
239 regulator-name = "P1.0V_LDO_OUT8";
240 regulator-min-microvolt = <1000000>;
241 regulator-max-microvolt = <1000000>;
242 };
243
244 ldo10_reg: LDO10 {
245 regulator-name = "P1.8V_LDO_OUT10";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
248 };
249
250 ldo11_reg: LDO11 {
251 regulator-name = "P1.8V_LDO_OUT11";
252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
254 };
255
256 ldo12_reg: LDO12 {
257 regulator-name = "P3.0V_LDO_OUT12";
258 regulator-min-microvolt = <3000000>;
259 regulator-max-microvolt = <3000000>;
260 };
261
262 ldo13_reg: LDO13 {
263 regulator-name = "P1.8V_LDO_OUT13";
264 regulator-min-microvolt = <1800000>;
265 regulator-max-microvolt = <1800000>;
266 };
267
268 ldo14_reg: LDO14 {
269 regulator-name = "P1.8V_LDO_OUT14";
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <1800000>;
272 };
273
274 ldo15_reg: LDO15 {
275 regulator-name = "P1.0V_LDO_OUT15";
276 regulator-min-microvolt = <1000000>;
277 regulator-max-microvolt = <1000000>;
278 };
279
280 ldo16_reg: LDO16 {
281 regulator-name = "P1.8V_LDO_OUT16";
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
284 };
285
286 buck1_reg: BUCK1 {
287 regulator-name = "vdd_mif";
288 regulator-min-microvolt = <950000>;
289 regulator-max-microvolt = <1300000>;
290 regulator-always-on;
291 regulator-boot-on;
292 };
293
294 buck2_reg: BUCK2 {
295 regulator-name = "vdd_arm";
296 regulator-min-microvolt = <850000>;
297 regulator-max-microvolt = <1350000>;
298 regulator-always-on;
299 regulator-boot-on;
300 };
301
302 buck3_reg: BUCK3 {
303 regulator-name = "vdd_int";
304 regulator-min-microvolt = <900000>;
305 regulator-max-microvolt = <1200000>;
306 regulator-always-on;
307 regulator-boot-on;
308 };
309
310 buck4_reg: BUCK4 {
311 regulator-name = "vdd_g3d";
312 regulator-min-microvolt = <850000>;
313 regulator-max-microvolt = <1300000>;
314 regulator-always-on;
315 regulator-boot-on;
316 };
317
318 buck5_reg: BUCK5 {
319 regulator-name = "P1.8V_BUCK_OUT5";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
322 regulator-always-on;
323 regulator-boot-on;
324 };
325 };
326 };
327};