Merge remote-tracking branches 'regulator/topic/discharge', 'regulator/topic/fan53555...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos4412-smdk4412.dts
1 /*
2  * Samsung's Exynos4412 based SMDK board device tree source
3  *
4  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * Device tree source file for Samsung's SMDK4412 board which is based on
8  * Samsung's Exynos4412 SoC.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13 */
14
15 /dts-v1/;
16 #include "exynos4412.dtsi"
17
18 / {
19         model = "Samsung SMDK evaluation board based on Exynos4412";
20         compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4";
21
22         memory {
23                 reg = <0x40000000 0x40000000>;
24         };
25
26         chosen {
27                 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
28                 stdout-path = &serial_1;
29         };
30
31         fixed-rate-clocks {
32                 xxti {
33                         compatible = "samsung,clock-xxti";
34                         clock-frequency = <0>;
35                 };
36
37                 xusbxti {
38                         compatible = "samsung,clock-xusbxti";
39                         clock-frequency = <24000000>;
40                 };
41         };
42 };
43
44 &keypad {
45         samsung,keypad-num-rows = <3>;
46         samsung,keypad-num-columns = <8>;
47         linux,keypad-no-autorepeat;
48         linux,keypad-wakeup;
49         pinctrl-0 = <&keypad_rows &keypad_cols>;
50         pinctrl-names = "default";
51         status = "okay";
52
53         key_1 {
54                 keypad,row = <1>;
55                 keypad,column = <3>;
56                 linux,code = <2>;
57         };
58
59         key_2 {
60                 keypad,row = <1>;
61                 keypad,column = <4>;
62                 linux,code = <3>;
63         };
64
65         key_3 {
66                 keypad,row = <1>;
67                 keypad,column = <5>;
68                 linux,code = <4>;
69         };
70
71         key_4 {
72                 keypad,row = <1>;
73                 keypad,column = <6>;
74                 linux,code = <5>;
75         };
76
77         key_5 {
78                 keypad,row = <1>;
79                 keypad,column = <7>;
80                 linux,code = <6>;
81         };
82
83         key_A {
84                 keypad,row = <2>;
85                 keypad,column = <6>;
86                 linux,code = <30>;
87         };
88
89         key_B {
90                 keypad,row = <2>;
91                 keypad,column = <7>;
92                 linux,code = <48>;
93         };
94
95         key_C {
96                 keypad,row = <0>;
97                 keypad,column = <5>;
98                 linux,code = <46>;
99         };
100
101         key_D {
102                 keypad,row = <2>;
103                 keypad,column = <5>;
104                 linux,code = <32>;
105         };
106
107         key_E {
108                 keypad,row = <0>;
109                 keypad,column = <7>;
110                 linux,code = <18>;
111         };
112 };
113
114 &mfc {
115         samsung,mfc-r = <0x43000000 0x800000>;
116         samsung,mfc-l = <0x51000000 0x800000>;
117         status = "okay";
118 };
119
120 &pinctrl_1 {
121         keypad_rows: keypad-rows {
122                 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
123                 samsung,pin-function = <3>;
124                 samsung,pin-pud = <3>;
125                 samsung,pin-drv = <0>;
126         };
127
128         keypad_cols: keypad-cols {
129                 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
130                                "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
131                 samsung,pin-function = <3>;
132                 samsung,pin-pud = <0>;
133                 samsung,pin-drv = <0>;
134         };
135 };
136
137 &sdhci_2 {
138         bus-width = <4>;
139         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
140         pinctrl-names = "default";
141         status = "okay";
142 };
143
144 &serial_0 {
145         status = "okay";
146 };
147
148 &serial_1 {
149         status = "okay";
150 };
151
152 &serial_2 {
153         status = "okay";
154 };
155
156 &serial_3 {
157         status = "okay";
158 };