2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include "dra72-evm-common.dtsi"
10 #include "dra72x-mmc-iodelay.dtsi"
11 #include <dt-bindings/net/ti-dp83867.h>
14 compatible = "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";
15 model = "TI DRA718 EVM";
18 device_type = "memory";
19 reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
22 vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
23 compatible = "regulator-gpio";
25 regulator-name = "vddshv8";
26 regulator-min-microvolt = <1800000>;
27 regulator-max-microvolt = <3000000>;
29 vin-supply = <&evm_5v0>;
31 gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
36 evm_1v8_sw: fixedregulator-evm_1v8 {
37 compatible = "regulator-fixed";
38 regulator-name = "evm_1v8";
39 regulator-min-microvolt = <1800000>;
40 regulator-max-microvolt = <1800000>;
41 vin-supply = <&lp8732_buck0_reg>;
46 poweroff: gpio-poweroff {
47 compatible = "gpio-poweroff";
48 gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
55 clock-frequency = <400000>;
58 compatible = "ti,lp8733";
61 buck0-in-supply =<&vsys_3v3>;
62 buck1-in-supply =<&vsys_3v3>;
63 ldo0-in-supply =<&evm_5v0>;
64 ldo1-in-supply =<&evm_5v0>;
66 lp8733_regulators: regulators {
67 lp8733_buck0_reg: buck0 {
68 /* FB_B0 -> LP8733-BUCK1 - VPO_S1_AVS - VDD_CORE_AVS (core, mpu, gpu) */
69 regulator-name = "lp8733-buck0";
70 regulator-min-microvolt = <850000>;
71 regulator-max-microvolt = <1250000>;
76 lp8733_buck1_reg: buck1 {
77 /* FB_B1 -> LP8733-BUCK2 - VPO_S2_AVS - VDD_DSP_AVS (DSP/eve/iva) */
78 regulator-name = "lp8733-buck1";
79 regulator-min-microvolt = <850000>;
80 regulator-max-microvolt = <1250000>;
85 lp8733_ldo0_reg: ldo0 {
86 /* LDO0 -> LP8733-LDO1 - VPO_L1_3V3 - VDDSHV8 (optional) */
87 regulator-name = "lp8733-ldo0";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
92 lp8733_ldo1_reg: ldo1 {
93 /* LDO1 -> LP8733-LDO2 - VPO_L2_3V3 - VDDA_USB3V3 */
94 regulator-name = "lp8733-ldo1";
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
104 compatible = "ti,lp8732";
107 buck0-in-supply =<&vsys_3v3>;
108 buck1-in-supply =<&vsys_3v3>;
109 ldo0-in-supply =<&vsys_3v3>;
110 ldo1-in-supply =<&vsys_3v3>;
112 lp8732_regulators: regulators {
113 lp8732_buck0_reg: buck0 {
114 /* FB_B0 -> LP8732-BUCK1 - VPO_S3_1V8 - VDDS_1V8 */
115 regulator-name = "lp8732-buck0";
116 regulator-min-microvolt = <1800000>;
117 regulator-max-microvolt = <1800000>;
122 lp8732_buck1_reg: buck1 {
123 /* FB_B1 -> LP8732-BUCK2 - VPO_S4_DDR - VDD_DDR_1V35 */
124 regulator-name = "lp8732-buck1";
125 regulator-min-microvolt = <1350000>;
126 regulator-max-microvolt = <1350000>;
131 lp8732_ldo0_reg: ldo0 {
132 /* LDO0 -> LP8732-LDO1 - VPO_L3_1V8 - VDA_1V8_PLL */
133 regulator-name = "lp8732-ldo0";
134 regulator-min-microvolt = <1800000>;
135 regulator-max-microvolt = <1800000>;
140 lp8732_ldo1_reg: ldo1 {
141 /* LDO1 -> LP8732-LDO2 - VPO_L4_1V8 - VDA_1V8_PHY */
142 regulator-name = "lp8732-ldo1";
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <1800000>;
153 interrupt-parent = <&gpio7>;
154 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
158 interrupt-parent = <&gpio7>;
159 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
165 * PM_OEn to High: Disable routing I2C3 to PM_I2C
166 * With this PM_SEL(p3) should not matter
169 gpios = <0 GPIO_ACTIVE_LOW>;
171 line-name = "pm_oe_n";
176 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
177 pinctrl-0 = <&mmc1_pins_default>;
178 pinctrl-1 = <&mmc1_pins_hs>;
179 pinctrl-2 = <&mmc1_pins_sdr12>;
180 pinctrl-3 = <&mmc1_pins_sdr25>;
181 pinctrl-4 = <&mmc1_pins_sdr50>;
182 pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
183 pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
184 vqmmc-supply = <&vpo_sd_1v8_3v3>;
188 pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
189 pinctrl-0 = <&mmc2_pins_default>;
190 pinctrl-1 = <&mmc2_pins_hs>;
191 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
192 pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_rev20_conf>;
193 vmmc-supply = <&evm_1v8_sw>;
197 mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
198 <&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
199 <&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */
204 phy_id = <&davinci_mdio>, <2>;
205 phy-mode = "rgmii-id";
206 dual_emac_res_vlan = <1>;
210 phy_id = <&davinci_mdio>, <3>;
211 phy-mode = "rgmii-id";
212 dual_emac_res_vlan = <2>;
216 dp83867_0: ethernet-phy@2 {
218 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
219 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
220 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
221 ti,min-output-impedance;
222 ti,dp83867-rxctrl-strap-quirk;
225 dp83867_1: ethernet-phy@3 {
227 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
228 ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
229 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
230 ti,min-output-impedance;
231 ti,dp83867-rxctrl-strap-quirk;
235 /* No Sata on this device */
244 /* No RTC on this device */
250 phy-supply = <&lp8733_ldo1_reg>;
254 phy-supply = <&lp8733_ldo1_reg>;
258 /* Supplied by VDA_1V8_PLL */
259 vdda_video-supply = <&lp8732_ldo0_reg>;
263 /* Supplied by VDA_1V8_PHY */
264 vdda_video-supply = <&lp8732_ldo1_reg>;