blob: 231ffbdbf9d0e3c7a5afd07fc981ecfad61ef6a0 [file] [log] [blame]
Thomas Abraham86666ad2012-11-07 08:17:43 +09001/*
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/;
Padmavathi Venna37992792013-06-18 00:02:08 +090016#include "exynos4412.dtsi"
Marek Szyprowski8b9ac7e2016-05-24 15:31:29 +020017#include "exynos-mfc-reserved-memory.dtsi"
Thomas Abraham86666ad2012-11-07 08:17:43 +090018
19/ {
20 model = "Samsung SMDK evaluation board based on Exynos4412";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090021 compatible = "samsung,smdk4412", "samsung,exynos4412", "samsung,exynos4";
Thomas Abraham86666ad2012-11-07 08:17:43 +090022
23 memory {
24 reg = <0x40000000 0x40000000>;
25 };
26
27 chosen {
28 bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc";
Tomasz Figa62d38092015-01-23 14:47:42 +010029 stdout-path = &serial_1;
Thomas Abraham86666ad2012-11-07 08:17:43 +090030 };
31
Thomas Abraham8b6076d2013-03-09 17:19:22 +090032 fixed-rate-clocks {
33 xxti {
34 compatible = "samsung,clock-xxti";
35 clock-frequency = <0>;
36 };
37
38 xusbxti {
39 compatible = "samsung,clock-xusbxti";
40 clock-frequency = <24000000>;
41 };
42 };
Thomas Abraham86666ad2012-11-07 08:17:43 +090043};
Krzysztof Kozlowski3d06a5c2015-04-06 21:07:18 +020044
Krzysztof Kozlowski3d06a5c2015-04-06 21:07:18 +020045&keypad {
46 samsung,keypad-num-rows = <3>;
47 samsung,keypad-num-columns = <8>;
48 linux,keypad-no-autorepeat;
Sudeep Holla36a02822016-01-28 15:59:58 +000049 wakeup-source;
Krzysztof Kozlowski3d06a5c2015-04-06 21:07:18 +020050 pinctrl-0 = <&keypad_rows &keypad_cols>;
51 pinctrl-names = "default";
52 status = "okay";
53
54 key_1 {
55 keypad,row = <1>;
56 keypad,column = <3>;
57 linux,code = <2>;
58 };
59
60 key_2 {
61 keypad,row = <1>;
62 keypad,column = <4>;
63 linux,code = <3>;
64 };
65
66 key_3 {
67 keypad,row = <1>;
68 keypad,column = <5>;
69 linux,code = <4>;
70 };
71
72 key_4 {
73 keypad,row = <1>;
74 keypad,column = <6>;
75 linux,code = <5>;
76 };
77
78 key_5 {
79 keypad,row = <1>;
80 keypad,column = <7>;
81 linux,code = <6>;
82 };
83
84 key_A {
85 keypad,row = <2>;
86 keypad,column = <6>;
87 linux,code = <30>;
88 };
89
90 key_B {
91 keypad,row = <2>;
92 keypad,column = <7>;
93 linux,code = <48>;
94 };
95
96 key_C {
97 keypad,row = <0>;
98 keypad,column = <5>;
99 linux,code = <46>;
100 };
101
102 key_D {
103 keypad,row = <2>;
104 keypad,column = <5>;
105 linux,code = <32>;
106 };
107
108 key_E {
109 keypad,row = <0>;
110 keypad,column = <7>;
111 linux,code = <18>;
112 };
113};
114
Krzysztof Kozlowski3d06a5c2015-04-06 21:07:18 +0200115&pinctrl_1 {
116 keypad_rows: keypad-rows {
117 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2";
118 samsung,pin-function = <3>;
119 samsung,pin-pud = <3>;
120 samsung,pin-drv = <0>;
121 };
122
123 keypad_cols: keypad-cols {
124 samsung,pins = "gpx1-0", "gpx1-1", "gpx1-2", "gpx1-3",
125 "gpx1-4", "gpx1-5", "gpx1-6", "gpx1-7";
126 samsung,pin-function = <3>;
127 samsung,pin-pud = <0>;
128 samsung,pin-drv = <0>;
129 };
130};
131
132&sdhci_2 {
133 bus-width = <4>;
134 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>;
135 pinctrl-names = "default";
136 status = "okay";
137};
138
139&serial_0 {
140 status = "okay";
141};
142
143&serial_1 {
144 status = "okay";
145};
146
147&serial_2 {
148 status = "okay";
149};
150
151&serial_3 {
152 status = "okay";
153};