1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
7 #include "dra7-mmc-iodelay.dtsi"
8 #include "dra72x-mmc-iodelay.dtsi"
9 #include <dt-bindings/net/ti-dp83867.h>
12 compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
13 model = "TI DRA718 EVM";
16 device_type = "memory";
17 reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
25 ipu2_memory_region: ipu2-memory@95800000 {
26 compatible = "shared-dma-pool";
27 reg = <0x0 0x95800000 0x0 0x3800000>;
32 dsp1_memory_region: dsp1-memory@99000000 {
33 compatible = "shared-dma-pool";
34 reg = <0x0 0x99000000 0x0 0x4000000>;
39 ipu1_memory_region: ipu1-memory@9d000000 {
40 compatible = "shared-dma-pool";
41 reg = <0x0 0x9d000000 0x0 0x2000000>;
47 vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
48 compatible = "regulator-gpio";
50 regulator-name = "vddshv8";
51 regulator-min-microvolt = <1800000>;
52 regulator-max-microvolt = <3300000>;
54 vin-supply = <&evm_5v0>;
56 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
61 evm_1v8_sw: fixedregulator-evm_1v8 {
62 compatible = "regulator-fixed";
63 regulator-name = "evm_1v8";
64 regulator-min-microvolt = <1800000>;
65 regulator-max-microvolt = <1800000>;
66 vin-supply = <&lp8732_buck0_reg>;
71 poweroff: gpio-poweroff {
72 compatible = "gpio-poweroff";
73 gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
80 clock-frequency = <400000>;
83 compatible = "ti,lp8733";
86 buck0-in-supply =<&vsys_3v3>;
87 buck1-in-supply =<&vsys_3v3>;
88 ldo0-in-supply =<&evm_5v0>;
89 ldo1-in-supply =<&evm_5v0>;
91 lp8733_regulators: regulators {
92 lp8733_buck0_reg: buck0 {
93 /* FB_B0 -> LP8733-BUCK1 - VPO_S1_AVS - VDD_CORE_AVS (core, mpu, gpu) */
94 regulator-name = "lp8733-buck0";
95 regulator-min-microvolt = <850000>;
96 regulator-max-microvolt = <1250000>;
101 lp8733_buck1_reg: buck1 {
102 /* FB_B1 -> LP8733-BUCK2 - VPO_S2_AVS - VDD_DSP_AVS (DSP/eve/iva) */
103 regulator-name = "lp8733-buck1";
104 regulator-min-microvolt = <850000>;
105 regulator-max-microvolt = <1250000>;
110 lp8733_ldo0_reg: ldo0 {
111 /* LDO0 -> LP8733-LDO1 - VPO_L1_3V3 - VDDSHV8 (optional) */
112 regulator-name = "lp8733-ldo0";
113 regulator-min-microvolt = <3300000>;
114 regulator-max-microvolt = <3300000>;
117 lp8733_ldo1_reg: ldo1 {
118 /* LDO1 -> LP8733-LDO2 - VPO_L2_3V3 - VDDA_USB3V3 */
119 regulator-name = "lp8733-ldo1";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
129 compatible = "ti,lp8732";
132 buck0-in-supply =<&vsys_3v3>;
133 buck1-in-supply =<&vsys_3v3>;
134 ldo0-in-supply =<&vsys_3v3>;
135 ldo1-in-supply =<&vsys_3v3>;
137 lp8732_regulators: regulators {
138 lp8732_buck0_reg: buck0 {
139 /* FB_B0 -> LP8732-BUCK1 - VPO_S3_1V8 - VDDS_1V8 */
140 regulator-name = "lp8732-buck0";
141 regulator-min-microvolt = <1800000>;
142 regulator-max-microvolt = <1800000>;
147 lp8732_buck1_reg: buck1 {
148 /* FB_B1 -> LP8732-BUCK2 - VPO_S4_DDR - VDD_DDR_1V35 */
149 regulator-name = "lp8732-buck1";
150 regulator-min-microvolt = <1350000>;
151 regulator-max-microvolt = <1350000>;
156 lp8732_ldo0_reg: ldo0 {
157 /* LDO0 -> LP8732-LDO1 - VPO_L3_1V8 - VDA_1V8_PLL */
158 regulator-name = "lp8732-ldo0";
159 regulator-min-microvolt = <1800000>;
160 regulator-max-microvolt = <1800000>;
165 lp8732_ldo1_reg: ldo1 {
166 /* LDO1 -> LP8732-LDO2 - VPO_L4_1V8 - VDA_1V8_PHY */
167 regulator-name = "lp8732-ldo1";
168 regulator-min-microvolt = <1800000>;
169 regulator-max-microvolt = <1800000>;
178 interrupt-parent = <&gpio7>;
179 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
183 interrupt-parent = <&gpio7>;
184 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
190 * PM_OEn to High: Disable routing I2C3 to PM_I2C
191 * With this PM_SEL(p3) should not matter
194 gpios = <0 GPIO_ACTIVE_LOW>;
196 line-name = "pm_oe_n";
201 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
202 pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
203 pinctrl-1 = <&mmc1_pins_hs>;
204 pinctrl-2 = <&mmc1_pins_sdr12>;
205 pinctrl-3 = <&mmc1_pins_sdr25>;
206 pinctrl-4 = <&mmc1_pins_sdr50>;
207 pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
208 pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
209 vqmmc-supply = <&vpo_sd_1v8_3v3>;
213 pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
214 pinctrl-0 = <&mmc2_pins_default>;
215 pinctrl-1 = <&mmc2_pins_hs>;
216 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
217 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
218 vmmc-supply = <&evm_1v8_sw>;
219 vqmmc-supply = <&evm_1v8_sw>;
223 mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
224 <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
225 <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */
230 phy-handle = <&dp83867_0>;
231 phy-mode = "rgmii-id";
232 ti,dual-emac-pvid = <1>;
236 phy-handle = <&dp83867_1>;
237 phy-mode = "rgmii-id";
238 ti,dual-emac-pvid = <2>;
242 dp83867_0: ethernet-phy@2 {
244 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
245 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
246 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
247 ti,min-output-impedance;
248 ti,dp83867-rxctrl-strap-quirk;
251 dp83867_1: ethernet-phy@3 {
253 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
254 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
255 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
256 ti,min-output-impedance;
257 ti,dp83867-rxctrl-strap-quirk;
261 /* No Sata on this device */
270 /* No RTC on this device */
276 phy-supply = <&lp8733_ldo1_reg>;
280 phy-supply = <&lp8733_ldo1_reg>;
284 /* Supplied by VDA_1V8_PLL */
285 vdda_video-supply = <&lp8732_ldo0_reg>;
289 /* Supplied by VDA_1V8_PHY */
290 vdda_video-supply = <&lp8732_ldo1_reg>;
294 vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>;
298 vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>;
303 memory-region = <&ipu2_memory_region>;
308 memory-region = <&ipu1_memory_region>;
313 memory-region = <&dsp1_memory_region>;