2 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
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.
9 #include "am57xx-industrial-grade.dtsi"
13 rtc0 = &tps659038_rtc;
21 vmain: fixedregulator-vmain {
22 compatible = "regulator-fixed";
23 regulator-name = "VMAIN";
24 regulator-min-microvolt = <5000000>;
25 regulator-max-microvolt = <5000000>;
30 v3_3d: fixedregulator-v3_3d {
31 compatible = "regulator-fixed";
32 regulator-name = "V3_3D";
33 vin-supply = <&smps9_reg>;
34 regulator-min-microvolt = <3300000>;
35 regulator-max-microvolt = <3300000>;
40 vtt_fixed: fixedregulator-vtt {
42 compatible = "regulator-fixed";
43 regulator-name = "vtt_fixed";
44 vin-supply = <&v3_3d>;
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
53 compatible = "gpio-leds";
56 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
57 default-state = "off";
62 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
63 default-state = "off";
68 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
69 default-state = "off";
74 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
75 default-state = "off";
80 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
81 default-state = "off";
86 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
87 default-state = "off";
92 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
93 default-state = "off";
98 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
99 default-state = "off";
105 dcan1_pins_default: dcan1_pins_default {
106 pinctrl-single,pins = <
107 DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
108 DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */
112 dcan1_pins_sleep: dcan1_pins_sleep {
113 pinctrl-single,pins = <
114 DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
115 DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */
119 mmc1_pins_default: mmc1_pins_default {
120 pinctrl-single,pins = <
121 DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */
122 DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */
123 DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */
124 DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */
125 DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */
126 DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */
133 clock-frequency = <400000>;
135 tps659038: tps659038@58 {
136 compatible = "ti,tps659038";
138 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
139 &dra7_pmx_core 0x418>;
140 #interrupt-cells = <2>;
141 interrupt-controller;
142 ti,system-power-controller;
143 ti,palmas-override-powerhold;
146 compatible = "ti,tps659038-pmic";
148 smps12-in-supply = <&vmain>;
149 smps3-in-supply = <&vmain>;
150 smps45-in-supply = <&vmain>;
151 smps6-in-supply = <&vmain>;
152 smps7-in-supply = <&vmain>;
153 smps8-in-supply = <&vmain>;
154 smps9-in-supply = <&vmain>;
155 ldo1-in-supply = <&vmain>;
156 ldo2-in-supply = <&vmain>;
157 ldo3-in-supply = <&vmain>;
158 ldo4-in-supply = <&vmain>;
159 ldo9-in-supply = <&vmain>;
160 ldoln-in-supply = <&vmain>;
161 ldousb-in-supply = <&vmain>;
162 ldortc-in-supply = <&vmain>;
167 regulator-name = "smps12";
168 regulator-min-microvolt = <850000>;
169 regulator-max-microvolt = <1250000>;
175 /* VDD_DDR EMIF1 EMIF2 */
176 regulator-name = "smps3";
177 regulator-min-microvolt = <1350000>;
178 regulator-max-microvolt = <1350000>;
184 /* VDD_DSPEVE on AM572 */
185 /* VDD_IVA + VDD_DSP on AM571 */
186 regulator-name = "smps45";
187 regulator-min-microvolt = <850000>;
188 regulator-max-microvolt = <1250000>;
195 regulator-name = "smps6";
196 regulator-min-microvolt = <850000>;
197 regulator-max-microvolt = <1250000>;
204 regulator-name = "smps7";
205 regulator-min-microvolt = <850000>;
206 regulator-max-microvolt = <1150000>;
212 /* 5728 - VDD_IVAHD */
213 /* 5718 - N.C. test point */
214 regulator-name = "smps8";
219 regulator-name = "smps9";
220 regulator-min-microvolt = <3300000>;
221 regulator-max-microvolt = <3300000>;
227 /* VDDSHV8 - VSDMMC */
228 /* NOTE: on rev 1.3a, data supply */
229 regulator-name = "ldo1";
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <3300000>;
238 regulator-name = "ldo2";
239 regulator-min-microvolt = <1800000>;
240 regulator-max-microvolt = <1800000>;
246 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
247 regulator-name = "ldo3";
248 regulator-min-microvolt = <1800000>;
249 regulator-max-microvolt = <1800000>;
255 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
256 regulator-name = "ldo4";
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
267 regulator-name = "ldo9";
268 regulator-min-microvolt = <840000>;
269 regulator-max-microvolt = <1160000>;
276 regulator-name = "ldoln";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
284 /* VDDA_3V_USB: VDDA_USBHS33 */
285 regulator-name = "ldousb";
286 regulator-min-microvolt = <3300000>;
287 regulator-max-microvolt = <3300000>;
294 regulator-name = "ldortc";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
303 regulator-name = "regen1";
309 /* Needed for PMIC internal resource */
310 regulator-name = "regen2";
317 tps659038_rtc: tps659038_rtc {
318 compatible = "ti,palmas-rtc";
319 interrupt-parent = <&tps659038>;
320 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
324 tps659038_pwr_button: tps659038_pwr_button {
325 compatible = "ti,palmas-pwrbutton";
326 interrupt-parent = <&tps659038>;
327 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
329 ti,palmas-long-press-seconds = <12>;
332 tps659038_gpio: tps659038_gpio {
333 compatible = "ti,palmas-gpio";
338 extcon_usb2: tps659038_usb {
339 compatible = "ti,palmas-usb-vid";
340 ti,enable-vbus-detection;
341 ti,enable-id-detection;
342 /* ID & VBUS GPIOs provided in board dts */
346 tpic2810: tpic2810@60 {
347 compatible = "ti,tpic2810";
356 ti,pindir-d0-out-d1-in;
358 sn65hvs882: sn65hvs882@0 {
359 compatible = "pisosr-gpio";
364 spi-max-frequency = <1000000>;
371 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
372 &dra7_pmx_core 0x248>;
386 phy_id = <&davinci_mdio>, <0>;
388 dual_emac_res_vlan = <1>;
392 phy_id = <&davinci_mdio>, <1>;
394 dual_emac_res_vlan = <2>;
398 phy-supply = <&ldousb_reg>;
402 phy-supply = <&ldousb_reg>;
410 dr_mode = "peripheral";
415 vmmc-supply = <&v3_3d>;
416 vqmmc-supply = <&ldo1_reg>;
418 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
423 vmmc-supply = <&v3_3d>;
424 vqmmc-supply = <&v3_3d>;
427 max-frequency = <96000000>;
432 pinctrl-names = "default", "sleep", "active";
433 pinctrl-0 = <&dcan1_pins_sleep>;
434 pinctrl-1 = <&dcan1_pins_sleep>;
435 pinctrl-2 = <&dcan1_pins_default>;
441 spi-max-frequency = <76800000>;
443 compatible = "s25fl256s1", "jedec,spi-nor";
444 spi-max-frequency = <76800000>;
446 spi-tx-bus-width = <1>;
447 spi-rx-bus-width = <4>;
448 #address-cells = <1>;
451 /* MTD partition table.
452 * The ROM checks the first four physical blocks
453 * for a valid file to boot and the flash here is
458 reg = <0x00000000 0x000040000>;
461 label = "QSPI.u-boot";
462 reg = <0x00040000 0x00100000>;
465 label = "QSPI.u-boot-spl-os";
466 reg = <0x00140000 0x00080000>;
469 label = "QSPI.u-boot-env";
470 reg = <0x001c0000 0x00010000>;
473 label = "QSPI.u-boot-env.backup1";
474 reg = <0x001d0000 0x0010000>;
477 label = "QSPI.kernel";
478 reg = <0x001e0000 0x0800000>;
481 label = "QSPI.file-system";
482 reg = <0x009e0000 0x01620000>;