spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / boot / dts / exynos4210-smdkv310.dts
blob27afc8e535ca69618de7a10c9fabb5a35983f2a4
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.
17 /dts-v1/;
18 /include/ "exynos4210.dtsi"
20 / {
21         model = "Samsung smdkv310 evaluation board based on Exynos4210";
22         compatible = "samsung,smdkv310", "samsung,exynos4210";
24         memory {
25                 reg = <0x40000000 0x80000000>;
26         };
28         chosen {
29                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
30         };
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>;
43         };
45         keypad@100A0000 {
46                 samsung,keypad-num-rows = <2>;
47                 samsung,keypad-num-columns = <8>;
48                 linux,keypad-no-autorepeat;
49                 linux,keypad-wakeup;
51                 row-gpios = <&gpx2 0 3 3 0>,
52                             <&gpx2 1 3 3 0>;
54                 col-gpios = <&gpx1 0 3 0 0>,
55                             <&gpx1 1 3 0 0>,
56                             <&gpx1 2 3 0 0>,
57                             <&gpx1 3 3 0 0>,
58                             <&gpx1 4 3 0 0>,
59                             <&gpx1 5 3 0 0>,
60                             <&gpx1 6 3 0 0>,
61                             <&gpx1 7 3 0 0>;
63                 key_1 {
64                         keypad,row = <0>;
65                         keypad,column = <3>;
66                         linux,code = <2>;
67                 };
69                 key_2 {
70                         keypad,row = <0>;
71                         keypad,column = <4>;
72                         linux,code = <3>;
73                 };
75                 key_3 {
76                         keypad,row = <0>;
77                         keypad,column = <5>;
78                         linux,code = <4>;
79                 };
81                 key_4 {
82                         keypad,row = <0>;
83                         keypad,column = <6>;
84                         linux,code = <5>;
85                 };
87                 key_5 {
88                         keypad,row = <0>;
89                         keypad,column = <7>;
90                         linux,code = <6>;
91                 };
93                 key_a {
94                         keypad,row = <1>;
95                         keypad,column = <3>;
96                         linux,code = <30>;
97                 };
99                 key_b {
100                         keypad,row = <1>;
101                         keypad,column = <4>;
102                         linux,code = <48>;
103                 };
105                 key_c {
106                         keypad,row = <1>;
107                         keypad,column = <5>;
108                         linux,code = <46>;
109                 };
111                 key_d {
112                         keypad,row = <1>;
113                         keypad,column = <6>;
114                         linux,code = <32>;
115                 };
117                 key_e {
118                         keypad,row = <1>;
119                         keypad,column = <7>;
120                         linux,code = <18>;
121                 };
122         };
124         i2c@13860000 {
125                 #address-cells = <1>;
126                 #size-cells = <0>;
127                 samsung,i2c-sda-delay = <100>;
128                 samsung,i2c-max-bus-freq = <20000>;
129                 gpios = <&gpd1 0 2 3 0>,
130                         <&gpd1 1 2 3 0>;
132                 eeprom@50 {
133                         compatible = "samsung,24ad0xd1";
134                         reg = <0x50>;
135                 };
137                 eeprom@52 {
138                         compatible = "samsung,24ad0xd1";
139                         reg = <0x52>;
140                 };
141         };
143         sdhci@12510000 {
144                 status = "disabled";
145         };
147         sdhci@12520000 {
148                 status = "disabled";
149         };
151         sdhci@12540000 {
152                 status = "disabled";
153         };
155         i2c@13870000 {
156                 status = "disabled";
157         };
159         i2c@13880000 {
160                 status = "disabled";
161         };
163         i2c@13890000 {
164                 status = "disabled";
165         };
167         i2c@138A0000 {
168                 status = "disabled";
169         };
171         i2c@138B0000 {
172                 status = "disabled";
173         };
175         i2c@138C0000 {
176                 status = "disabled";
177         };
179         i2c@138D0000 {
180                 status = "disabled";
181         };