1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
8 #include "dra7-evm-common.dtsi"
9 #include "dra76x-mmc-iodelay.dtsi"
10 #include <dt-bindings/net/ti-dp83867.h>
13 model = "TI DRA762 EVM";
14 compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7";
24 device_type = "memory";
25 reg = <0x0 0x80000000 0x0 0x80000000>;
28 vsys_12v0: fixedregulator-vsys12v0 {
30 compatible = "regulator-fixed";
31 regulator-name = "vsys_12v0";
32 regulator-min-microvolt = <12000000>;
33 regulator-max-microvolt = <12000000>;
38 vsys_5v0: fixedregulator-vsys5v0 {
39 /* Output of Cntlr B of TPS43351-Q1 on dra76-evm */
40 compatible = "regulator-fixed";
41 regulator-name = "vsys_5v0";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
44 vin-supply = <&vsys_12v0>;
49 vio_3v6: fixedregulator-vio_3v6 {
50 compatible = "regulator-fixed";
51 regulator-name = "vio_3v6";
52 regulator-min-microvolt = <3600000>;
53 regulator-max-microvolt = <3600000>;
54 vin-supply = <&vsys_5v0>;
59 vsys_3v3: fixedregulator-vsys3v3 {
60 /* Output of Cntlr A of TPS43351-Q1 on dra76-evm */
61 compatible = "regulator-fixed";
62 regulator-name = "vsys_3v3";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 vin-supply = <&vsys_12v0>;
70 vio_3v3: fixedregulator-vio_3v3 {
71 compatible = "regulator-fixed";
72 regulator-name = "vio_3v3";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
75 vin-supply = <&vsys_3v3>;
80 vio_3v3_sd: fixedregulator-sd {
81 compatible = "regulator-fixed";
82 regulator-name = "vio_3v3_sd";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
85 vin-supply = <&vio_3v3>;
87 gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
90 vio_1v8: fixedregulator-vio_1v8 {
91 compatible = "regulator-fixed";
92 regulator-name = "vio_1v8";
93 regulator-min-microvolt = <1800000>;
94 regulator-max-microvolt = <1800000>;
95 vin-supply = <&smps5_reg>;
98 vmmcwl_fixed: fixedregulator-mmcwl {
99 compatible = "regulator-fixed";
100 regulator-name = "vmmcwl_fixed";
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <1800000>;
103 gpio = <&gpio5 8 0>; /* gpio5_8 */
104 startup-delay-us = <70000>;
108 vtt_fixed: fixedregulator-vtt {
109 compatible = "regulator-fixed";
110 regulator-name = "vtt_fixed";
111 regulator-min-microvolt = <1350000>;
112 regulator-max-microvolt = <1350000>;
113 vin-supply = <&vsys_3v3>;
118 aic_dvdd: fixedregulator-aic_dvdd {
120 compatible = "regulator-fixed";
121 regulator-name = "aic_dvdd";
122 vin-supply = <&vio_3v3>;
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
127 clk_ov5640_fixed: clock {
128 compatible = "fixed-clock";
130 clock-frequency = <24000000>;
134 compatible = "hdmi-connector";
140 hdmi_connector_in: endpoint {
141 remote-endpoint = <&tpd12s015_out>;
147 compatible = "ti,tpd12s015";
149 gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>, /* gpio7_30, CT CP HPD */
150 <&gpio7 31 GPIO_ACTIVE_HIGH>, /* gpio7_31, LS OE */
151 <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */
154 #address-cells = <1>;
160 tpd12s015_in: endpoint {
161 remote-endpoint = <&hdmi_out>;
168 tpd12s015_out: endpoint {
169 remote-endpoint = <&hdmi_connector_in>;
178 clock-frequency = <400000>;
180 tps65917: tps65917@58 {
181 compatible = "ti,tps65917";
183 ti,system-power-controller;
184 ti,palmas-override-powerhold;
185 interrupt-controller;
186 #interrupt-cells = <2>;
189 compatible = "ti,tps65917-pmic";
191 smps12-in-supply = <&vsys_3v3>;
192 smps3-in-supply = <&vsys_3v3>;
193 smps4-in-supply = <&vsys_3v3>;
194 smps5-in-supply = <&vsys_3v3>;
195 ldo1-in-supply = <&vsys_3v3>;
196 ldo2-in-supply = <&vsys_3v3>;
197 ldo3-in-supply = <&vsys_5v0>;
198 ldo4-in-supply = <&vsys_5v0>;
199 ldo5-in-supply = <&vsys_3v3>;
201 tps65917_regulators: regulators {
204 regulator-name = "smps12";
205 regulator-min-microvolt = <850000>;
206 regulator-max-microvolt = <1250000>;
213 regulator-name = "smps3";
214 regulator-min-microvolt = <850000>;
215 regulator-max-microvolt = <1250000>;
222 regulator-name = "smps4";
223 regulator-min-microvolt = <850000>;
224 regulator-max-microvolt = <1250000>;
231 regulator-name = "smps5";
232 regulator-min-microvolt = <1800000>;
233 regulator-max-microvolt = <1800000>;
239 /* LDO1_OUT --> VDA_PHY1_1V8 */
240 regulator-name = "ldo1";
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <1800000>;
245 regulator-allow-bypass;
249 /* LDO2_OUT --> VDA_PHY2_1V8 */
250 regulator-name = "ldo2";
251 regulator-min-microvolt = <1800000>;
252 regulator-max-microvolt = <1800000>;
253 regulator-allow-bypass;
259 regulator-name = "ldo3";
260 regulator-min-microvolt = <3300000>;
261 regulator-max-microvolt = <3300000>;
268 regulator-name = "ldo5";
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <1800000>;
277 regulator-name = "ldo4";
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <3300000>;
286 tps65917_power_button {
287 compatible = "ti,palmas-pwrbutton";
288 interrupt-parent = <&tps65917>;
289 interrupts = <1 IRQ_TYPE_NONE>;
291 ti,palmas-long-press-seconds = <6>;
295 lp87565: lp87565@60 {
296 compatible = "ti,lp87565-q1";
299 buck10-in-supply =<&vsys_3v3>;
300 buck23-in-supply =<&vsys_3v3>;
302 regulators: regulators {
305 regulator-name = "buck10";
306 regulator-min-microvolt = <850000>;
307 regulator-max-microvolt = <1250000>;
314 regulator-name = "buck23";
315 regulator-min-microvolt = <850000>;
316 regulator-max-microvolt = <1250000>;
323 pcf_lcd: pcf8757@20 {
324 compatible = "ti,pcf8575", "nxp,pcf8575";
328 interrupt-controller;
329 #interrupt-cells = <2>;
330 interrupt-parent = <&gpio1>;
331 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
334 pcf_gpio_21: pcf8757@21 {
335 compatible = "ti,pcf8575", "nxp,pcf8575";
339 interrupt-parent = <&gpio1>;
340 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
341 interrupt-controller;
342 #interrupt-cells = <2>;
345 pcf_hdmi: pcf8575@26 {
346 compatible = "ti,pcf8575", "nxp,pcf8575";
351 /* vin6_sel_s0: high: VIN6, low: audio */
353 gpios = <1 GPIO_ACTIVE_HIGH>;
355 line-name = "vin6_sel_s0";
359 tlv320aic3106: tlv320aic3106@19 {
360 #sound-dai-cells = <0>;
361 compatible = "ti,tlv320aic3106";
363 adc-settle-ms = <40>;
364 ai3x-micbias-vg = <1>; /* 2.0V */
368 AVDD-supply = <&vio_3v3>;
369 IOVDD-supply = <&vio_3v3>;
370 DRVDD-supply = <&vio_3v3>;
371 DVDD-supply = <&aic_dvdd>;
377 clock-frequency = <400000>;
380 compatible = "ovti,ov5640";
383 clocks = <&clk_ov5640_fixed>;
384 clock-names = "xclk";
387 csi2_cam0: endpoint {
388 remote-endpoint = <&csi2_phy0>;
397 vdd-supply = <&buck10_reg>;
402 vmmc-supply = <&vio_3v3_sd>;
403 vqmmc-supply = <&ldo4_reg>;
406 * SDCD signal is not being used here - using the fact that GPIO mode
407 * is always hardwired.
409 cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
410 pinctrl-names = "default", "hs";
411 pinctrl-0 = <&mmc1_pins_default>;
412 pinctrl-1 = <&mmc1_pins_hs>;
417 vmmc-supply = <&vio_1v8>;
418 vqmmc-supply = <&vio_1v8>;
421 pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
422 pinctrl-0 = <&mmc2_pins_default>;
423 pinctrl-1 = <&mmc2_pins_default>;
424 pinctrl-2 = <&mmc2_pins_default>;
425 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_conf>;
430 vmmc-supply = <&vio_3v6>;
431 vqmmc-supply = <&vmmcwl_fixed>;
432 pinctrl-names = "default", "hs", "sdr12", "sdr25";
433 pinctrl-0 = <&mmc4_pins_hs &mmc4_iodelay_default_conf>;
434 pinctrl-1 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
435 pinctrl-2 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
436 pinctrl-3 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
439 /* No RTC on this device */
451 phy-handle = <&dp83867_0>;
452 phy-mode = "rgmii-id";
453 dual_emac_res_vlan = <1>;
457 phy-handle = <&dp83867_1>;
458 phy-mode = "rgmii-id";
459 dual_emac_res_vlan = <2>;
463 dp83867_0: ethernet-phy@2 {
465 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
466 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
467 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
468 ti,min-output-impedance;
469 ti,dp83867-rxctrl-strap-quirk;
472 dp83867_1: ethernet-phy@3 {
474 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
475 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
476 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
477 ti,min-output-impedance;
478 ti,dp83867-rxctrl-strap-quirk;
483 phy-supply = <&ldo3_reg>;
487 phy-supply = <&ldo3_reg>;
492 vdda_video-supply = <&ldo5_reg>;
498 vdda-supply = <&ldo1_reg>;
502 remote-endpoint = <&tpd12s015_in>;
508 spi-max-frequency = <96000000>;
510 spi-max-frequency = <96000000>;
520 phys = <&pcie1_phy>, <&pcie2_phy>;
521 phy-names = "pcie-phy0", "pcie-phy1";
526 phys = <&pcie1_phy>, <&pcie2_phy>;
527 phy-names = "pcie-phy0", "pcie-phy1";
531 vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
535 vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
540 max-bitrate = <5000000>;
545 csi2_phy0: endpoint {
546 remote-endpoint = <&csi2_cam0>;