1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
6 #include "am57xx-industrial-grade.dtsi"
10 rtc0 = &tps659038_rtc;
19 vmain: fixedregulator-vmain {
20 compatible = "regulator-fixed";
21 regulator-name = "VMAIN";
22 regulator-min-microvolt = <5000000>;
23 regulator-max-microvolt = <5000000>;
28 v3_3d: fixedregulator-v3_3d {
29 compatible = "regulator-fixed";
30 regulator-name = "V3_3D";
31 vin-supply = <&smps9_reg>;
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
38 vtt_fixed: fixedregulator-vtt {
40 compatible = "regulator-fixed";
41 regulator-name = "vtt_fixed";
42 vin-supply = <&v3_3d>;
43 regulator-min-microvolt = <3300000>;
44 regulator-max-microvolt = <3300000>;
51 compatible = "gpio-leds";
54 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
60 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
61 default-state = "off";
66 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
67 default-state = "off";
72 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
73 default-state = "off";
78 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
79 default-state = "off";
84 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
85 default-state = "off";
90 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
91 default-state = "off";
96 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
97 default-state = "off";
102 compatible = "hdmi-connector";
108 hdmi_connector_in: endpoint {
109 remote-endpoint = <&tpd12s015_out>;
114 tpd12s015: encoder@0 {
115 compatible = "ti,tpd12s016", "ti,tpd12s015";
117 gpios = <0>, /* optional CT_CP_HPD */
118 <0>, /* optional LS_OE */
119 <&gpio7 12 GPIO_ACTIVE_HIGH>; /* HPD */
122 #address-cells = <1>;
128 tpd12s015_in: endpoint@0 {
129 remote-endpoint = <&hdmi_out>;
136 tpd12s015_out: endpoint@0 {
137 remote-endpoint = <&hdmi_connector_in>;
145 dcan1_pins_default: dcan1_pins_default {
146 pinctrl-single,pins = <
147 DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
148 DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */
152 dcan1_pins_sleep: dcan1_pins_sleep {
153 pinctrl-single,pins = <
154 DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
155 DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */
162 clock-frequency = <400000>;
164 tps659038: tps659038@58 {
165 compatible = "ti,tps659038";
167 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
168 &dra7_pmx_core 0x418>;
169 #interrupt-cells = <2>;
170 interrupt-controller;
171 ti,system-power-controller;
172 ti,palmas-override-powerhold;
175 compatible = "ti,tps659038-pmic";
177 smps12-in-supply = <&vmain>;
178 smps3-in-supply = <&vmain>;
179 smps45-in-supply = <&vmain>;
180 smps6-in-supply = <&vmain>;
181 smps7-in-supply = <&vmain>;
182 smps8-in-supply = <&vmain>;
183 smps9-in-supply = <&vmain>;
184 ldo1-in-supply = <&vmain>;
185 ldo2-in-supply = <&vmain>;
186 ldo3-in-supply = <&vmain>;
187 ldo4-in-supply = <&vmain>;
188 ldo9-in-supply = <&vmain>;
189 ldoln-in-supply = <&vmain>;
190 ldousb-in-supply = <&vmain>;
191 ldortc-in-supply = <&vmain>;
196 regulator-name = "smps12";
197 regulator-min-microvolt = <850000>;
198 regulator-max-microvolt = <1250000>;
204 /* VDD_DDR EMIF1 EMIF2 */
205 regulator-name = "smps3";
206 regulator-min-microvolt = <1350000>;
207 regulator-max-microvolt = <1350000>;
213 /* VDD_DSPEVE on AM572 */
214 /* VDD_IVA + VDD_DSP on AM571 */
215 regulator-name = "smps45";
216 regulator-min-microvolt = <850000>;
217 regulator-max-microvolt = <1250000>;
224 regulator-name = "smps6";
225 regulator-min-microvolt = <850000>;
226 regulator-max-microvolt = <1250000>;
233 regulator-name = "smps7";
234 regulator-min-microvolt = <850000>;
235 regulator-max-microvolt = <1150000>;
241 /* 5728 - VDD_IVAHD */
242 /* 5718 - N.C. test point */
243 regulator-name = "smps8";
248 regulator-name = "smps9";
249 regulator-min-microvolt = <3300000>;
250 regulator-max-microvolt = <3300000>;
256 /* VDDSHV8 - VSDMMC */
257 /* NOTE: on rev 1.3a, data supply */
258 regulator-name = "ldo1";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <3300000>;
267 regulator-name = "ldo2";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
275 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
276 regulator-name = "ldo3";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
284 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
285 regulator-name = "ldo4";
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <1800000>;
296 regulator-name = "ldo9";
297 regulator-min-microvolt = <840000>;
298 regulator-max-microvolt = <1160000>;
305 regulator-name = "ldoln";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
313 /* VDDA_3V_USB: VDDA_USBHS33 */
314 regulator-name = "ldousb";
315 regulator-min-microvolt = <3300000>;
316 regulator-max-microvolt = <3300000>;
323 regulator-name = "ldortc";
324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <1800000>;
332 regulator-name = "regen1";
338 /* Needed for PMIC internal resource */
339 regulator-name = "regen2";
346 tps659038_rtc: tps659038_rtc {
347 compatible = "ti,palmas-rtc";
348 interrupt-parent = <&tps659038>;
349 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
353 tps659038_pwr_button: tps659038_pwr_button {
354 compatible = "ti,palmas-pwrbutton";
355 interrupt-parent = <&tps659038>;
356 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
358 ti,palmas-long-press-seconds = <12>;
361 tps659038_gpio: tps659038_gpio {
362 compatible = "ti,palmas-gpio";
367 extcon_usb2: tps659038_usb {
368 compatible = "ti,palmas-usb-vid";
369 ti,enable-vbus-detection;
370 ti,enable-id-detection;
371 /* ID & VBUS GPIOs provided in board dts */
375 tpic2810: tpic2810@60 {
376 compatible = "ti,tpic2810";
385 ti,pindir-d0-out-d1-in;
387 sn65hvs882: sn65hvs882@0 {
388 compatible = "pisosr-gpio";
393 spi-max-frequency = <1000000>;
400 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
401 &dra7_pmx_core 0x248>;
410 phy-handle = <ðphy0>;
412 dual_emac_res_vlan = <1>;
416 phy-handle = <ðphy1>;
418 dual_emac_res_vlan = <2>;
422 ethphy0: ethernet-phy@0 {
426 ethphy1: ethernet-phy@1 {
432 phy-supply = <&ldousb_reg>;
436 phy-supply = <&ldousb_reg>;
444 extcon = <&extcon_usb2>;
448 extcon = <&extcon_usb2>;
454 vmmc-supply = <&v3_3d>;
455 vqmmc-supply = <&ldo1_reg>;
457 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
463 vmmc-supply = <&v3_3d>;
464 vqmmc-supply = <&v3_3d>;
467 max-frequency = <96000000>;
473 pinctrl-names = "default", "sleep", "active";
474 pinctrl-0 = <&dcan1_pins_sleep>;
475 pinctrl-1 = <&dcan1_pins_sleep>;
476 pinctrl-2 = <&dcan1_pins_default>;
482 spi-max-frequency = <76800000>;
484 compatible = "s25fl256s1", "jedec,spi-nor";
485 spi-max-frequency = <76800000>;
487 spi-tx-bus-width = <1>;
488 spi-rx-bus-width = <4>;
489 #address-cells = <1>;
492 /* MTD partition table.
493 * The ROM checks the first four physical blocks
494 * for a valid file to boot and the flash here is
499 reg = <0x00000000 0x000040000>;
502 label = "QSPI.u-boot";
503 reg = <0x00040000 0x00100000>;
506 label = "QSPI.u-boot-spl-os";
507 reg = <0x00140000 0x00080000>;
510 label = "QSPI.u-boot-env";
511 reg = <0x001c0000 0x00010000>;
514 label = "QSPI.u-boot-env.backup1";
515 reg = <0x001d0000 0x0010000>;
518 label = "QSPI.kernel";
519 reg = <0x001e0000 0x0800000>;
522 label = "QSPI.file-system";
523 reg = <0x009e0000 0x01620000>;
529 vdd-supply = <&smps12_reg>;
535 vdda-supply = <&ldo4_reg>;
539 remote-endpoint = <&tpd12s015_in>;