blob: fbbe40625508925014a0b6b8552cbc59da5673ab [file] [log] [blame]
R Sricharan6e58b8f2013-08-14 19:08:20 +05301/*
2 * Copyright (C) 2013 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 "dra7.dtsi"
11
12/ {
13 model = "TI DRA7";
14 compatible = "ti,dra7-evm", "ti,dra752", "ti,dra7";
15
16 memory {
17 device_type = "memory";
18 reg = <0x80000000 0x60000000>; /* 1536 MB */
19 };
20};
21
22&dra7_pmx_core {
23 i2c1_pins: pinmux_i2c1_pins {
24 pinctrl-single,pins = <
25 0x400 (PIN_INPUT | MUX_MODE0) /* i2c1_sda */
26 0x404 (PIN_INPUT | MUX_MODE0) /* i2c1_scl */
27 >;
28 };
29
30 i2c2_pins: pinmux_i2c2_pins {
31 pinctrl-single,pins = <
32 0x408 (PIN_INPUT | MUX_MODE0) /* i2c2_sda */
33 0x40c (PIN_INPUT | MUX_MODE0) /* i2c2_scl */
34 >;
35 };
36
37 i2c3_pins: pinmux_i2c3_pins {
38 pinctrl-single,pins = <
39 0x410 (PIN_INPUT | MUX_MODE0) /* i2c3_sda */
40 0x414 (PIN_INPUT | MUX_MODE0) /* i2c3_scl */
41 >;
42 };
43
44 mcspi1_pins: pinmux_mcspi1_pins {
45 pinctrl-single,pins = <
46 0x3a4 (PIN_INPUT | MUX_MODE0) /* spi2_clk */
47 0x3a8 (PIN_INPUT | MUX_MODE0) /* spi2_d1 */
48 0x3ac (PIN_INPUT | MUX_MODE0) /* spi2_d0 */
49 0x3b0 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs0 */
50 0x3b4 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs1 */
51 0x3b8 (PIN_INPUT_SLEW | MUX_MODE6) /* spi2_cs2 */
52 0x3bc (PIN_INPUT_SLEW | MUX_MODE6) /* spi2_cs3 */
53 >;
54 };
55
56 mcspi2_pins: pinmux_mcspi2_pins {
57 pinctrl-single,pins = <
58 0x3c0 (PIN_INPUT | MUX_MODE0) /* spi2_sclk */
59 0x3c4 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_d1 */
60 0x3c8 (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_d1 */
61 0x3cc (PIN_INPUT_SLEW | MUX_MODE0) /* spi2_cs0 */
62 >;
63 };
64
65 uart1_pins: pinmux_uart1_pins {
66 pinctrl-single,pins = <
67 0x3e0 (PIN_INPUT_SLEW | MUX_MODE0) /* uart1_rxd */
68 0x3e4 (PIN_INPUT_SLEW | MUX_MODE0) /* uart1_txd */
69 0x3e8 (PIN_INPUT | MUX_MODE3) /* uart1_ctsn */
70 0x3ec (PIN_INPUT | MUX_MODE3) /* uart1_rtsn */
71 >;
72 };
73
74 uart2_pins: pinmux_uart2_pins {
75 pinctrl-single,pins = <
76 0x3f0 (PIN_INPUT | MUX_MODE0) /* uart2_rxd */
77 0x3f4 (PIN_INPUT | MUX_MODE0) /* uart2_txd */
78 0x3f8 (PIN_INPUT | MUX_MODE0) /* uart2_ctsn */
79 0x3fc (PIN_INPUT | MUX_MODE0) /* uart2_rtsn */
80 >;
81 };
82
83 uart3_pins: pinmux_uart3_pins {
84 pinctrl-single,pins = <
85 0x248 (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd */
86 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd */
87 >;
88 };
89};
90
91&i2c1 {
92 status = "okay";
93 pinctrl-names = "default";
94 pinctrl-0 = <&i2c1_pins>;
95 clock-frequency = <400000>;
Keerthyc56a8312013-08-26 11:06:51 +053096
97 tps659038: tps659038@58 {
98 compatible = "ti,tps659038";
99 reg = <0x58>;
100
101 tps659038_pmic {
102 compatible = "ti,tps659038-pmic";
103
104 regulators {
105 smps123_reg: smps123 {
106 /* VDD_MPU */
107 regulator-name = "smps123";
108 regulator-min-microvolt = < 850000>;
109 regulator-max-microvolt = <1250000>;
110 regulator-always-on;
111 regulator-boot-on;
112 };
113
114 smps45_reg: smps45 {
115 /* VDD_DSPEVE */
116 regulator-name = "smps45";
117 regulator-min-microvolt = < 850000>;
118 regulator-max-microvolt = <1150000>;
119 regulator-boot-on;
120 };
121
122 smps6_reg: smps6 {
123 /* VDD_GPU - over VDD_SMPS6 */
124 regulator-name = "smps6";
125 regulator-min-microvolt = <850000>;
126 regulator-max-microvolt = <12500000>;
127 regulator-boot-on;
128 };
129
130 smps7_reg: smps7 {
131 /* CORE_VDD */
132 regulator-name = "smps7";
133 regulator-min-microvolt = <850000>;
134 regulator-max-microvolt = <1030000>;
135 regulator-always-on;
136 regulator-boot-on;
137 };
138
139 smps8_reg: smps8 {
140 /* VDD_IVAHD */
141 regulator-name = "smps8";
142 regulator-min-microvolt = < 850000>;
143 regulator-max-microvolt = <1250000>;
144 regulator-boot-on;
145 };
146
147 smps9_reg: smps9 {
148 /* VDDS1V8 */
149 regulator-name = "smps9";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
152 regulator-always-on;
153 regulator-boot-on;
154 };
155
156 ldo1_reg: ldo1 {
157 /* LDO1_OUT --> SDIO */
158 regulator-name = "ldo1";
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <3300000>;
161 regulator-boot-on;
162 };
163
164 ldo2_reg: ldo2 {
165 /* VDD_RTCIO */
166 /* LDO2 -> VDDSHV5, LDO2 also goes to CAN_PHY_3V3 */
167 regulator-name = "ldo2";
168 regulator-min-microvolt = <3300000>;
169 regulator-max-microvolt = <3300000>;
170 regulator-boot-on;
171 };
172
173 ldo3_reg: ldo3 {
174 /* VDDA_1V8_PHY */
175 regulator-name = "ldo3";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
178 regulator-boot-on;
179 };
180
181 ldo9_reg: ldo9 {
182 /* VDD_RTC */
183 regulator-name = "ldo9";
184 regulator-min-microvolt = <1050000>;
185 regulator-max-microvolt = <1050000>;
186 regulator-boot-on;
187 };
188
189 ldoln_reg: ldoln {
190 /* VDDA_1V8_PLL */
191 regulator-name = "ldoln";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-always-on;
195 regulator-boot-on;
196 };
197
198 ldousb_reg: ldousb {
199 /* VDDA_3V_USB: VDDA_USBHS33 */
200 regulator-name = "ldousb";
201 regulator-min-microvolt = <3300000>;
202 regulator-max-microvolt = <3300000>;
203 regulator-boot-on;
204 };
205 };
206 };
207 };
R Sricharan6e58b8f2013-08-14 19:08:20 +0530208};
209
210&i2c2 {
211 status = "okay";
212 pinctrl-names = "default";
213 pinctrl-0 = <&i2c2_pins>;
214 clock-frequency = <400000>;
215};
216
217&i2c3 {
218 status = "okay";
219 pinctrl-names = "default";
220 pinctrl-0 = <&i2c3_pins>;
221 clock-frequency = <3400000>;
222};
223
224&mcspi1 {
225 status = "okay";
226 pinctrl-names = "default";
227 pinctrl-0 = <&mcspi1_pins>;
228};
229
230&mcspi2 {
231 status = "okay";
232 pinctrl-names = "default";
233 pinctrl-0 = <&mcspi2_pins>;
234};
235
236&uart1 {
237 status = "okay";
238 pinctrl-names = "default";
239 pinctrl-0 = <&uart1_pins>;
240};
241
242&uart2 {
243 status = "okay";
244 pinctrl-names = "default";
245 pinctrl-0 = <&uart2_pins>;
246};
247
248&uart3 {
249 status = "okay";
250 pinctrl-names = "default";
251 pinctrl-0 = <&uart3_pins>;
252};