Deleted Added
sdiff udiff text old ( 279385 ) new ( 295436 )
full compact
1/*
2 * Copyright (C) 2014 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 "dra74x.dtsi"
11#include <dt-bindings/clk/ti-dra7-atl.h>
12#include <dt-bindings/gpio/gpio.h>
13#include <dt-bindings/interrupt-controller/irq.h>
14
15/ {
16 model = "TI AM5728 BeagleBoard-X15";
17 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
18
19 aliases {
20 rtc0 = &mcp_rtc;
21 rtc1 = &tps659038_rtc;
22 };
23
24 memory {
25 device_type = "memory";
26 reg = <0x80000000 0x80000000>;
27 };
28
29 vdd_3v3: fixedregulator-vdd_3v3 {
30 compatible = "regulator-fixed";
31 regulator-name = "vdd_3v3";
32 vin-supply = <&regen1>;
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 };
36
37 vtt_fixed: fixedregulator-vtt {
38 /* TPS51200 */
39 compatible = "regulator-fixed";
40 regulator-name = "vtt_fixed";
41 vin-supply = <&smps3_reg>;
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 regulator-always-on;

--- 34 unchanged lines hidden (view full) ---

79 linux,default-trigger = "ide-disk";
80 default-state = "off";
81 };
82 };
83
84 gpio_fan: gpio_fan {
85 /* Based on 5v 500mA AFB02505HHB */
86 compatible = "gpio-fan";
87 gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>;
88 gpio-fan,speed-map = <0 0>,
89 <13000 1>;
90 };
91
92 extcon_usb1: extcon_usb1 {
93 compatible = "linux,extcon-usb-gpio";
94 id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&extcon_usb1_pins>;
97 };
98
99 extcon_usb2: extcon_usb2 {
100 compatible = "linux,extcon-usb-gpio";
101 id-gpio = <&gpio7 24 GPIO_ACTIVE_HIGH>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&extcon_usb2_pins>;
104 };
105};
106
107&dra7_pmx_core {
108 leds_pins_default: leds_pins_default {
109 pinctrl-single,pins = <
110 0x3a8 (PIN_OUTPUT | MUX_MODE14) /* spi1_d1.gpio7_8 */
111 0x3ac (PIN_OUTPUT | MUX_MODE14) /* spi1_d0.gpio7_9 */
112 0x3c0 (PIN_OUTPUT | MUX_MODE14) /* spi2_sclk.gpio7_14 */
113 0x3c4 (PIN_OUTPUT | MUX_MODE14) /* spi2_d1.gpio7_15 */
114 >;
115 };
116
117 i2c1_pins_default: i2c1_pins_default {
118 pinctrl-single,pins = <
119 0x400 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda.sda */
120 0x404 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl.scl */
121 >;
122 };
123
124 i2c3_pins_default: i2c3_pins_default {
125 pinctrl-single,pins = <
126 0x2a4 (PIN_INPUT| MUX_MODE10) /* mcasp1_aclkx.i2c3_sda */
127 0x2a8 (PIN_INPUT| MUX_MODE10) /* mcasp1_fsx.i2c3_scl */
128 >;
129 };
130
131 uart3_pins_default: uart3_pins_default {
132 pinctrl-single,pins = <
133 0x248 (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd.rxd */
134 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd.txd */
135 >;
136 };
137
138 mmc1_pins_default: mmc1_pins_default {
139 pinctrl-single,pins = <
140 0x36c (PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */
141 0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */
142 0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
143 0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
144 0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
145 0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
146 0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
147 >;
148 };
149
150 mmc2_pins_default: mmc2_pins_default {
151 pinctrl-single,pins = <
152 0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */
153 0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */
154 0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */
155 0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */
156 0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */
157 0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */
158 0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */
159 0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */
160 0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */
161 0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */
162 >;
163 };
164
165 cpsw_pins_default: cpsw_pins_default {
166 pinctrl-single,pins = <
167 /* Slave 1 */
168 0x250 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tclk */
169 0x254 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tctl */
170 0x258 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td3 */
171 0x25c (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td2 */
172 0x260 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td1 */
173 0x264 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td0 */
174 0x268 (PIN_INPUT | MUX_MODE0) /* rgmii1_rclk */
175 0x26c (PIN_INPUT | MUX_MODE0) /* rgmii1_rctl */
176 0x270 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd3 */
177 0x274 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd2 */
178 0x278 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd1 */
179 0x27c (PIN_INPUT | MUX_MODE0) /* rgmii1_rd0 */
180
181 /* Slave 2 */
182 0x198 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tclk */
183 0x19c (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tctl */
184 0x1a0 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td3 */
185 0x1a4 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td2 */
186 0x1a8 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td1 */
187 0x1ac (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td0 */
188 0x1b0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rclk */
189 0x1b4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rctl */
190 0x1b8 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd3 */
191 0x1bc (PIN_INPUT | MUX_MODE3) /* rgmii2_rd2 */
192 0x1c0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd1 */
193 0x1c4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd0 */
194 >;
195
196 };
197
198 cpsw_pins_sleep: cpsw_pins_sleep {
199 pinctrl-single,pins = <
200 /* Slave 1 */
201 0x250 (PIN_INPUT | MUX_MODE15)
202 0x254 (PIN_INPUT | MUX_MODE15)
203 0x258 (PIN_INPUT | MUX_MODE15)
204 0x25c (PIN_INPUT | MUX_MODE15)
205 0x260 (PIN_INPUT | MUX_MODE15)
206 0x264 (PIN_INPUT | MUX_MODE15)
207 0x268 (PIN_INPUT | MUX_MODE15)
208 0x26c (PIN_INPUT | MUX_MODE15)
209 0x270 (PIN_INPUT | MUX_MODE15)
210 0x274 (PIN_INPUT | MUX_MODE15)
211 0x278 (PIN_INPUT | MUX_MODE15)
212 0x27c (PIN_INPUT | MUX_MODE15)
213
214 /* Slave 2 */
215 0x198 (PIN_INPUT | MUX_MODE15)
216 0x19c (PIN_INPUT | MUX_MODE15)
217 0x1a0 (PIN_INPUT | MUX_MODE15)
218 0x1a4 (PIN_INPUT | MUX_MODE15)
219 0x1a8 (PIN_INPUT | MUX_MODE15)
220 0x1ac (PIN_INPUT | MUX_MODE15)
221 0x1b0 (PIN_INPUT | MUX_MODE15)
222 0x1b4 (PIN_INPUT | MUX_MODE15)
223 0x1b8 (PIN_INPUT | MUX_MODE15)
224 0x1bc (PIN_INPUT | MUX_MODE15)
225 0x1c0 (PIN_INPUT | MUX_MODE15)
226 0x1c4 (PIN_INPUT | MUX_MODE15)
227 >;
228 };
229
230 davinci_mdio_pins_default: davinci_mdio_pins_default {
231 pinctrl-single,pins = <
232 /* MDIO */
233 0x23c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_mclk */
234 0x240 (PIN_INPUT_PULLUP | MUX_MODE0) /* mdio_d */
235 >;
236 };
237
238 davinci_mdio_pins_sleep: davinci_mdio_pins_sleep {
239 pinctrl-single,pins = <
240 0x23c (PIN_INPUT | MUX_MODE15)
241 0x240 (PIN_INPUT | MUX_MODE15)
242 >;
243 };
244
245 tps659038_pins_default: tps659038_pins_default {
246 pinctrl-single,pins = <
247 0x418 (PIN_INPUT_PULLUP | MUX_MODE14) /* wakeup0.gpio1_0 */
248 >;
249 };
250
251 tmp102_pins_default: tmp102_pins_default {
252 pinctrl-single,pins = <
253 0x3C8 (PIN_INPUT_PULLUP | MUX_MODE14) /* spi2_d0.gpio7_16 */
254 >;
255 };
256
257 mcp79410_pins_default: mcp79410_pins_default {
258 pinctrl-single,pins = <
259 0x424 (PIN_INPUT_PULLUP | MUX_MODE1) /* wakeup3.sys_nirq1 */
260 >;
261 };
262
263 usb1_pins: pinmux_usb1_pins {
264 pinctrl-single,pins = <
265 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */
266 >;
267 };
268
269 extcon_usb1_pins: extcon_usb1_pins {
270 pinctrl-single,pins = <
271 0x3ec (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_rtsn.gpio7_25 */
272 >;
273 };
274
275 extcon_usb2_pins: extcon_usb2_pins {
276 pinctrl-single,pins = <
277 0x3e8 (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_ctsn.gpio7_24 */
278 >;
279 };
280};
281
282&i2c1 {
283 status = "okay";
284 pinctrl-names = "default";
285 pinctrl-0 = <&i2c1_pins_default>;
286 clock-frequency = <400000>;
287

--- 60 unchanged lines hidden (view full) ---

348 regulator-max-microvolt = <1800000>;
349 regulator-always-on;
350 regulator-boot-on;
351 };
352
353 /* SMPS9 unused */
354
355 ldo1_reg: ldo1 {
356 /* VDD_SD */
357 regulator-name = "ldo1";
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <3300000>;
360 regulator-boot-on;
361 };
362
363 ldo2_reg: ldo2 {
364 /* VDD_SHV5 */
365 regulator-name = "ldo2";
366 regulator-min-microvolt = <3300000>;
367 regulator-max-microvolt = <3300000>;
368 regulator-always-on;
369 regulator-boot-on;
370 };
371
372 ldo3_reg: ldo3 {
373 /* VDDA_1V8_PHY */
374 regulator-name = "ldo3";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-always-on;
378 regulator-boot-on;
379 };
380
381 ldo9_reg: ldo9 {
382 /* VDD_RTC */
383 regulator-name = "ldo9";
384 regulator-min-microvolt = <1050000>;
385 regulator-max-microvolt = <1050000>;
386 regulator-always-on;
387 regulator-boot-on;
388 };

--- 39 unchanged lines hidden (view full) ---

428 ti,palmas-long-press-seconds = <12>;
429 };
430
431 tps659038_gpio: tps659038_gpio {
432 compatible = "ti,palmas-gpio";
433 gpio-controller;
434 #gpio-cells = <2>;
435 };
436 };
437
438 tmp102: tmp102@48 {
439 compatible = "ti,tmp102";
440 reg = <0x48>;
441 pinctrl-names = "default";
442 pinctrl-0 = <&tmp102_pins_default>;
443 interrupt-parent = <&gpio7>;
444 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
445 };
446};
447
448&i2c3 {
449 status = "okay";
450 pinctrl-names = "default";
451 pinctrl-0 = <&i2c3_pins_default>;
452 clock-frequency = <400000>;
453
454 mcp_rtc: rtc@6f {
455 compatible = "microchip,mcp7941x";
456 reg = <0x6f>;
457 interrupt-parent = <&gic>;
458 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_LOW>; /* IRQ_SYS_1N */
459
460 pinctrl-names = "default";
461 pinctrl-0 = <&mcp79410_pins_default>;
462
463 vcc-supply = <&vdd_3v3>;
464 wakeup-source;
465 };
466};

--- 5 unchanged lines hidden (view full) ---

472
473&cpu0 {
474 cpu0-supply = <&smps12_reg>;
475 voltage-tolerance = <1>;
476};
477
478&uart3 {
479 status = "okay";
480 interrupts-extended = <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
481 <&dra7_pmx_core 0x248>;
482
483 pinctrl-names = "default";
484 pinctrl-0 = <&uart3_pins_default>;
485};
486
487&mac {
488 status = "okay";
489 pinctrl-names = "default", "sleep";

--- 22 unchanged lines hidden (view full) ---

512
513&mmc1 {
514 status = "okay";
515
516 pinctrl-names = "default";
517 pinctrl-0 = <&mmc1_pins_default>;
518
519 vmmc-supply = <&ldo1_reg>;
520 vmmc_aux-supply = <&vdd_3v3>;
521 pbias-supply = <&pbias_mmc_reg>;
522 bus-width = <4>;
523 cd-gpios = <&gpio6 27 0>; /* gpio 219 */
524};
525
526&mmc2 {
527 status = "okay";
528
529 pinctrl-names = "default";
530 pinctrl-0 = <&mmc2_pins_default>;
531

--- 6 unchanged lines hidden (view full) ---

538&sata {
539 status = "okay";
540};
541
542&usb2_phy1 {
543 phy-supply = <&ldousb_reg>;
544};
545
546&usb1 {
547 dr_mode = "host";
548 pinctrl-names = "default";
549 pinctrl-0 = <&usb1_pins>;
550};
551
552&omap_dwc3_1 {
553 extcon = <&extcon_usb1>;
554};
555
556&omap_dwc3_2 {
557 extcon = <&extcon_usb2>;
558};
559
560&usb2 {
561 dr_mode = "peripheral";
562};