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