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>; | |
33 | gpios = <&gpb3 0 2 3 0>, | |
34 | <&gpb3 1 2 3 0>; | |
35 | ||
36 | eeprom@50 { | |
37 | compatible = "samsung,s524ad0xd1"; | |
38 | reg = <0x50>; | |
39 | }; | |
40 | }; | |
41 | ||
42 | i2c@12C70000 { | |
43 | samsung,i2c-sda-delay = <100>; | |
44 | samsung,i2c-max-bus-freq = <20000>; | |
45 | gpios = <&gpb3 2 2 3 0>, | |
46 | <&gpb3 3 2 3 0>; | |
47 | ||
48 | eeprom@51 { | |
49 | compatible = "samsung,s524ad0xd1"; | |
50 | reg = <0x51>; | |
51 | }; | |
52 | }; | |
53 | ||
c47d244a VA |
54 | i2c@121D0000 { |
55 | samsung,i2c-sda-delay = <100>; | |
56 | samsung,i2c-max-bus-freq = <40000>; | |
57 | samsung,i2c-slave-addr = <0x38>; | |
58 | ||
59 | sata-phy { | |
60 | compatible = "samsung,sata-phy"; | |
61 | reg = <0x38>; | |
62 | }; | |
63 | }; | |
64 | ||
65 | sata@122F0000 { | |
66 | samsung,sata-freq = <66>; | |
67 | }; | |
68 | ||
009f7c9f | 69 | i2c@12C80000 { |
62a1f83f RS |
70 | samsung,i2c-sda-delay = <100>; |
71 | samsung,i2c-max-bus-freq = <66000>; | |
72 | gpios = <&gpa0 6 3 3 0>, | |
73 | <&gpa0 7 3 3 0>; | |
74 | ||
75 | hdmiddc@50 { | |
76 | compatible = "samsung,exynos5-hdmiddc"; | |
77 | reg = <0x50>; | |
78 | }; | |
009f7c9f TA |
79 | }; |
80 | ||
81 | i2c@12C90000 { | |
82 | status = "disabled"; | |
83 | }; | |
84 | ||
85 | i2c@12CA0000 { | |
86 | status = "disabled"; | |
87 | }; | |
88 | ||
89 | i2c@12CB0000 { | |
90 | status = "disabled"; | |
91 | }; | |
92 | ||
93 | i2c@12CC0000 { | |
94 | status = "disabled"; | |
95 | }; | |
96 | ||
97 | i2c@12CD0000 { | |
98 | status = "disabled"; | |
99 | }; | |
79989ba3 | 100 | |
3e3e9ce4 RS |
101 | i2c@12CE0000 { |
102 | samsung,i2c-sda-delay = <100>; | |
103 | samsung,i2c-max-bus-freq = <66000>; | |
104 | ||
105 | hdmiphy@38 { | |
106 | compatible = "samsung,exynos5-hdmiphy"; | |
107 | reg = <0x38>; | |
108 | }; | |
109 | }; | |
110 | ||
de0f42be | 111 | dwmmc0@12200000 { |
84bd48a0 TA |
112 | num-slots = <1>; |
113 | supports-highspeed; | |
114 | broken-cd; | |
115 | fifo-depth = <0x80>; | |
116 | card-detect-delay = <200>; | |
117 | samsung,dw-mshc-ciu-div = <3>; | |
118 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
119 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
120 | ||
121 | slot@0 { | |
122 | reg = <0>; | |
123 | bus-width = <8>; | |
124 | gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, | |
125 | <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, | |
126 | <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, | |
127 | <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, | |
128 | <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; | |
129 | }; | |
130 | }; | |
131 | ||
de0f42be | 132 | dwmmc1@12210000 { |
84bd48a0 TA |
133 | status = "disabled"; |
134 | }; | |
135 | ||
de0f42be | 136 | dwmmc2@12220000 { |
84bd48a0 TA |
137 | num-slots = <1>; |
138 | supports-highspeed; | |
139 | fifo-depth = <0x80>; | |
140 | card-detect-delay = <200>; | |
141 | samsung,dw-mshc-ciu-div = <3>; | |
142 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
143 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
144 | ||
145 | slot@0 { | |
146 | reg = <0>; | |
147 | bus-width = <4>; | |
148 | samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>; | |
149 | gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>, | |
150 | <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>, | |
151 | <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>, | |
152 | <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>, | |
153 | <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>; | |
154 | }; | |
155 | }; | |
156 | ||
de0f42be | 157 | dwmmc3@12230000 { |
84bd48a0 TA |
158 | status = "disabled"; |
159 | }; | |
160 | ||
79989ba3 TA |
161 | spi_0: spi@12d20000 { |
162 | status = "disabled"; | |
163 | }; | |
164 | ||
165 | spi_1: spi@12d30000 { | |
166 | gpios = <&gpa2 4 2 3 0>, | |
167 | <&gpa2 6 2 3 0>, | |
168 | <&gpa2 7 2 3 0>; | |
169 | ||
170 | w25q80bw@0 { | |
171 | #address-cells = <1>; | |
172 | #size-cells = <1>; | |
173 | compatible = "w25x80"; | |
174 | reg = <0>; | |
175 | spi-max-frequency = <1000000>; | |
176 | ||
177 | controller-data { | |
178 | cs-gpio = <&gpa2 5 1 0 3>; | |
179 | samsung,spi-feedback-delay = <0>; | |
180 | }; | |
181 | ||
182 | partition@0 { | |
183 | label = "U-Boot"; | |
184 | reg = <0x0 0x40000>; | |
185 | read-only; | |
186 | }; | |
187 | ||
188 | partition@40000 { | |
189 | label = "Kernel"; | |
190 | reg = <0x40000 0xc0000>; | |
191 | }; | |
192 | }; | |
193 | }; | |
194 | ||
195 | spi_2: spi@12d40000 { | |
196 | status = "disabled"; | |
197 | }; | |
566cf8ee RS |
198 | |
199 | hdmi { | |
200 | hpd-gpio = <&gpx3 7 0xf 1 3>; | |
201 | }; | |
24025f6f | 202 | |
2eae613b AK |
203 | codec@11000000 { |
204 | samsung,mfc-r = <0x43000000 0x800000>; | |
205 | samsung,mfc-l = <0x51000000 0x800000>; | |
206 | }; | |
b074abb7 | 207 | }; |