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 */
122 clock-frequency = <400000>;
124 tps659038: tps659038@58 {
125 compatible = "ti,tps659038";
127 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
128 &dra7_pmx_core 0x418>;
129 #interrupt-cells = <2>;
130 interrupt-controller;
131 ti,system-power-controller;
132 ti,palmas-override-powerhold;
135 compatible = "ti,tps659038-pmic";
137 smps12-in-supply = <&vmain>;
138 smps3-in-supply = <&vmain>;
139 smps45-in-supply = <&vmain>;
140 smps6-in-supply = <&vmain>;
141 smps7-in-supply = <&vmain>;
142 smps8-in-supply = <&vmain>;
143 smps9-in-supply = <&vmain>;
144 ldo1-in-supply = <&vmain>;
145 ldo2-in-supply = <&vmain>;
146 ldo3-in-supply = <&vmain>;
147 ldo4-in-supply = <&vmain>;
148 ldo9-in-supply = <&vmain>;
149 ldoln-in-supply = <&vmain>;
150 ldousb-in-supply = <&vmain>;
151 ldortc-in-supply = <&vmain>;
156 regulator-name = "smps12";
157 regulator-min-microvolt = <850000>;
158 regulator-max-microvolt = <1250000>;
164 /* VDD_DDR EMIF1 EMIF2 */
165 regulator-name = "smps3";
166 regulator-min-microvolt = <1350000>;
167 regulator-max-microvolt = <1350000>;
173 /* VDD_DSPEVE on AM572 */
174 /* VDD_IVA + VDD_DSP on AM571 */
175 regulator-name = "smps45";
176 regulator-min-microvolt = <850000>;
177 regulator-max-microvolt = <1250000>;
184 regulator-name = "smps6";
185 regulator-min-microvolt = <850000>;
186 regulator-max-microvolt = <1250000>;
193 regulator-name = "smps7";
194 regulator-min-microvolt = <850000>;
195 regulator-max-microvolt = <1150000>;
201 /* 5728 - VDD_IVAHD */
202 /* 5718 - N.C. test point */
203 regulator-name = "smps8";
208 regulator-name = "smps9";
209 regulator-min-microvolt = <3300000>;
210 regulator-max-microvolt = <3300000>;
216 /* VDDSHV8 - VSDMMC */
217 /* NOTE: on rev 1.3a, data supply */
218 regulator-name = "ldo1";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <3300000>;
227 regulator-name = "ldo2";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
235 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
236 regulator-name = "ldo3";
237 regulator-min-microvolt = <1800000>;
238 regulator-max-microvolt = <1800000>;
244 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
245 regulator-name = "ldo4";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
256 regulator-name = "ldo9";
257 regulator-min-microvolt = <840000>;
258 regulator-max-microvolt = <1160000>;
265 regulator-name = "ldoln";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
273 /* VDDA_3V_USB: VDDA_USBHS33 */
274 regulator-name = "ldousb";
275 regulator-min-microvolt = <3300000>;
276 regulator-max-microvolt = <3300000>;
283 regulator-name = "ldortc";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
292 regulator-name = "regen1";
298 /* Needed for PMIC internal resource */
299 regulator-name = "regen2";
306 tps659038_rtc: tps659038_rtc {
307 compatible = "ti,palmas-rtc";
308 interrupt-parent = <&tps659038>;
309 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
313 tps659038_pwr_button: tps659038_pwr_button {
314 compatible = "ti,palmas-pwrbutton";
315 interrupt-parent = <&tps659038>;
316 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
318 ti,palmas-long-press-seconds = <12>;
321 tps659038_gpio: tps659038_gpio {
322 compatible = "ti,palmas-gpio";
327 extcon_usb2: tps659038_usb {
328 compatible = "ti,palmas-usb-vid";
329 ti,enable-vbus-detection;
330 ti,enable-id-detection;
331 /* ID & VBUS GPIOs provided in board dts */
335 tpic2810: tpic2810@60 {
336 compatible = "ti,tpic2810";
345 ti,pindir-d0-out-d1-in;
347 sn65hvs882: sn65hvs882@0 {
348 compatible = "pisosr-gpio";
353 spi-max-frequency = <1000000>;
360 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
361 &dra7_pmx_core 0x248>;
375 phy_id = <&davinci_mdio>, <0>;
377 dual_emac_res_vlan = <1>;
381 phy_id = <&davinci_mdio>, <1>;
383 dual_emac_res_vlan = <2>;
387 phy-supply = <&ldousb_reg>;
391 phy-supply = <&ldousb_reg>;
399 dr_mode = "peripheral";
404 vmmc-supply = <&v3_3d>;
405 vqmmc-supply = <&ldo1_reg>;
407 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
412 vmmc-supply = <&v3_3d>;
415 max-frequency = <96000000>;
420 pinctrl-names = "default", "sleep", "active";
421 pinctrl-0 = <&dcan1_pins_sleep>;
422 pinctrl-1 = <&dcan1_pins_sleep>;
423 pinctrl-2 = <&dcan1_pins_default>;
429 spi-max-frequency = <76800000>;
431 compatible = "s25fl256s1", "jedec,spi-nor";
432 spi-max-frequency = <76800000>;
434 spi-tx-bus-width = <1>;
435 spi-rx-bus-width = <4>;
436 #address-cells = <1>;
439 /* MTD partition table.
440 * The ROM checks the first four physical blocks
441 * for a valid file to boot and the flash here is
446 reg = <0x00000000 0x000040000>;
449 label = "QSPI.u-boot";
450 reg = <0x00040000 0x00100000>;
453 label = "QSPI.u-boot-spl-os";
454 reg = <0x00140000 0x00080000>;
457 label = "QSPI.u-boot-env";
458 reg = <0x001c0000 0x00010000>;
461 label = "QSPI.u-boot-env.backup1";
462 reg = <0x001d0000 0x0010000>;
465 label = "QSPI.kernel";
466 reg = <0x001e0000 0x0800000>;
469 label = "QSPI.file-system";
470 reg = <0x009e0000 0x01620000>;