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 | |
84bd48a0 TA |
82 | dwmmc_0: dwmmc0@12200000 { |
83 | num-slots = <1>; | |
84 | supports-highspeed; | |
85 | broken-cd; | |
86 | fifo-depth = <0x80>; | |
87 | card-detect-delay = <200>; | |
88 | samsung,dw-mshc-ciu-div = <3>; | |
89 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
90 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
91 | ||
92 | slot@0 { | |
93 | reg = <0>; | |
94 | bus-width = <8>; | |
95 | gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, | |
96 | <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, | |
97 | <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, | |
98 | <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, | |
99 | <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; | |
100 | }; | |
101 | }; | |
102 | ||
103 | dwmmc_1: dwmmc1@12210000 { | |
104 | status = "disabled"; | |
105 | }; | |
106 | ||
107 | dwmmc_2: dwmmc2@12220000 { | |
108 | num-slots = <1>; | |
109 | supports-highspeed; | |
110 | fifo-depth = <0x80>; | |
111 | card-detect-delay = <200>; | |
112 | samsung,dw-mshc-ciu-div = <3>; | |
113 | samsung,dw-mshc-sdr-timing = <2 3 3>; | |
114 | samsung,dw-mshc-ddr-timing = <1 2 3>; | |
115 | ||
116 | slot@0 { | |
117 | reg = <0>; | |
118 | bus-width = <4>; | |
119 | samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>; | |
120 | gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>, | |
121 | <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>, | |
122 | <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>, | |
123 | <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>, | |
124 | <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>; | |
125 | }; | |
126 | }; | |
127 | ||
128 | dwmmc_3: dwmmc3@12230000 { | |
129 | status = "disabled"; | |
130 | }; | |
131 | ||
79989ba3 TA |
132 | spi_0: spi@12d20000 { |
133 | status = "disabled"; | |
134 | }; | |
135 | ||
136 | spi_1: spi@12d30000 { | |
137 | gpios = <&gpa2 4 2 3 0>, | |
138 | <&gpa2 6 2 3 0>, | |
139 | <&gpa2 7 2 3 0>; | |
140 | ||
141 | w25q80bw@0 { | |
142 | #address-cells = <1>; | |
143 | #size-cells = <1>; | |
144 | compatible = "w25x80"; | |
145 | reg = <0>; | |
146 | spi-max-frequency = <1000000>; | |
147 | ||
148 | controller-data { | |
149 | cs-gpio = <&gpa2 5 1 0 3>; | |
150 | samsung,spi-feedback-delay = <0>; | |
151 | }; | |
152 | ||
153 | partition@0 { | |
154 | label = "U-Boot"; | |
155 | reg = <0x0 0x40000>; | |
156 | read-only; | |
157 | }; | |
158 | ||
159 | partition@40000 { | |
160 | label = "Kernel"; | |
161 | reg = <0x40000 0xc0000>; | |
162 | }; | |
163 | }; | |
164 | }; | |
165 | ||
166 | spi_2: spi@12d40000 { | |
167 | status = "disabled"; | |
168 | }; | |
b074abb7 | 169 | }; |