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/; | |
13 | /include/ "exynos5250.dtsi" | |
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 | ||
40 | i2c@12C70000 { | |
41 | samsung,i2c-sda-delay = <100>; | |
42 | samsung,i2c-max-bus-freq = <20000>; | |
009f7c9f TA |
43 | |
44 | eeprom@51 { | |
45 | compatible = "samsung,s524ad0xd1"; | |
46 | reg = <0x51>; | |
47 | }; | |
28a48058 PV |
48 | |
49 | wm8994: wm8994@1a { | |
50 | compatible = "wlf,wm8994"; | |
51 | reg = <0x1a>; | |
52 | }; | |
009f7c9f TA |
53 | }; |
54 | ||
c47d244a VA |
55 | i2c@121D0000 { |
56 | samsung,i2c-sda-delay = <100>; | |
57 | samsung,i2c-max-bus-freq = <40000>; | |
58 | samsung,i2c-slave-addr = <0x38>; | |
59 | ||
60 | sata-phy { | |
61 | compatible = "samsung,sata-phy"; | |
62 | reg = <0x38>; | |
63 | }; | |
64 | }; | |
65 | ||
66 | sata@122F0000 { | |
67 | samsung,sata-freq = <66>; | |
68 | }; | |
69 | ||
009f7c9f | 70 | i2c@12C80000 { |
62a1f83f RS |
71 | samsung,i2c-sda-delay = <100>; |
72 | samsung,i2c-max-bus-freq = <66000>; | |
62a1f83f RS |
73 | |
74 | hdmiddc@50 { | |
75 | compatible = "samsung,exynos5-hdmiddc"; | |
76 | reg = <0x50>; | |
77 | }; | |
009f7c9f TA |
78 | }; |
79 | ||
80 | i2c@12C90000 { | |
81 | status = "disabled"; | |
82 | }; | |
83 | ||
84 | i2c@12CA0000 { | |
85 | status = "disabled"; | |
86 | }; | |
87 | ||
88 | i2c@12CB0000 { | |
89 | status = "disabled"; | |
90 | }; | |
91 | ||
92 | i2c@12CC0000 { | |
93 | status = "disabled"; | |
94 | }; | |
95 | ||
96 | i2c@12CD0000 { | |
97 | status = "disabled"; | |
98 | }; | |
79989ba3 | 99 | |
3e3e9ce4 RS |
100 | i2c@12CE0000 { |
101 | samsung,i2c-sda-delay = <100>; | |
102 | samsung,i2c-max-bus-freq = <66000>; | |
103 | ||
104 | hdmiphy@38 { | |
105 | compatible = "samsung,exynos5-hdmiphy"; | |
106 | reg = <0x38>; | |
107 | }; | |
108 | }; | |
109 | ||
de0f42be | 110 | dwmmc0@12200000 { |
84bd48a0 TA |
111 | num-slots = <1>; |
112 | supports-highspeed; | |
113 | broken-cd; | |
114 | fifo-depth = <0x80>; | |
115 | card-detect-delay = <200>; | |
116 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
117 | samsung,dw-mshc-sdr-timing = <2 3>; |
118 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
119 | pinctrl-names = "default"; |
120 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
84bd48a0 TA |
121 | |
122 | slot@0 { | |
123 | reg = <0>; | |
124 | bus-width = <8>; | |
84bd48a0 TA |
125 | }; |
126 | }; | |
127 | ||
de0f42be | 128 | dwmmc1@12210000 { |
84bd48a0 TA |
129 | status = "disabled"; |
130 | }; | |
131 | ||
de0f42be | 132 | dwmmc2@12220000 { |
84bd48a0 TA |
133 | num-slots = <1>; |
134 | supports-highspeed; | |
135 | fifo-depth = <0x80>; | |
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 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
84bd48a0 TA |
142 | |
143 | slot@0 { | |
144 | reg = <0>; | |
145 | bus-width = <4>; | |
488755b5 | 146 | disable-wp; |
84bd48a0 TA |
147 | }; |
148 | }; | |
149 | ||
de0f42be | 150 | dwmmc3@12230000 { |
84bd48a0 TA |
151 | status = "disabled"; |
152 | }; | |
153 | ||
79989ba3 TA |
154 | spi_0: spi@12d20000 { |
155 | status = "disabled"; | |
156 | }; | |
157 | ||
158 | spi_1: spi@12d30000 { | |
79989ba3 TA |
159 | w25q80bw@0 { |
160 | #address-cells = <1>; | |
161 | #size-cells = <1>; | |
162 | compatible = "w25x80"; | |
163 | reg = <0>; | |
164 | spi-max-frequency = <1000000>; | |
165 | ||
166 | controller-data { | |
f8bfe2b0 | 167 | cs-gpio = <&gpa2 5 0>; |
79989ba3 TA |
168 | samsung,spi-feedback-delay = <0>; |
169 | }; | |
170 | ||
171 | partition@0 { | |
172 | label = "U-Boot"; | |
173 | reg = <0x0 0x40000>; | |
174 | read-only; | |
175 | }; | |
176 | ||
177 | partition@40000 { | |
178 | label = "Kernel"; | |
179 | reg = <0x40000 0xc0000>; | |
180 | }; | |
181 | }; | |
182 | }; | |
183 | ||
184 | spi_2: spi@12d40000 { | |
185 | status = "disabled"; | |
186 | }; | |
566cf8ee RS |
187 | |
188 | hdmi { | |
f8bfe2b0 | 189 | hpd-gpio = <&gpx3 7 0>; |
566cf8ee | 190 | }; |
24025f6f | 191 | |
2eae613b AK |
192 | codec@11000000 { |
193 | samsung,mfc-r = <0x43000000 0x800000>; | |
194 | samsung,mfc-l = <0x51000000 0x800000>; | |
195 | }; | |
4c4c7463 | 196 | |
28a48058 | 197 | i2s0: i2s@03830000 { |
f8bfe2b0 | 198 | status = "okay"; |
4c4c7463 PV |
199 | }; |
200 | ||
28a48058 | 201 | i2s1: i2s@12D60000 { |
4c4c7463 PV |
202 | status = "disabled"; |
203 | }; | |
204 | ||
28a48058 | 205 | i2s2: i2s@12D70000 { |
4c4c7463 PV |
206 | status = "disabled"; |
207 | }; | |
28a48058 PV |
208 | |
209 | sound { | |
210 | compatible = "samsung,smdk-wm8994"; | |
211 | ||
212 | samsung,i2s-controller = <&i2s0>; | |
213 | samsung,audio-codec = <&wm8994>; | |
214 | }; | |
ad4aebe1 | 215 | |
13cbd1e3 VG |
216 | usb@12110000 { |
217 | samsung,vbus-gpio = <&gpx2 6 1 3 3>; | |
218 | }; | |
219 | ||
ad4aebe1 JH |
220 | dp-controller { |
221 | samsung,color-space = <0>; | |
222 | samsung,dynamic-range = <0>; | |
223 | samsung,ycbcr-coeff = <0>; | |
224 | samsung,color-depth = <1>; | |
225 | samsung,link-rate = <0x0a>; | |
226 | samsung,lane-count = <4>; | |
227 | }; | |
8b6076d4 TA |
228 | |
229 | fixed-rate-clocks { | |
230 | xxti { | |
231 | compatible = "samsung,clock-xxti"; | |
232 | clock-frequency = <24000000>; | |
233 | }; | |
234 | }; | |
b074abb7 | 235 | }; |