blob: a4784be40081bf1426017cfed0f3103e1ca1b2e2 [file] [log] [blame]
R Sricharan6b5de092012-05-10 19:46:00 +05301/*
2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8/dts-v1/;
9
10/include/ "omap5.dtsi"
Lokesh Vutla4d2750f2012-11-05 18:22:52 +053011/include/ "samsung_k3pe0e000b.dtsi"
R Sricharan6b5de092012-05-10 19:46:00 +053012
13/ {
14 model = "TI OMAP5 EVM board";
15 compatible = "ti,omap5-evm", "ti,omap5";
16
17 memory {
18 device_type = "memory";
Lokesh Vutla45cbe6c2012-11-05 18:22:50 +053019 reg = <0x80000000 0x80000000>; /* 2 GB */
R Sricharan6b5de092012-05-10 19:46:00 +053020 };
Balaji T K5dd18b02012-08-07 12:48:21 +053021
22 vmmcsd_fixed: fixedregulator-mmcsd {
23 compatible = "regulator-fixed";
24 regulator-name = "vmmcsd_fixed";
25 regulator-min-microvolt = <3000000>;
26 regulator-max-microvolt = <3000000>;
27 };
Sourav Poddar5449fbc2012-07-25 11:03:27 +053028
Balaji T K5dd18b02012-08-07 12:48:21 +053029};
30
Peter Ujfalusi8bbacc52012-10-04 14:57:28 +030031&omap5_pmx_core {
32 pinctrl-names = "default";
33 pinctrl-0 = <
34 &twl6040_pins
35 &mcpdm_pins
36 &dmic_pins
37 &mcbsp1_pins
38 &mcbsp2_pins
39 >;
40
41 twl6040_pins: pinmux_twl6040_pins {
42 pinctrl-single,pins = <
43 0x18a 0x6 /* perslimbus2_clock.gpio5_145 OUTPUT | MODE6 */
44 >;
45 };
46
47 mcpdm_pins: pinmux_mcpdm_pins {
48 pinctrl-single,pins = <
49 0x142 0x108 /* abe_clks.abe_clks INPUT PULLDOWN | MODE0 */
50 0x15c 0x108 /* abemcpdm_ul_data.abemcpdm_ul_data INPUT PULLDOWN | MODE0 */
51 0x15e 0x108 /* abemcpdm_dl_data.abemcpdm_dl_data INPUT PULLDOWN | MODE0 */
52 0x160 0x118 /* abemcpdm_frame.abemcpdm_frame INPUT PULLUP | MODE0 */
53 0x162 0x108 /* abemcpdm_lb_clk.abemcpdm_lb_clk INPUT PULLDOWN | MODE0 */
54 >;
55 };
56
57 dmic_pins: pinmux_dmic_pins {
58 pinctrl-single,pins = <
59 0x144 0x100 /* abedmic_din1.abedmic_din1 INPUT | MODE0 */
60 0x146 0x100 /* abedmic_din2.abedmic_din2 INPUT | MODE0 */
61 0x148 0x100 /* abedmic_din3.abedmic_din3 INPUT | MODE0 */
62 0x14a 0 /* abedmic_clk1.abedmic_clk1 OUTPUT | MODE0 */
63 >;
64 };
65
66 mcbsp1_pins: pinmux_mcbsp1_pins {
67 pinctrl-single,pins = <
68 0x14c 0x101 /* abedmic_clk2.abemcbsp1_fsx INPUT | MODE1 */
69 0x14e 0x9 /* abedmic_clk3.abemcbsp1_dx OUTPUT PULLDOWN | MODE1 */
70 0x150 0x101 /* abeslimbus1_clock.abemcbsp1_clkx INPUT | MODE0 */
71 0x152 0x109 /* abeslimbus1_data.abemcbsp1_dr INPUT PULLDOWN | MODE1 */
72 >;
73 };
74
75 mcbsp2_pins: pinmux_mcbsp2_pins {
76 pinctrl-single,pins = <
77 0x154 0x108 /* abemcbsp2_dr.abemcbsp2_dr INPUT PULLDOWN | MODE0 */
78 0x156 0x8 /* abemcbsp2_dx.abemcbsp2_dx OUTPUT PULLDOWN | MODE0 */
79 0x158 0x100 /* abemcbsp2_fsx.abemcbsp2_fsx INPUT | MODE0 */
80 0x15a 0x100 /* abemcbsp2_clkx.abemcbsp2_clkx INPUT | MODE0 */
81 >;
82 };
Sourav Poddar9be495c2013-02-13 14:58:22 +053083
84 i2c1_pins: pinmux_i2c1_pins {
85 pinctrl-single,pins = <
86 0x1b2 0x118 /* i2c1_scl PULLUP | INPUTENABLE | MODE0 */
87 0x1b4 0x118 /* i2c1_sda PULLUP | INPUTENABLE | MODE0 */
88 >;
89 };
90
91 i2c2_pins: pinmux_i2c2_pins {
92 pinctrl-single,pins = <
93 0x178 0x100 /* i2c2_scl INPUTENABLE | MODE0 */
94 0x17a 0x100 /* i2c2_sda INPUTENABLE | MODE0 */
95 >;
96 };
97
98 i2c3_pins: pinmux_i2c3_pins {
99 pinctrl-single,pins = <
100 0x13a 0x100 /* i2c3_scl INPUTENABLE | MODE0 */
101 0x13c 0x100 /* i2c3_sda INPUTENABLE | MODE0 */
102 >;
103 };
104
105 i2c4_pins: pinmux_i2c4_pins {
106 pinctrl-single,pins = <
107 0xb8 0x100 /* i2c4_scl INPUTENABLE | MODE0 */
108 0xba 0x100 /* i2c4_sda INPUTENABLE | MODE0 */
109 >;
110 };
111
112 i2c5_pins: pinmux_i2c5_pins {
113 pinctrl-single,pins = <
114 0x184 0x100 /* i2c5_scl INPUTENABLE | MODE0 */
115 0x186 0x100 /* i2c5_sda INPUTENABLE | MODE0 */
116 >;
117 };
Peter Ujfalusi8bbacc52012-10-04 14:57:28 +0300118};
119
Balaji T K5dd18b02012-08-07 12:48:21 +0530120&mmc1 {
121 vmmc-supply = <&vmmcsd_fixed>;
122 bus-width = <4>;
123};
124
125&mmc2 {
126 vmmc-supply = <&vmmcsd_fixed>;
127 bus-width = <8>;
128 ti,non-removable;
129};
130
131&mmc3 {
132 bus-width = <4>;
133 ti,non-removable;
134};
135
136&mmc4 {
137 status = "disabled";
138};
139
140&mmc5 {
141 status = "disabled";
R Sricharan6b5de092012-05-10 19:46:00 +0530142};
Sourav Poddar08f3e212012-07-25 11:02:43 +0530143
Sourav Poddar9be495c2013-02-13 14:58:22 +0530144&i2c1 {
145 pinctrl-names = "default";
146 pinctrl-0 = <&i2c1_pins>;
147
148 clock-frequency = <400000>;
149};
150
Sourav Poddar28871012012-07-25 10:59:40 +0530151&i2c2 {
Sourav Poddar9be495c2013-02-13 14:58:22 +0530152 pinctrl-names = "default";
153 pinctrl-0 = <&i2c2_pins>;
154
Sourav Poddar28871012012-07-25 10:59:40 +0530155 clock-frequency = <400000>;
156
157 /* Pressure Sensor */
158 bmp085@77 {
159 compatible = "bosch,bmp085";
160 reg = <0x77>;
161 };
162};
163
Sourav Poddar9be495c2013-02-13 14:58:22 +0530164&i2c3 {
165 pinctrl-names = "default";
166 pinctrl-0 = <&i2c3_pins>;
167
168 clock-frequency = <400000>;
169};
170
Sourav Poddar08f3e212012-07-25 11:02:43 +0530171&i2c4 {
Sourav Poddar9be495c2013-02-13 14:58:22 +0530172 pinctrl-names = "default";
173 pinctrl-0 = <&i2c4_pins>;
174
Sourav Poddar08f3e212012-07-25 11:02:43 +0530175 clock-frequency = <400000>;
176
177 /* Temperature Sensor */
178 tmp102@48{
179 compatible = "ti,tmp102";
180 reg = <0x48>;
181 };
182};
Sourav Poddar5449fbc2012-07-25 11:03:27 +0530183
Sourav Poddar9be495c2013-02-13 14:58:22 +0530184&i2c5 {
185 pinctrl-names = "default";
186 pinctrl-0 = <&i2c5_pins>;
187
188 clock-frequency = <400000>;
189};
190
Sourav Poddar5449fbc2012-07-25 11:03:27 +0530191&keypad {
192 keypad,num-rows = <8>;
193 keypad,num-columns = <8>;
194 linux,keymap = <0x02020073 /* VOLUP */
195 0x02030072 /* VOLDOWM */
196 0x020400e7 /* SEND */
197 0x02050066 /* HOME */
198 0x0206006b /* END */
199 0x020700d9>; /* SEARCH */
200 linux,input-no-autorepeat;
201};
Peter Ujfalusi42601d52012-10-04 14:57:24 +0300202
203&mcbsp3 {
204 status = "disabled";
205};
Lokesh Vutla4d2750f2012-11-05 18:22:52 +0530206
207&emif1 {
208 cs1-used;
209 device-handle = <&samsung_K3PE0E000B>;
210};
211
212&emif2 {
213 cs1-used;
214 device-handle = <&samsung_K3PE0E000B>;
215};