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;
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 v1_2d: fixedregulator-v1_2d {
39 compatible = "regulator-fixed";
40 regulator-name = "V1_2D";
41 vin-supply = <&vmain>;
42 regulator-min-microvolt = <1200000>;
43 regulator-max-microvolt = <1200000>;
48 vtt_fixed: fixedregulator-vtt {
50 compatible = "regulator-fixed";
51 regulator-name = "vtt_fixed";
52 vin-supply = <&v3_3d>;
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
61 compatible = "gpio-leds";
64 gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
65 default-state = "off";
70 gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
71 default-state = "off";
76 gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
82 gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
83 default-state = "off";
88 gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
94 gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
95 default-state = "off";
100 gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
101 default-state = "off";
106 gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
107 default-state = "off";
112 compatible = "hdmi-connector";
118 hdmi_connector_in: endpoint {
119 remote-endpoint = <&tpd12s015_out>;
124 tpd12s015: encoder@0 {
125 compatible = "ti,tpd12s016", "ti,tpd12s015";
127 gpios = <0>, /* optional CT_CP_HPD */
128 <0>, /* optional LS_OE */
129 <&gpio7 12 GPIO_ACTIVE_HIGH>; /* HPD */
132 #address-cells = <1>;
138 tpd12s015_in: endpoint@0 {
139 remote-endpoint = <&hdmi_out>;
146 tpd12s015_out: endpoint@0 {
147 remote-endpoint = <&hdmi_connector_in>;
153 src_clk_x1: src_clk_x1 {
155 compatible = "fixed-clock";
156 clock-frequency = <20000000>;
161 dcan1_pins_default: dcan1_pins_default {
162 pinctrl-single,pins = <
163 DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */
164 DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */
168 dcan1_pins_sleep: dcan1_pins_sleep {
169 pinctrl-single,pins = <
170 DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */
171 DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */
178 clock-frequency = <400000>;
180 tps659038: tps659038@58 {
181 compatible = "ti,tps659038";
183 interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
184 &dra7_pmx_core 0x418>;
185 #interrupt-cells = <2>;
186 interrupt-controller;
187 ti,system-power-controller;
188 ti,palmas-override-powerhold;
191 compatible = "ti,tps659038-pmic";
193 smps12-in-supply = <&vmain>;
194 smps3-in-supply = <&vmain>;
195 smps45-in-supply = <&vmain>;
196 smps6-in-supply = <&vmain>;
197 smps7-in-supply = <&vmain>;
198 smps8-in-supply = <&vmain>;
199 smps9-in-supply = <&vmain>;
200 ldo1-in-supply = <&vmain>;
201 ldo2-in-supply = <&vmain>;
202 ldo3-in-supply = <&vmain>;
203 ldo4-in-supply = <&vmain>;
204 ldo9-in-supply = <&vmain>;
205 ldoln-in-supply = <&vmain>;
206 ldousb-in-supply = <&vmain>;
207 ldortc-in-supply = <&vmain>;
212 regulator-name = "smps12";
213 regulator-min-microvolt = <850000>;
214 regulator-max-microvolt = <1250000>;
220 /* VDD_DDR EMIF1 EMIF2 */
221 regulator-name = "smps3";
222 regulator-min-microvolt = <1350000>;
223 regulator-max-microvolt = <1350000>;
229 /* VDD_DSPEVE on AM572 */
230 /* VDD_IVA + VDD_DSP on AM571 */
231 regulator-name = "smps45";
232 regulator-min-microvolt = <850000>;
233 regulator-max-microvolt = <1250000>;
240 regulator-name = "smps6";
241 regulator-min-microvolt = <850000>;
242 regulator-max-microvolt = <1250000>;
249 regulator-name = "smps7";
250 regulator-min-microvolt = <850000>;
251 regulator-max-microvolt = <1150000>;
257 /* 5728 - VDD_IVAHD */
258 /* 5718 - N.C. test point */
259 regulator-name = "smps8";
264 regulator-name = "smps9";
265 regulator-min-microvolt = <3300000>;
266 regulator-max-microvolt = <3300000>;
272 /* VDDSHV8 - VSDMMC */
273 /* NOTE: on rev 1.3a, data supply */
274 regulator-name = "ldo1";
275 regulator-min-microvolt = <1800000>;
276 regulator-max-microvolt = <3300000>;
283 regulator-name = "ldo2";
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
291 /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
292 regulator-name = "ldo3";
293 regulator-min-microvolt = <1800000>;
294 regulator-max-microvolt = <1800000>;
300 /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
301 regulator-name = "ldo4";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
312 regulator-name = "ldo9";
313 regulator-min-microvolt = <840000>;
314 regulator-max-microvolt = <1160000>;
321 regulator-name = "ldoln";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
329 /* VDDA_3V_USB: VDDA_USBHS33 */
330 regulator-name = "ldousb";
331 regulator-min-microvolt = <3300000>;
332 regulator-max-microvolt = <3300000>;
339 regulator-name = "ldortc";
340 regulator-min-microvolt = <1800000>;
341 regulator-max-microvolt = <1800000>;
348 regulator-name = "regen1";
354 /* Needed for PMIC internal resource */
355 regulator-name = "regen2";
362 tps659038_rtc: tps659038_rtc {
363 compatible = "ti,palmas-rtc";
364 interrupt-parent = <&tps659038>;
365 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
369 tps659038_pwr_button: tps659038_pwr_button {
370 compatible = "ti,palmas-pwrbutton";
371 interrupt-parent = <&tps659038>;
372 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
374 ti,palmas-long-press-seconds = <12>;
377 tps659038_gpio: tps659038_gpio {
378 compatible = "ti,palmas-gpio";
383 extcon_usb2: tps659038_usb {
384 compatible = "ti,palmas-usb-vid";
385 ti,enable-vbus-detection;
386 ti,enable-id-detection;
387 /* ID & VBUS GPIOs provided in board dts */
391 tpic2810: tpic2810@60 {
392 compatible = "ti,tpic2810";
398 dsi_bridge: tc358778@e {
399 compatible = "toshiba,tc358778", "toshiba,tc358768";
403 clocks = <&src_clk_x1>;
404 clock-names = "refclk";
406 vddc-supply = <&v1_2d>;
407 vddmipi-supply = <&v1_2d>;
408 vddio-supply = <&v3_3d>;
410 dsi_bridge_ports: ports {
411 #address-cells = <1>;
417 remote-endpoint = <&dpi_out>;
427 ti,pindir-d0-out-d1-in;
429 sn65hvs882: sn65hvs882@0 {
430 compatible = "pisosr-gpio";
435 spi-max-frequency = <1000000>;
442 interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
443 &dra7_pmx_core 0x248>;
456 phy-handle = <ðphy0>;
457 phy-mode = "rgmii-rxid";
458 ti,dual-emac-pvid = <1>;
462 phy-handle = <ðphy1>;
463 phy-mode = "rgmii-rxid";
464 ti,dual-emac-pvid = <2>;
468 ethphy0: ethernet-phy@0 {
472 ethphy1: ethernet-phy@1 {
478 phy-supply = <&ldousb_reg>;
482 phy-supply = <&ldousb_reg>;
490 extcon = <&extcon_usb2>;
494 extcon = <&extcon_usb2>;
500 vmmc-supply = <&v3_3d>;
501 vqmmc-supply = <&ldo1_reg>;
503 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
509 vmmc-supply = <&v3_3d>;
510 vqmmc-supply = <&v3_3d>;
513 max-frequency = <96000000>;
519 pinctrl-names = "default", "sleep", "active";
520 pinctrl-0 = <&dcan1_pins_sleep>;
521 pinctrl-1 = <&dcan1_pins_sleep>;
522 pinctrl-2 = <&dcan1_pins_default>;
528 spi-max-frequency = <76800000>;
530 compatible = "s25fl256s1", "jedec,spi-nor";
531 spi-max-frequency = <76800000>;
533 spi-tx-bus-width = <1>;
534 spi-rx-bus-width = <4>;
535 #address-cells = <1>;
538 /* MTD partition table.
539 * The ROM checks the first four physical blocks
540 * for a valid file to boot and the flash here is
545 reg = <0x00000000 0x000040000>;
548 label = "QSPI.u-boot";
549 reg = <0x00040000 0x00100000>;
552 label = "QSPI.u-boot-spl-os";
553 reg = <0x00140000 0x00080000>;
556 label = "QSPI.u-boot-env";
557 reg = <0x001c0000 0x00010000>;
560 label = "QSPI.u-boot-env.backup1";
561 reg = <0x001d0000 0x0010000>;
564 label = "QSPI.kernel";
565 reg = <0x001e0000 0x0800000>;
568 label = "QSPI.file-system";
569 reg = <0x009e0000 0x01620000>;
575 vdd-supply = <&smps12_reg>;
581 vdda-supply = <&ldo4_reg>;
585 remote-endpoint = <&tpd12s015_in>;
593 vdda_video-supply = <&ldoln_reg>;
596 #address-cells = <1>;
603 remote-endpoint = <&rgb_in>;