Commit | Line | Data |
---|---|---|
0561ceab TA |
1 | /* |
2 | * Samsung's Exynos4210 based SMDKV310 board device tree source | |
3 | * | |
4 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * Copyright (c) 2010-2011 Linaro Ltd. | |
7 | * www.linaro.org | |
8 | * | |
9 | * Device tree source file for Samsung's SMDKV310 board which is based on | |
10 | * Samsung's Exynos4210 SoC. | |
11 | * | |
12 | * This program is free software; you can redistribute it and/or modify | |
13 | * it under the terms of the GNU General Public License version 2 as | |
14 | * published by the Free Software Foundation. | |
15 | */ | |
16 | ||
17 | /dts-v1/; | |
18 | /include/ "exynos4210.dtsi" | |
19 | ||
20 | / { | |
21 | model = "Samsung smdkv310 evaluation board based on Exynos4210"; | |
22 | compatible = "samsung,smdkv310", "samsung,exynos4210"; | |
23 | ||
24 | memory { | |
25 | reg = <0x40000000 0x80000000>; | |
26 | }; | |
27 | ||
28 | chosen { | |
3c2bbf51 | 29 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; |
0561ceab TA |
30 | }; |
31 | ||
32 | sdhci@12530000 { | |
33 | samsung,sdhci-bus-width = <4>; | |
34 | linux,mmc_cap_4_bit_data; | |
35 | samsung,sdhci-cd-internal; | |
36 | gpio-cd = <&gpk2 2 2 3 3>; | |
37 | gpios = <&gpk2 0 2 0 3>, | |
38 | <&gpk2 1 2 0 3>, | |
39 | <&gpk2 3 2 3 3>, | |
40 | <&gpk2 4 2 3 3>, | |
41 | <&gpk2 5 2 3 3>, | |
42 | <&gpk2 6 2 3 3>; | |
c9e23f00 | 43 | status = "okay"; |
0561ceab TA |
44 | }; |
45 | ||
70191db9 TF |
46 | serial@13800000 { |
47 | status = "okay"; | |
48 | }; | |
49 | ||
50 | serial@13810000 { | |
51 | status = "okay"; | |
52 | }; | |
53 | ||
54 | serial@13820000 { | |
55 | status = "okay"; | |
56 | }; | |
57 | ||
58 | serial@13830000 { | |
59 | status = "okay"; | |
60 | }; | |
61 | ||
0561ceab TA |
62 | keypad@100A0000 { |
63 | samsung,keypad-num-rows = <2>; | |
64 | samsung,keypad-num-columns = <8>; | |
65 | linux,keypad-no-autorepeat; | |
66 | linux,keypad-wakeup; | |
c9e23f00 | 67 | status = "okay"; |
0561ceab TA |
68 | |
69 | row-gpios = <&gpx2 0 3 3 0>, | |
70 | <&gpx2 1 3 3 0>; | |
71 | ||
72 | col-gpios = <&gpx1 0 3 0 0>, | |
73 | <&gpx1 1 3 0 0>, | |
74 | <&gpx1 2 3 0 0>, | |
75 | <&gpx1 3 3 0 0>, | |
76 | <&gpx1 4 3 0 0>, | |
77 | <&gpx1 5 3 0 0>, | |
78 | <&gpx1 6 3 0 0>, | |
79 | <&gpx1 7 3 0 0>; | |
80 | ||
81 | key_1 { | |
82 | keypad,row = <0>; | |
83 | keypad,column = <3>; | |
84 | linux,code = <2>; | |
85 | }; | |
86 | ||
87 | key_2 { | |
88 | keypad,row = <0>; | |
89 | keypad,column = <4>; | |
90 | linux,code = <3>; | |
91 | }; | |
92 | ||
93 | key_3 { | |
94 | keypad,row = <0>; | |
95 | keypad,column = <5>; | |
96 | linux,code = <4>; | |
97 | }; | |
98 | ||
99 | key_4 { | |
100 | keypad,row = <0>; | |
101 | keypad,column = <6>; | |
102 | linux,code = <5>; | |
103 | }; | |
104 | ||
105 | key_5 { | |
106 | keypad,row = <0>; | |
107 | keypad,column = <7>; | |
108 | linux,code = <6>; | |
109 | }; | |
110 | ||
111 | key_a { | |
112 | keypad,row = <1>; | |
113 | keypad,column = <3>; | |
114 | linux,code = <30>; | |
115 | }; | |
116 | ||
117 | key_b { | |
118 | keypad,row = <1>; | |
119 | keypad,column = <4>; | |
120 | linux,code = <48>; | |
121 | }; | |
122 | ||
123 | key_c { | |
124 | keypad,row = <1>; | |
125 | keypad,column = <5>; | |
126 | linux,code = <46>; | |
127 | }; | |
128 | ||
129 | key_d { | |
130 | keypad,row = <1>; | |
131 | keypad,column = <6>; | |
132 | linux,code = <32>; | |
133 | }; | |
134 | ||
135 | key_e { | |
136 | keypad,row = <1>; | |
137 | keypad,column = <7>; | |
138 | linux,code = <18>; | |
139 | }; | |
140 | }; | |
141 | ||
142 | i2c@13860000 { | |
143 | #address-cells = <1>; | |
144 | #size-cells = <0>; | |
145 | samsung,i2c-sda-delay = <100>; | |
146 | samsung,i2c-max-bus-freq = <20000>; | |
147 | gpios = <&gpd1 0 2 3 0>, | |
148 | <&gpd1 1 2 3 0>; | |
c9e23f00 | 149 | status = "okay"; |
0561ceab TA |
150 | |
151 | eeprom@50 { | |
152 | compatible = "samsung,24ad0xd1"; | |
153 | reg = <0x50>; | |
154 | }; | |
155 | ||
156 | eeprom@52 { | |
157 | compatible = "samsung,24ad0xd1"; | |
158 | reg = <0x52>; | |
159 | }; | |
160 | }; | |
161 | ||
4980c39b TA |
162 | spi_2: spi@13940000 { |
163 | gpios = <&gpc1 1 5 3 0>, | |
164 | <&gpc1 3 5 3 0>, | |
165 | <&gpc1 4 5 3 0>; | |
c9e23f00 | 166 | status = "okay"; |
4980c39b TA |
167 | |
168 | w25x80@0 { | |
169 | #address-cells = <1>; | |
170 | #size-cells = <1>; | |
171 | compatible = "w25x80"; | |
172 | reg = <0>; | |
173 | spi-max-frequency = <1000000>; | |
174 | ||
175 | controller-data { | |
176 | cs-gpio = <&gpc1 2 1 0 3>; | |
177 | samsung,spi-feedback-delay = <0>; | |
178 | }; | |
179 | ||
180 | partition@0 { | |
181 | label = "U-Boot"; | |
182 | reg = <0x0 0x40000>; | |
183 | read-only; | |
184 | }; | |
185 | ||
186 | partition@40000 { | |
187 | label = "Kernel"; | |
188 | reg = <0x40000 0xc0000>; | |
189 | }; | |
190 | }; | |
191 | }; | |
0561ceab | 192 | }; |