Commit | Line | Data |
---|---|---|
b074abb7 KK |
1 | /* |
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/; | |
3799279f | 13 | #include "exynos5250.dtsi" |
b074abb7 KK |
14 | |
15 | / { | |
16 | model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; | |
17 | compatible = "samsung,smdk5250", "samsung,exynos5250"; | |
18 | ||
84bd48a0 | 19 | aliases { |
84bd48a0 TA |
20 | }; |
21 | ||
b074abb7 KK |
22 | memory { |
23 | reg = <0x40000000 0x80000000>; | |
24 | }; | |
25 | ||
26 | chosen { | |
3c817102 | 27 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
b074abb7 | 28 | }; |
009f7c9f TA |
29 | |
30 | i2c@12C60000 { | |
31 | samsung,i2c-sda-delay = <100>; | |
32 | samsung,i2c-max-bus-freq = <20000>; | |
009f7c9f TA |
33 | |
34 | eeprom@50 { | |
35 | compatible = "samsung,s524ad0xd1"; | |
36 | reg = <0x50>; | |
37 | }; | |
38 | }; | |
39 | ||
40cb43bd PV |
40 | vdd:fixed-regulator@0 { |
41 | compatible = "regulator-fixed"; | |
42 | regulator-name = "vdd-supply"; | |
43 | regulator-min-microvolt = <1800000>; | |
44 | regulator-max-microvolt = <1800000>; | |
45 | regulator-always-on; | |
46 | }; | |
47 | ||
48 | dbvdd:fixed-regulator@1 { | |
49 | compatible = "regulator-fixed"; | |
50 | regulator-name = "dbvdd-supply"; | |
51 | regulator-min-microvolt = <3300000>; | |
52 | regulator-max-microvolt = <3300000>; | |
53 | regulator-always-on; | |
54 | }; | |
55 | ||
56 | spkvdd:fixed-regulator@2 { | |
57 | compatible = "regulator-fixed"; | |
58 | regulator-name = "spkvdd-supply"; | |
59 | regulator-min-microvolt = <5000000>; | |
60 | regulator-max-microvolt = <5000000>; | |
61 | regulator-always-on; | |
62 | }; | |
63 | ||
009f7c9f TA |
64 | i2c@12C70000 { |
65 | samsung,i2c-sda-delay = <100>; | |
66 | samsung,i2c-max-bus-freq = <20000>; | |
009f7c9f TA |
67 | |
68 | eeprom@51 { | |
69 | compatible = "samsung,s524ad0xd1"; | |
70 | reg = <0x51>; | |
71 | }; | |
28a48058 PV |
72 | |
73 | wm8994: wm8994@1a { | |
40cb43bd PV |
74 | compatible = "wlf,wm8994"; |
75 | reg = <0x1a>; | |
76 | ||
77 | gpio-controller; | |
78 | #gpio-cells = <2>; | |
79 | ||
80 | AVDD2-supply = <&vdd>; | |
81 | CPVDD-supply = <&vdd>; | |
82 | DBVDD-supply = <&dbvdd>; | |
83 | SPKVDD1-supply = <&spkvdd>; | |
84 | SPKVDD2-supply = <&spkvdd>; | |
28a48058 | 85 | }; |
009f7c9f TA |
86 | }; |
87 | ||
c47d244a VA |
88 | i2c@121D0000 { |
89 | samsung,i2c-sda-delay = <100>; | |
90 | samsung,i2c-max-bus-freq = <40000>; | |
91 | samsung,i2c-slave-addr = <0x38>; | |
92 | ||
93 | sata-phy { | |
94 | compatible = "samsung,sata-phy"; | |
95 | reg = <0x38>; | |
96 | }; | |
97 | }; | |
98 | ||
99 | sata@122F0000 { | |
100 | samsung,sata-freq = <66>; | |
101 | }; | |
102 | ||
009f7c9f | 103 | i2c@12C80000 { |
62a1f83f RS |
104 | samsung,i2c-sda-delay = <100>; |
105 | samsung,i2c-max-bus-freq = <66000>; | |
62a1f83f RS |
106 | |
107 | hdmiddc@50 { | |
0d1fc829 | 108 | compatible = "samsung,exynos4210-hdmiddc"; |
62a1f83f RS |
109 | reg = <0x50>; |
110 | }; | |
009f7c9f TA |
111 | }; |
112 | ||
113 | i2c@12C90000 { | |
114 | status = "disabled"; | |
115 | }; | |
116 | ||
117 | i2c@12CA0000 { | |
118 | status = "disabled"; | |
119 | }; | |
120 | ||
121 | i2c@12CB0000 { | |
122 | status = "disabled"; | |
123 | }; | |
124 | ||
125 | i2c@12CC0000 { | |
126 | status = "disabled"; | |
127 | }; | |
128 | ||
129 | i2c@12CD0000 { | |
130 | status = "disabled"; | |
131 | }; | |
79989ba3 | 132 | |
3e3e9ce4 RS |
133 | i2c@12CE0000 { |
134 | samsung,i2c-sda-delay = <100>; | |
135 | samsung,i2c-max-bus-freq = <66000>; | |
136 | ||
137 | hdmiphy@38 { | |
0d1fc829 | 138 | compatible = "samsung,exynos4212-hdmiphy"; |
3e3e9ce4 RS |
139 | reg = <0x38>; |
140 | }; | |
141 | }; | |
142 | ||
de0f42be | 143 | dwmmc0@12200000 { |
84bd48a0 TA |
144 | num-slots = <1>; |
145 | supports-highspeed; | |
146 | broken-cd; | |
147 | fifo-depth = <0x80>; | |
148 | card-detect-delay = <200>; | |
149 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
150 | samsung,dw-mshc-sdr-timing = <2 3>; |
151 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
152 | pinctrl-names = "default"; |
153 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
84bd48a0 TA |
154 | |
155 | slot@0 { | |
156 | reg = <0>; | |
157 | bus-width = <8>; | |
84bd48a0 TA |
158 | }; |
159 | }; | |
160 | ||
de0f42be | 161 | dwmmc1@12210000 { |
84bd48a0 TA |
162 | status = "disabled"; |
163 | }; | |
164 | ||
de0f42be | 165 | dwmmc2@12220000 { |
84bd48a0 TA |
166 | num-slots = <1>; |
167 | supports-highspeed; | |
168 | fifo-depth = <0x80>; | |
169 | card-detect-delay = <200>; | |
170 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
171 | samsung,dw-mshc-sdr-timing = <2 3>; |
172 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
173 | pinctrl-names = "default"; |
174 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
84bd48a0 TA |
175 | |
176 | slot@0 { | |
177 | reg = <0>; | |
178 | bus-width = <4>; | |
488755b5 | 179 | disable-wp; |
84bd48a0 TA |
180 | }; |
181 | }; | |
182 | ||
de0f42be | 183 | dwmmc3@12230000 { |
84bd48a0 TA |
184 | status = "disabled"; |
185 | }; | |
186 | ||
79989ba3 TA |
187 | spi_0: spi@12d20000 { |
188 | status = "disabled"; | |
189 | }; | |
190 | ||
191 | spi_1: spi@12d30000 { | |
79989ba3 TA |
192 | w25q80bw@0 { |
193 | #address-cells = <1>; | |
194 | #size-cells = <1>; | |
195 | compatible = "w25x80"; | |
196 | reg = <0>; | |
197 | spi-max-frequency = <1000000>; | |
198 | ||
199 | controller-data { | |
f8bfe2b0 | 200 | cs-gpio = <&gpa2 5 0>; |
79989ba3 TA |
201 | samsung,spi-feedback-delay = <0>; |
202 | }; | |
203 | ||
204 | partition@0 { | |
205 | label = "U-Boot"; | |
206 | reg = <0x0 0x40000>; | |
207 | read-only; | |
208 | }; | |
209 | ||
210 | partition@40000 { | |
211 | label = "Kernel"; | |
212 | reg = <0x40000 0xc0000>; | |
213 | }; | |
214 | }; | |
215 | }; | |
216 | ||
217 | spi_2: spi@12d40000 { | |
218 | status = "disabled"; | |
219 | }; | |
566cf8ee RS |
220 | |
221 | hdmi { | |
f8bfe2b0 | 222 | hpd-gpio = <&gpx3 7 0>; |
566cf8ee | 223 | }; |
24025f6f | 224 | |
2eae613b AK |
225 | codec@11000000 { |
226 | samsung,mfc-r = <0x43000000 0x800000>; | |
227 | samsung,mfc-l = <0x51000000 0x800000>; | |
228 | }; | |
4c4c7463 | 229 | |
28a48058 | 230 | i2s0: i2s@03830000 { |
f8bfe2b0 | 231 | status = "okay"; |
4c4c7463 PV |
232 | }; |
233 | ||
28a48058 | 234 | i2s1: i2s@12D60000 { |
4c4c7463 PV |
235 | status = "disabled"; |
236 | }; | |
237 | ||
28a48058 | 238 | i2s2: i2s@12D70000 { |
4c4c7463 PV |
239 | status = "disabled"; |
240 | }; | |
28a48058 PV |
241 | |
242 | sound { | |
243 | compatible = "samsung,smdk-wm8994"; | |
244 | ||
245 | samsung,i2s-controller = <&i2s0>; | |
246 | samsung,audio-codec = <&wm8994>; | |
247 | }; | |
ad4aebe1 | 248 | |
13cbd1e3 | 249 | usb@12110000 { |
c58c1a4c | 250 | samsung,vbus-gpio = <&gpx2 6 0>; |
13cbd1e3 VG |
251 | }; |
252 | ||
ad4aebe1 JH |
253 | dp-controller { |
254 | samsung,color-space = <0>; | |
255 | samsung,dynamic-range = <0>; | |
256 | samsung,ycbcr-coeff = <0>; | |
257 | samsung,color-depth = <1>; | |
258 | samsung,link-rate = <0x0a>; | |
259 | samsung,lane-count = <4>; | |
74478338 JH |
260 | |
261 | pinctrl-names = "default"; | |
262 | pinctrl-0 = <&dp_hpd>; | |
ad4aebe1 | 263 | }; |
8b6076d4 | 264 | |
06c460b7 LKA |
265 | display-timings { |
266 | native-mode = <&timing0>; | |
267 | timing0: timing@0 { | |
268 | /* 1280x800 */ | |
269 | clock-frequency = <50000>; | |
270 | hactive = <1280>; | |
271 | vactive = <800>; | |
272 | hfront-porch = <4>; | |
273 | hback-porch = <4>; | |
274 | hsync-len = <4>; | |
275 | vback-porch = <4>; | |
276 | vfront-porch = <4>; | |
277 | vsync-len = <4>; | |
278 | }; | |
279 | }; | |
280 | ||
8b6076d4 TA |
281 | fixed-rate-clocks { |
282 | xxti { | |
283 | compatible = "samsung,clock-xxti"; | |
284 | clock-frequency = <24000000>; | |
285 | }; | |
286 | }; | |
b074abb7 | 287 | }; |