Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / 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         g2d@10800000 {
32                 status = "okay";
33         };
34
35         pinctrl@11000000 {
36                 keypad_rows: keypad-rows {
37                         samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
38                         samsung,pin-function = <3>;
39                         samsung,pin-pud = <3>;
40                         samsung,pin-drv = <0>;
41                 };
42
43                 keypad_cols: keypad-cols {
44                         samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
45                                        "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
46                         samsung,pin-function = <3>;
47                         samsung,pin-pud = <0>;
48                         samsung,pin-drv = <0>;
49                 };
50         };
51
52         keypad@100A0000 {
53                 samsung,keypad-num-rows = <3>;
54                 samsung,keypad-num-columns = <8>;
55                 linux,keypad-no-autorepeat;
56                 linux,keypad-wakeup;
57                 pinctrl-0 = <&keypad_rows &keypad_cols>;
58                 pinctrl-names = "default";
59                 status = "okay";
60
61                 key_1 {
62                         keypad,row = <1>;
63                         keypad,column = <3>;
64                         linux,code = <2>;
65                 };
66
67                 key_2 {
68                         keypad,row = <1>;
69                         keypad,column = <4>;
70                         linux,code = <3>;
71                 };
72
73                 key_3 {
74                         keypad,row = <1>;
75                         keypad,column = <5>;
76                         linux,code = <4>;
77                 };
78
79                 key_4 {
80                         keypad,row = <1>;
81                         keypad,column = <6>;
82                         linux,code = <5>;
83                 };
84
85                 key_5 {
86                         keypad,row = <1>;
87                         keypad,column = <7>;
88                         linux,code = <6>;
89                 };
90
91                 key_A {
92                         keypad,row = <2>;
93                         keypad,column = <6>;
94                         linux,code = <30>;
95                 };
96
97                 key_B {
98                         keypad,row = <2>;
99                         keypad,column = <7>;
100                         linux,code = <48>;
101                 };
102
103                 key_C {
104                         keypad,row = <0>;
105                         keypad,column = <5>;
106                         linux,code = <46>;
107                 };
108
109                 key_D {
110                         keypad,row = <2>;
111                         keypad,column = <5>;
112                         linux,code = <32>;
113                 };
114
115                 key_E {
116                         keypad,row = <0>;
117                         keypad,column = <7>;
118                         linux,code = <18>;
119                 };
120         };
121
122         sdhci@12530000 {
123                 bus-width = <4>;
124                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
125                 pinctrl-names = "default";
126                 status = "okay";
127         };
128
129         codec@13400000 {
130                 samsung,mfc-r = <0x43000000 0x800000>;
131                 samsung,mfc-l = <0x51000000 0x800000>;
132                 status = "okay";
133         };
134
135         serial@13800000 {
136                 status = "okay";
137         };
138
139         serial@13810000 {
140                 status = "okay";
141         };
142
143         serial@13820000 {
144                 status = "okay";
145         };
146
147         serial@13830000 {
148                 status = "okay";
149         };
150
151         fixed-rate-clocks {
152                 xxti {
153                         compatible = "samsung,clock-xxti";
154                         clock-frequency = <0>;
155                 };
156
157                 xusbxti {
158                         compatible = "samsung,clock-xusbxti";
159                         clock-frequency = <24000000>;
160                 };
161         };
162 };