Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.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 #include "exynos-mfc-reserved-memory.dtsi"
18
19 / {
20 model = "Samsung SMDK evaluation board based on Exynos4412";
21 compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4";
22
23 memory@40000000 {
24 device_type = "memory";
25 reg = <0x40000000 0x40000000>;
26 };
27
28 chosen {
29 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
30 stdout-path = &serial_1;
31 };
32
33 fixed-rate-clocks {
34 xxti {
35 compatible = "samsung,clock-xxti";
36 clock-frequency = <0>;
37 };
38
39 xusbxti {
40 compatible = "samsung,clock-xusbxti";
41 clock-frequency = <24000000>;
42 };
43 };
44 };
45
46 &keypad {
47 samsung,keypad-num-rows = <3>;
48 samsung,keypad-num-columns = <8>;
49 linux,keypad-no-autorepeat;
50 wakeup-source;
51 pinctrl-0 = <&keypad_rows &keypad_cols>;
52 pinctrl-names = "default";
53 status = "okay";
54
55 key_1 {
56 keypad,row = <1>;
57 keypad,column = <3>;
58 linux,code = <2>;
59 };
60
61 key_2 {
62 keypad,row = <1>;
63 keypad,column = <4>;
64 linux,code = <3>;
65 };
66
67 key_3 {
68 keypad,row = <1>;
69 keypad,column = <5>;
70 linux,code = <4>;
71 };
72
73 key_4 {
74 keypad,row = <1>;
75 keypad,column = <6>;
76 linux,code = <5>;
77 };
78
79 key_5 {
80 keypad,row = <1>;
81 keypad,column = <7>;
82 linux,code = <6>;
83 };
84
85 key_A {
86 keypad,row = <2>;
87 keypad,column = <6>;
88 linux,code = <30>;
89 };
90
91 key_B {
92 keypad,row = <2>;
93 keypad,column = <7>;
94 linux,code = <48>;
95 };
96
97 key_C {
98 keypad,row = <0>;
99 keypad,column = <5>;
100 linux,code = <46>;
101 };
102
103 key_D {
104 keypad,row = <2>;
105 keypad,column = <5>;
106 linux,code = <32>;
107 };
108
109 key_E {
110 keypad,row = <0>;
111 keypad,column = <7>;
112 linux,code = <18>;
113 };
114 };
115
116 &pinctrl_1 {
117 keypad_rows: keypad-rows {
118 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
119 samsung,pin-function = <3>;
120 samsung,pin-pud = <3>;
121 samsung,pin-drv = <0>;
122 };
123
124 keypad_cols: keypad-cols {
125 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
126 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
127 samsung,pin-function = <3>;
128 samsung,pin-pud = <0>;
129 samsung,pin-drv = <0>;
130 };
131 };
132
133 &sdhci_2 {
134 bus-width = <4>;
135 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
136 pinctrl-names = "default";
137 status = "okay";
138 };
139
140 &serial_0 {
141 status = "okay";
142 };
143
144 &serial_1 {
145 status = "okay";
146 };
147
148 &serial_2 {
149 status = "okay";
150 };
151
152 &serial_3 {
153 status = "okay";
154 };
This page took 0.03527 seconds and 5 git commands to generate.