]>
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/; | |
3799279f | 18 | #include "exynos4210.dtsi" |
0561ceab TA |
19 | |
20 | / { | |
21 | model = "Samsung smdkv310 evaluation board based on Exynos4210"; | |
8bdb31b4 | 22 | compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4"; |
0561ceab TA |
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"; |
62d38099 | 30 | stdout-path = &serial_1; |
0561ceab TA |
31 | }; |
32 | ||
33 | sdhci@12530000 { | |
045c8f63 TA |
34 | bus-width = <4>; |
35 | pinctrl-names = "default"; | |
36 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
c9e23f00 | 37 | status = "okay"; |
0561ceab TA |
38 | }; |
39 | ||
fa79d022 SK |
40 | g2d@12800000 { |
41 | status = "okay"; | |
42 | }; | |
43 | ||
38640d41 SK |
44 | codec@13400000 { |
45 | samsung,mfc-r = <0x43000000 0x800000>; | |
46 | samsung,mfc-l = <0x51000000 0x800000>; | |
47 | status = "okay"; | |
48 | }; | |
49 | ||
70191db9 TF |
50 | serial@13800000 { |
51 | status = "okay"; | |
52 | }; | |
53 | ||
54 | serial@13810000 { | |
55 | status = "okay"; | |
56 | }; | |
57 | ||
58 | serial@13820000 { | |
59 | status = "okay"; | |
60 | }; | |
61 | ||
62 | serial@13830000 { | |
63 | status = "okay"; | |
64 | }; | |
65 | ||
045c8f63 TA |
66 | pinctrl@11000000 { |
67 | keypad_rows: keypad-rows { | |
68 | samsung,pins = "gpx2-0", "gpx2-1"; | |
69 | samsung,pin-function = <3>; | |
70 | samsung,pin-pud = <3>; | |
71 | samsung,pin-drv = <0>; | |
72 | }; | |
73 | ||
74 | keypad_cols: keypad-cols { | |
75 | samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3", | |
76 | "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7"; | |
77 | samsung,pin-function = <3>; | |
78 | samsung,pin-pud = <0>; | |
79 | samsung,pin-drv = <0>; | |
80 | }; | |
81 | }; | |
82 | ||
0561ceab TA |
83 | keypad@100A0000 { |
84 | samsung,keypad-num-rows = <2>; | |
85 | samsung,keypad-num-columns = <8>; | |
86 | linux,keypad-no-autorepeat; | |
87 | linux,keypad-wakeup; | |
045c8f63 TA |
88 | pinctrl-names = "default"; |
89 | pinctrl-0 = <&keypad_rows &keypad_cols>; | |
c9e23f00 | 90 | status = "okay"; |
0561ceab | 91 | |
0561ceab TA |
92 | key_1 { |
93 | keypad,row = <0>; | |
94 | keypad,column = <3>; | |
95 | linux,code = <2>; | |
96 | }; | |
97 | ||
98 | key_2 { | |
99 | keypad,row = <0>; | |
100 | keypad,column = <4>; | |
101 | linux,code = <3>; | |
102 | }; | |
103 | ||
104 | key_3 { | |
105 | keypad,row = <0>; | |
106 | keypad,column = <5>; | |
107 | linux,code = <4>; | |
108 | }; | |
109 | ||
110 | key_4 { | |
111 | keypad,row = <0>; | |
112 | keypad,column = <6>; | |
113 | linux,code = <5>; | |
114 | }; | |
115 | ||
116 | key_5 { | |
117 | keypad,row = <0>; | |
118 | keypad,column = <7>; | |
119 | linux,code = <6>; | |
120 | }; | |
121 | ||
122 | key_a { | |
123 | keypad,row = <1>; | |
124 | keypad,column = <3>; | |
125 | linux,code = <30>; | |
126 | }; | |
127 | ||
128 | key_b { | |
129 | keypad,row = <1>; | |
130 | keypad,column = <4>; | |
131 | linux,code = <48>; | |
132 | }; | |
133 | ||
134 | key_c { | |
135 | keypad,row = <1>; | |
136 | keypad,column = <5>; | |
137 | linux,code = <46>; | |
138 | }; | |
139 | ||
140 | key_d { | |
141 | keypad,row = <1>; | |
142 | keypad,column = <6>; | |
143 | linux,code = <32>; | |
144 | }; | |
145 | ||
146 | key_e { | |
147 | keypad,row = <1>; | |
148 | keypad,column = <7>; | |
149 | linux,code = <18>; | |
150 | }; | |
151 | }; | |
152 | ||
153 | i2c@13860000 { | |
154 | #address-cells = <1>; | |
155 | #size-cells = <0>; | |
156 | samsung,i2c-sda-delay = <100>; | |
045c8f63 | 157 | samsung,i2c-max-bus-freq = <100000>; |
c9e23f00 | 158 | status = "okay"; |
0561ceab TA |
159 | |
160 | eeprom@50 { | |
161 | compatible = "samsung,24ad0xd1"; | |
162 | reg = <0x50>; | |
163 | }; | |
164 | ||
165 | eeprom@52 { | |
166 | compatible = "samsung,24ad0xd1"; | |
167 | reg = <0x52>; | |
168 | }; | |
169 | }; | |
170 | ||
4980c39b | 171 | spi_2: spi@13940000 { |
e138d433 | 172 | cs-gpios = <&gpc1 2 0>; |
c9e23f00 | 173 | status = "okay"; |
4980c39b TA |
174 | |
175 | w25x80@0 { | |
176 | #address-cells = <1>; | |
177 | #size-cells = <1>; | |
178 | compatible = "w25x80"; | |
179 | reg = <0>; | |
180 | spi-max-frequency = <1000000>; | |
181 | ||
182 | controller-data { | |
4980c39b TA |
183 | samsung,spi-feedback-delay = <0>; |
184 | }; | |
185 | ||
186 | partition@0 { | |
187 | label = "U-Boot"; | |
188 | reg = <0x0 0x40000>; | |
189 | read-only; | |
190 | }; | |
191 | ||
192 | partition@40000 { | |
193 | label = "Kernel"; | |
194 | reg = <0x40000 0xc0000>; | |
195 | }; | |
196 | }; | |
197 | }; | |
8b6076d4 TA |
198 | |
199 | fixed-rate-clocks { | |
200 | xxti { | |
201 | compatible = "samsung,clock-xxti"; | |
202 | clock-frequency = <12000000>; | |
203 | }; | |
204 | ||
205 | xusbxti { | |
206 | compatible = "samsung,clock-xusbxti"; | |
207 | clock-frequency = <24000000>; | |
208 | }; | |
209 | }; | |
0561ceab | 210 | }; |