1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
6 #include "am57xx-industrial-grade.dtsi"
10 rtc0 = &tps659038_rtc;
18 vmain: fixedregulator-vmain {
19 compatible = "regulator-fixed";
20 regulator-name = "VMAIN";
21 regulator-min-microvolt = <5000000>;
22 regulator-max-microvolt = <5000000>;
27 v3_3d: fixedregulator-v3_3d {
28 compatible = "regulator-fixed";
29 regulator-name = "V3_3D";
30 vin-supply = <&smps9_reg>;
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
37 vtt_fixed: fixedregulator-vtt {
39 compatible = "regulator-fixed";
40 regulator-name = "vtt_fixed";
41 vin-supply = <&v3_3d>;
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
50 compatible = "gpio-leds";
53 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
54 default-state = "off";
59 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
60 default-state = "off";
65 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
66 default-state = "off";
71 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
72 default-state = "off";
77 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
78 default-state = "off";
83 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
84 default-state = "off";
89 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
90 default-state = "off";
95 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
96 default-state = "off";
102 dcan1_pins_default: dcan1_pins_default {
103 pinctrl-single,pins = <
104 DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
105 DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */
109 dcan1_pins_sleep: dcan1_pins_sleep {
110 pinctrl-single,pins = <
111 DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
112 DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */
119 clock-frequency = <400000>;
121 tps659038: tps659038@58 {
122 compatible = "ti,tps659038";
124 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
125 &dra7_pmx_core 0x418>;
126 #interrupt-cells = <2>;
127 interrupt-controller;
128 ti,system-power-controller;
129 ti,palmas-override-powerhold;
132 compatible = "ti,tps659038-pmic";
134 smps12-in-supply = <&vmain>;
135 smps3-in-supply = <&vmain>;
136 smps45-in-supply = <&vmain>;
137 smps6-in-supply = <&vmain>;
138 smps7-in-supply = <&vmain>;
139 smps8-in-supply = <&vmain>;
140 smps9-in-supply = <&vmain>;
141 ldo1-in-supply = <&vmain>;
142 ldo2-in-supply = <&vmain>;
143 ldo3-in-supply = <&vmain>;
144 ldo4-in-supply = <&vmain>;
145 ldo9-in-supply = <&vmain>;
146 ldoln-in-supply = <&vmain>;
147 ldousb-in-supply = <&vmain>;
148 ldortc-in-supply = <&vmain>;
153 regulator-name = "smps12";
154 regulator-min-microvolt = <850000>;
155 regulator-max-microvolt = <1250000>;
161 /* VDD_DDR EMIF1 EMIF2 */
162 regulator-name = "smps3";
163 regulator-min-microvolt = <1350000>;
164 regulator-max-microvolt = <1350000>;
170 /* VDD_DSPEVE on AM572 */
171 /* VDD_IVA + VDD_DSP on AM571 */
172 regulator-name = "smps45";
173 regulator-min-microvolt = <850000>;
174 regulator-max-microvolt = <1250000>;
181 regulator-name = "smps6";
182 regulator-min-microvolt = <850000>;
183 regulator-max-microvolt = <1250000>;
190 regulator-name = "smps7";
191 regulator-min-microvolt = <850000>;
192 regulator-max-microvolt = <1150000>;
198 /* 5728 - VDD_IVAHD */
199 /* 5718 - N.C. test point */
200 regulator-name = "smps8";
205 regulator-name = "smps9";
206 regulator-min-microvolt = <3300000>;
207 regulator-max-microvolt = <3300000>;
213 /* VDDSHV8 - VSDMMC */
214 /* NOTE: on rev 1.3a, data supply */
215 regulator-name = "ldo1";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <3300000>;
224 regulator-name = "ldo2";
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <1800000>;
232 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
233 regulator-name = "ldo3";
234 regulator-min-microvolt = <1800000>;
235 regulator-max-microvolt = <1800000>;
241 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
242 regulator-name = "ldo4";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
253 regulator-name = "ldo9";
254 regulator-min-microvolt = <840000>;
255 regulator-max-microvolt = <1160000>;
262 regulator-name = "ldoln";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
270 /* VDDA_3V_USB: VDDA_USBHS33 */
271 regulator-name = "ldousb";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
280 regulator-name = "ldortc";
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
289 regulator-name = "regen1";
295 /* Needed for PMIC internal resource */
296 regulator-name = "regen2";
303 tps659038_rtc: tps659038_rtc {
304 compatible = "ti,palmas-rtc";
305 interrupt-parent = <&tps659038>;
306 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
310 tps659038_pwr_button: tps659038_pwr_button {
311 compatible = "ti,palmas-pwrbutton";
312 interrupt-parent = <&tps659038>;
313 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
315 ti,palmas-long-press-seconds = <12>;
318 tps659038_gpio: tps659038_gpio {
319 compatible = "ti,palmas-gpio";
324 extcon_usb2: tps659038_usb {
325 compatible = "ti,palmas-usb-vid";
326 ti,enable-vbus-detection;
327 ti,enable-id-detection;
328 /* ID & VBUS GPIOs provided in board dts */
332 tpic2810: tpic2810@60 {
333 compatible = "ti,tpic2810";
342 ti,pindir-d0-out-d1-in;
344 sn65hvs882: sn65hvs882@0 {
345 compatible = "pisosr-gpio";
350 spi-max-frequency = <1000000>;
357 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
358 &dra7_pmx_core 0x248>;
372 phy-handle = <ðphy0>;
374 dual_emac_res_vlan = <1>;
378 phy-handle = <ðphy1>;
380 dual_emac_res_vlan = <2>;
384 ethphy0: ethernet-phy@0 {
388 ethphy1: ethernet-phy@1 {
394 phy-supply = <&ldousb_reg>;
398 phy-supply = <&ldousb_reg>;
406 dr_mode = "peripheral";
411 vmmc-supply = <&v3_3d>;
412 vqmmc-supply = <&ldo1_reg>;
414 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
420 vmmc-supply = <&v3_3d>;
423 max-frequency = <96000000>;
425 /delete-property/ mmc-hs200-1_8v;
430 pinctrl-names = "default", "sleep", "active";
431 pinctrl-0 = <&dcan1_pins_sleep>;
432 pinctrl-1 = <&dcan1_pins_sleep>;
433 pinctrl-2 = <&dcan1_pins_default>;
439 spi-max-frequency = <76800000>;
441 compatible = "s25fl256s1", "jedec,spi-nor";
442 spi-max-frequency = <76800000>;
444 spi-tx-bus-width = <1>;
445 spi-rx-bus-width = <4>;
446 #address-cells = <1>;
449 /* MTD partition table.
450 * The ROM checks the first four physical blocks
451 * for a valid file to boot and the flash here is
456 reg = <0x00000000 0x00040000>;
459 label = "QSPI.u-boot";
460 reg = <0x00040000 0x00100000>;
463 label = "QSPI.u-boot-spl-os";
464 reg = <0x00140000 0x00080000>;
467 label = "QSPI.u-boot-env";
468 reg = <0x001c0000 0x00010000>;
471 label = "QSPI.u-boot-env.backup1";
472 reg = <0x001d0000 0x0010000>;
475 label = "QSPI.kernel";
476 reg = <0x001e0000 0x0800000>;
479 label = "QSPI.file-system";
480 reg = <0x009e0000 0x01620000>;