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 TA |
19 | aliases { |
20 | mshc0 = &dwmmc_0; | |
21 | mshc1 = &dwmmc_1; | |
22 | mshc2 = &dwmmc_2; | |
23 | mshc3 = &dwmmc_3; | |
24 | }; | |
25 | ||
b074abb7 KK |
26 | memory { |
27 | reg = <0x40000000 0x80000000>; | |
28 | }; | |
29 | ||
30 | chosen { | |
3c817102 | 31 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
b074abb7 | 32 | }; |
009f7c9f TA |
33 | |
34 | i2c@12C60000 { | |
35 | samsung,i2c-sda-delay = <100>; | |
36 | samsung,i2c-max-bus-freq = <20000>; | |
37 | gpios = <&gpb3 0 2 3 0>, | |
38 | <&gpb3 1 2 3 0>; | |
39 | ||
40 | eeprom@50 { | |
41 | compatible = "samsung,s524ad0xd1"; | |
42 | reg = <0x50>; | |
43 | }; | |
44 | }; | |
45 | ||
46 | i2c@12C70000 { | |
47 | samsung,i2c-sda-delay = <100>; | |
48 | samsung,i2c-max-bus-freq = <20000>; | |
49 | gpios = <&gpb3 2 2 3 0>, | |
50 | <&gpb3 3 2 3 0>; | |
51 | ||
52 | eeprom@51 { | |
53 | compatible = "samsung,s524ad0xd1"; | |
54 | reg = <0x51>; | |
55 | }; | |
56 | }; | |
57 | ||
58 | i2c@12C80000 { | |
59 | status = "disabled"; | |
60 | }; | |
61 | ||
62 | i2c@12C90000 { | |
63 | status = "disabled"; | |
64 | }; | |
65 | ||
66 | i2c@12CA0000 { | |
67 | status = "disabled"; | |
68 | }; | |
69 | ||
70 | i2c@12CB0000 { | |
71 | status = "disabled"; | |
72 | }; | |
73 | ||
74 | i2c@12CC0000 { | |
75 | status = "disabled"; | |
76 | }; | |
77 | ||
78 | i2c@12CD0000 { | |
79 | status = "disabled"; | |
80 | }; | |
79989ba3 | 81 | |
3e3e9ce4 RS |
82 | i2c@12CE0000 { |
83 | samsung,i2c-sda-delay = <100>; | |
84 | samsung,i2c-max-bus-freq = <66000>; | |
85 | ||
86 | hdmiphy@38 { | |
87 | compatible = "samsung,exynos5-hdmiphy"; | |
88 | reg = <0x38>; | |
89 | }; | |
90 | }; | |
91 | ||
84bd48a0 TA |
92 | dwmmc_0: dwmmc0@12200000 { |
93 | num-slots = <1>; | |
94 | supports-highspeed; | |
95 | broken-cd; | |
96 | fifo-depth = <0x80>; | |
97 | card-detect-delay = <200>; | |
98 | samsung,dw-mshc-ciu-div = <3>; | |
99 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
100 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
101 | ||
102 | slot@0 { | |
103 | reg = <0>; | |
104 | bus-width = <8>; | |
105 | gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, | |
106 | <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, | |
107 | <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, | |
108 | <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, | |
109 | <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; | |
110 | }; | |
111 | }; | |
112 | ||
113 | dwmmc_1: dwmmc1@12210000 { | |
114 | status = "disabled"; | |
115 | }; | |
116 | ||
117 | dwmmc_2: dwmmc2@12220000 { | |
118 | num-slots = <1>; | |
119 | supports-highspeed; | |
120 | fifo-depth = <0x80>; | |
121 | card-detect-delay = <200>; | |
122 | samsung,dw-mshc-ciu-div = <3>; | |
123 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
124 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
125 | ||
126 | slot@0 { | |
127 | reg = <0>; | |
128 | bus-width = <4>; | |
129 | samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>; | |
130 | gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>, | |
131 | <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>, | |
132 | <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>, | |
133 | <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>, | |
134 | <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>; | |
135 | }; | |
136 | }; | |
137 | ||
138 | dwmmc_3: dwmmc3@12230000 { | |
139 | status = "disabled"; | |
140 | }; | |
141 | ||
79989ba3 TA |
142 | spi_0: spi@12d20000 { |
143 | status = "disabled"; | |
144 | }; | |
145 | ||
146 | spi_1: spi@12d30000 { | |
147 | gpios = <&gpa2 4 2 3 0>, | |
148 | <&gpa2 6 2 3 0>, | |
149 | <&gpa2 7 2 3 0>; | |
150 | ||
151 | w25q80bw@0 { | |
152 | #address-cells = <1>; | |
153 | #size-cells = <1>; | |
154 | compatible = "w25x80"; | |
155 | reg = <0>; | |
156 | spi-max-frequency = <1000000>; | |
157 | ||
158 | controller-data { | |
159 | cs-gpio = <&gpa2 5 1 0 3>; | |
160 | samsung,spi-feedback-delay = <0>; | |
161 | }; | |
162 | ||
163 | partition@0 { | |
164 | label = "U-Boot"; | |
165 | reg = <0x0 0x40000>; | |
166 | read-only; | |
167 | }; | |
168 | ||
169 | partition@40000 { | |
170 | label = "Kernel"; | |
171 | reg = <0x40000 0xc0000>; | |
172 | }; | |
173 | }; | |
174 | }; | |
175 | ||
176 | spi_2: spi@12d40000 { | |
177 | status = "disabled"; | |
178 | }; | |
566cf8ee RS |
179 | |
180 | hdmi { | |
181 | hpd-gpio = <&gpx3 7 0xf 1 3>; | |
182 | }; | |
b074abb7 | 183 | }; |