Merge tag 'iwlwifi-for-kalle-2015-07-30' of https://git.kernel.org/pub/scm/linux...
[firefly-linux-kernel-4.4.55.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 &g2d {
45         status = "okay";
46 };
47
48 &keypad {
49         samsung,keypad-num-rows = <3>;
50         samsung,keypad-num-columns = <8>;
51         linux,keypad-no-autorepeat;
52         linux,keypad-wakeup;
53         pinctrl-0 = <&keypad_rows &keypad_cols>;
54         pinctrl-names = "default";
55         status = "okay";
56
57         key_1 {
58                 keypad,row = <1>;
59                 keypad,column = <3>;
60                 linux,code = <2>;
61         };
62
63         key_2 {
64                 keypad,row = <1>;
65                 keypad,column = <4>;
66                 linux,code = <3>;
67         };
68
69         key_3 {
70                 keypad,row = <1>;
71                 keypad,column = <5>;
72                 linux,code = <4>;
73         };
74
75         key_4 {
76                 keypad,row = <1>;
77                 keypad,column = <6>;
78                 linux,code = <5>;
79         };
80
81         key_5 {
82                 keypad,row = <1>;
83                 keypad,column = <7>;
84                 linux,code = <6>;
85         };
86
87         key_A {
88                 keypad,row = <2>;
89                 keypad,column = <6>;
90                 linux,code = <30>;
91         };
92
93         key_B {
94                 keypad,row = <2>;
95                 keypad,column = <7>;
96                 linux,code = <48>;
97         };
98
99         key_C {
100                 keypad,row = <0>;
101                 keypad,column = <5>;
102                 linux,code = <46>;
103         };
104
105         key_D {
106                 keypad,row = <2>;
107                 keypad,column = <5>;
108                 linux,code = <32>;
109         };
110
111         key_E {
112                 keypad,row = <0>;
113                 keypad,column = <7>;
114                 linux,code = <18>;
115         };
116 };
117
118 &mfc {
119         samsung,mfc-r = <0x43000000 0x800000>;
120         samsung,mfc-l = <0x51000000 0x800000>;
121         status = "okay";
122 };
123
124 &pinctrl_1 {
125         keypad_rows: keypad-rows {
126                 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
127                 samsung,pin-function = <3>;
128                 samsung,pin-pud = <3>;
129                 samsung,pin-drv = <0>;
130         };
131
132         keypad_cols: keypad-cols {
133                 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
134                                "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
135                 samsung,pin-function = <3>;
136                 samsung,pin-pud = <0>;
137                 samsung,pin-drv = <0>;
138         };
139 };
140
141 &sdhci_2 {
142         bus-width = <4>;
143         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
144         pinctrl-names = "default";
145         status = "okay";
146 };
147
148 &serial_0 {
149         status = "okay";
150 };
151
152 &serial_1 {
153         status = "okay";
154 };
155
156 &serial_2 {
157         status = "okay";
158 };
159
160 &serial_3 {
161         status = "okay";
162 };