blob: 043b03caff8f19489d8d0f287ef13612f49c41c5 [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/;
Padmavathi Venna37992792013-06-18 00:02:08 +090018#include "exynos4210.dtsi"
Thomas Abraham0561cea2011-11-02 19:31:15 +090019
20/ {
21 model = "Samsung smdkv310 evaluation board based on Exynos4210";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090022 compatible = "samsung,smdkv310", "samsung,exynos4210", "samsung,exynos4";
Thomas Abraham0561cea2011-11-02 19:31:15 +090023
24 memory {
25 reg = <0x40000000 0x80000000>;
26 };
27
28 chosen {
Kukjin Kim3c2bbf52012-11-28 13:25:15 +090029 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
Tomasz Figa62d38092015-01-23 14:47:42 +010030 stdout-path = &serial_1;
Thomas Abraham0561cea2011-11-02 19:31:15 +090031 };
32
Thomas Abraham8b6076d2013-03-09 17:19:22 +090033 fixed-rate-clocks {
34 xxti {
35 compatible = "samsung,clock-xxti";
36 clock-frequency = <12000000>;
37 };
38
39 xusbxti {
40 compatible = "samsung,clock-xusbxti";
41 clock-frequency = <24000000>;
42 };
43 };
Thomas Abraham0561cea2011-11-02 19:31:15 +090044};
Krzysztof Kozlowskibad0b9c2015-04-06 21:01:05 +020045
46&g2d {
47 status = "okay";
48};
49
50&i2c_0 {
51 #address-cells = <1>;
52 #size-cells = <0>;
53 samsung,i2c-sda-delay = <100>;
54 samsung,i2c-max-bus-freq = <100000>;
55 status = "okay";
56
57 eeprom@50 {
58 compatible = "samsung,24ad0xd1";
59 reg = <0x50>;
60 };
61
62 eeprom@52 {
63 compatible = "samsung,24ad0xd1";
64 reg = <0x52>;
65 };
66};
67
68&keypad {
69 samsung,keypad-num-rows = <2>;
70 samsung,keypad-num-columns = <8>;
71 linux,keypad-no-autorepeat;
72 linux,keypad-wakeup;
73 pinctrl-names = "default";
74 pinctrl-0 = <&keypad_rows &keypad_cols>;
75 status = "okay";
76
77 key_1 {
78 keypad,row = <0>;
79 keypad,column = <3>;
80 linux,code = <2>;
81 };
82
83 key_2 {
84 keypad,row = <0>;
85 keypad,column = <4>;
86 linux,code = <3>;
87 };
88
89 key_3 {
90 keypad,row = <0>;
91 keypad,column = <5>;
92 linux,code = <4>;
93 };
94
95 key_4 {
96 keypad,row = <0>;
97 keypad,column = <6>;
98 linux,code = <5>;
99 };
100
101 key_5 {
102 keypad,row = <0>;
103 keypad,column = <7>;
104 linux,code = <6>;
105 };
106
107 key_a {
108 keypad,row = <1>;
109 keypad,column = <3>;
110 linux,code = <30>;
111 };
112
113 key_b {
114 keypad,row = <1>;
115 keypad,column = <4>;
116 linux,code = <48>;
117 };
118
119 key_c {
120 keypad,row = <1>;
121 keypad,column = <5>;
122 linux,code = <46>;
123 };
124
125 key_d {
126 keypad,row = <1>;
127 keypad,column = <6>;
128 linux,code = <32>;
129 };
130
131 key_e {
132 keypad,row = <1>;
133 keypad,column = <7>;
134 linux,code = <18>;
135 };
136};
137
138&mfc {
139 samsung,mfc-r = <0x43000000 0x800000>;
140 samsung,mfc-l = <0x51000000 0x800000>;
141 status = "okay";
142};
143
144&pinctrl_1 {
145 keypad_rows: keypad-rows {
146 samsung,pins = "gpx2-0", "gpx2-1";
147 samsung,pin-function = <3>;
148 samsung,pin-pud = <3>;
149 samsung,pin-drv = <0>;
150 };
151
152 keypad_cols: keypad-cols {
153 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
154 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
155 samsung,pin-function = <3>;
156 samsung,pin-pud = <0>;
157 samsung,pin-drv = <0>;
158 };
159};
160
161&sdhci_2 {
162 bus-width = <4>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
165 status = "okay";
166};
167
168&serial_0 {
169 status = "okay";
170};
171
172&serial_1 {
173 status = "okay";
174};
175
176&serial_2 {
177 status = "okay";
178};
179
180&serial_3 {
181 status = "okay";
182};
183
184&spi_2 {
185 cs-gpios = <&gpc1 2 0>;
186 status = "okay";
187
188 w25x80@0 {
189 #address-cells = <1>;
190 #size-cells = <1>;
191 compatible = "w25x80";
192 reg = <0>;
193 spi-max-frequency = <1000000>;
194
195 controller-data {
196 samsung,spi-feedback-delay = <0>;
197 };
198
199 partition@0 {
200 label = "U-Boot";
201 reg = <0x0 0x40000>;
202 read-only;
203 };
204
205 partition@40000 {
206 label = "Kernel";
207 reg = <0x40000 0xc0000>;
208 };
209 };
210};