Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / arch / arm / boot / dts / exynos4210-smdkv310.dts
CommitLineData
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"
39c1c413 19#include <dt-bindings/gpio/gpio.h>
0561ceab
TA
20
21/ {
22 model = "Samsung smdkv310 evaluation board based on Exynos4210";
8bdb31b4 23 compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
0561ceab
TA
24
25 memory {
26 reg = <0x40000000 0x80000000>;
27 };
28
29 chosen {
3c2bbf51 30 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
62d38099 31 stdout-path = &serial_1;
0561ceab
TA
32 };
33
bad0b9c9
KK
34 fixed-rate-clocks {
35 xxti {
36 compatible = "samsung,clock-xxti";
37 clock-frequency = <12000000>;
38 };
0561ceab 39
bad0b9c9
KK
40 xusbxti {
41 compatible = "samsung,clock-xusbxti";
42 clock-frequency = <24000000>;
43 };
fa79d022 44 };
bad0b9c9 45};
fa79d022 46
bad0b9c9
KK
47&g2d {
48 status = "okay";
49};
38640d41 50
bad0b9c9
KK
51&i2c_0 {
52 #address-cells = <1>;
53 #size-cells = <0>;
54 samsung,i2c-sda-delay = <100>;
55 samsung,i2c-max-bus-freq = <100000>;
56 status = "okay";
70191db9 57
bad0b9c9
KK
58 eeprom@50 {
59 compatible = "samsung,24ad0xd1";
60 reg = <0x50>;
70191db9
TF
61 };
62
bad0b9c9
KK
63 eeprom@52 {
64 compatible = "samsung,24ad0xd1";
65 reg = <0x52>;
70191db9 66 };
bad0b9c9 67};
70191db9 68
bad0b9c9
KK
69&keypad {
70 samsung,keypad-num-rows = <2>;
71 samsung,keypad-num-columns = <8>;
72 linux,keypad-no-autorepeat;
73 linux,keypad-wakeup;
74 pinctrl-names = "default";
75 pinctrl-0 = <&keypad_rows &keypad_cols>;
76 status = "okay";
77
78 key_1 {
79 keypad,row = <0>;
80 keypad,column = <3>;
81 linux,code = <2>;
70191db9
TF
82 };
83
bad0b9c9
KK
84 key_2 {
85 keypad,row = <0>;
86 keypad,column = <4>;
87 linux,code = <3>;
045c8f63
TA
88 };
89
bad0b9c9
KK
90 key_3 {
91 keypad,row = <0>;
92 keypad,column = <5>;
93 linux,code = <4>;
94 };
0561ceab 95
bad0b9c9
KK
96 key_4 {
97 keypad,row = <0>;
98 keypad,column = <6>;
99 linux,code = <5>;
100 };
0561ceab 101
bad0b9c9
KK
102 key_5 {
103 keypad,row = <0>;
104 keypad,column = <7>;
105 linux,code = <6>;
106 };
0561ceab 107
bad0b9c9
KK
108 key_a {
109 keypad,row = <1>;
110 keypad,column = <3>;
111 linux,code = <30>;
112 };
0561ceab 113
bad0b9c9
KK
114 key_b {
115 keypad,row = <1>;
116 keypad,column = <4>;
117 linux,code = <48>;
118 };
0561ceab 119
bad0b9c9
KK
120 key_c {
121 keypad,row = <1>;
122 keypad,column = <5>;
123 linux,code = <46>;
124 };
0561ceab 125
bad0b9c9
KK
126 key_d {
127 keypad,row = <1>;
128 keypad,column = <6>;
129 linux,code = <32>;
130 };
0561ceab 131
bad0b9c9
KK
132 key_e {
133 keypad,row = <1>;
134 keypad,column = <7>;
135 linux,code = <18>;
136 };
137};
0561ceab 138
bad0b9c9
KK
139&mfc {
140 samsung,mfc-r = <0x43000000 0x800000>;
141 samsung,mfc-l = <0x51000000 0x800000>;
142 status = "okay";
143};
0561ceab 144
bad0b9c9
KK
145&pinctrl_1 {
146 keypad_rows: keypad-rows {
147 samsung,pins = "gpx2-0", "gpx2-1";
148 samsung,pin-function = <3>;
149 samsung,pin-pud = <3>;
150 samsung,pin-drv = <0>;
151 };
0561ceab 152
bad0b9c9
KK
153 keypad_cols: keypad-cols {
154 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
155 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
156 samsung,pin-function = <3>;
157 samsung,pin-pud = <0>;
158 samsung,pin-drv = <0>;
0561ceab 159 };
bad0b9c9 160};
0561ceab 161
bad0b9c9
KK
162&sdhci_2 {
163 bus-width = <4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
166 status = "okay";
167};
0561ceab 168
bad0b9c9
KK
169&serial_0 {
170 status = "okay";
171};
0561ceab 172
bad0b9c9
KK
173&serial_1 {
174 status = "okay";
175};
4980c39b 176
bad0b9c9
KK
177&serial_2 {
178 status = "okay";
179};
4980c39b 180
bad0b9c9
KK
181&serial_3 {
182 status = "okay";
183};
4980c39b 184
bad0b9c9 185&spi_2 {
39c1c413 186 cs-gpios = <&gpc1 2 GPIO_ACTIVE_HIGH>;
bad0b9c9 187 status = "okay";
4980c39b 188
bad0b9c9
KK
189 w25x80@0 {
190 #address-cells = <1>;
191 #size-cells = <1>;
192 compatible = "w25x80";
193 reg = <0>;
194 spi-max-frequency = <1000000>;
195
196 controller-data {
197 samsung,spi-feedback-delay = <0>;
4980c39b 198 };
8b6076d4 199
bad0b9c9
KK
200 partition@0 {
201 label = "U-Boot";
202 reg = <0x0 0x40000>;
203 read-only;
8b6076d4
TA
204 };
205
bad0b9c9
KK
206 partition@40000 {
207 label = "Kernel";
208 reg = <0x40000 0xc0000>;
8b6076d4
TA
209 };
210 };
0561ceab 211};
This page took 0.202135 seconds and 5 git commands to generate.