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