blob: 63610c3ba3afbeffbeee894d2ea75e3b8ed24709 [file] [log] [blame]
Thomas Abraham0561cea2011-11-02 19:31:15 +09001/*
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 {
Kukjin Kim3c817102012-09-21 11:04:20 +090029 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
Thomas Abraham0561cea2011-11-02 19:31:15 +090030 };
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>;
Tomasz Figac9e23f02012-09-21 10:13:31 +090043 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090044 };
45
46 keypad@100A0000 {
47 samsung,keypad-num-rows = <2>;
48 samsung,keypad-num-columns = <8>;
49 linux,keypad-no-autorepeat;
50 linux,keypad-wakeup;
Tomasz Figac9e23f02012-09-21 10:13:31 +090051 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +090052
53 row-gpios = <&gpx2 0 3 3 0>,
54 <&gpx2 1 3 3 0>;
55
56 col-gpios = <&gpx1 0 3 0 0>,
57 <&gpx1 1 3 0 0>,
58 <&gpx1 2 3 0 0>,
59 <&gpx1 3 3 0 0>,
60 <&gpx1 4 3 0 0>,
61 <&gpx1 5 3 0 0>,
62 <&gpx1 6 3 0 0>,
63 <&gpx1 7 3 0 0>;
64
65 key_1 {
66 keypad,row = <0>;
67 keypad,column = <3>;
68 linux,code = <2>;
69 };
70
71 key_2 {
72 keypad,row = <0>;
73 keypad,column = <4>;
74 linux,code = <3>;
75 };
76
77 key_3 {
78 keypad,row = <0>;
79 keypad,column = <5>;
80 linux,code = <4>;
81 };
82
83 key_4 {
84 keypad,row = <0>;
85 keypad,column = <6>;
86 linux,code = <5>;
87 };
88
89 key_5 {
90 keypad,row = <0>;
91 keypad,column = <7>;
92 linux,code = <6>;
93 };
94
95 key_a {
96 keypad,row = <1>;
97 keypad,column = <3>;
98 linux,code = <30>;
99 };
100
101 key_b {
102 keypad,row = <1>;
103 keypad,column = <4>;
104 linux,code = <48>;
105 };
106
107 key_c {
108 keypad,row = <1>;
109 keypad,column = <5>;
110 linux,code = <46>;
111 };
112
113 key_d {
114 keypad,row = <1>;
115 keypad,column = <6>;
116 linux,code = <32>;
117 };
118
119 key_e {
120 keypad,row = <1>;
121 keypad,column = <7>;
122 linux,code = <18>;
123 };
124 };
125
126 i2c@13860000 {
127 #address-cells = <1>;
128 #size-cells = <0>;
129 samsung,i2c-sda-delay = <100>;
130 samsung,i2c-max-bus-freq = <20000>;
131 gpios = <&gpd1 0 2 3 0>,
132 <&gpd1 1 2 3 0>;
Tomasz Figac9e23f02012-09-21 10:13:31 +0900133 status = "okay";
Thomas Abraham0561cea2011-11-02 19:31:15 +0900134
135 eeprom@50 {
136 compatible = "samsung,24ad0xd1";
137 reg = <0x50>;
138 };
139
140 eeprom@52 {
141 compatible = "samsung,24ad0xd1";
142 reg = <0x52>;
143 };
144 };
145
Thomas Abraham4980c392012-07-14 10:45:32 +0900146 spi_2: spi@13940000 {
147 gpios = <&gpc1 1 5 3 0>,
148 <&gpc1 3 5 3 0>,
149 <&gpc1 4 5 3 0>;
Tomasz Figac9e23f02012-09-21 10:13:31 +0900150 status = "okay";
Thomas Abraham4980c392012-07-14 10:45:32 +0900151
152 w25x80@0 {
153 #address-cells = <1>;
154 #size-cells = <1>;
155 compatible = "w25x80";
156 reg = <0>;
157 spi-max-frequency = <1000000>;
158
159 controller-data {
160 cs-gpio = <&gpc1 2 1 0 3>;
161 samsung,spi-feedback-delay = <0>;
162 };
163
164 partition@0 {
165 label = "U-Boot";
166 reg = <0x0 0x40000>;
167 read-only;
168 };
169
170 partition@40000 {
171 label = "Kernel";
172 reg = <0x40000 0xc0000>;
173 };
174 };
175 };
Thomas Abraham0561cea2011-11-02 19:31:15 +0900176};