mirror of https://gitee.com/openkylin/linux.git
ARM: dts: dra72-evm-common: Correct vmmc-supply for mmc2
On dra72/dra71 evms, mmc2 vdd/ios are connected to a common 1.8V supply
not 3.3V. Also the regulator that supplies 1.8V is different on dra71-evm
so move the supply property from common dtsi to evm specific dts files.
Fixes: a4240d3af6
("ARM: dts: Add support for dra72-evm rev C (SR2.0)")
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
45f1d5e3c7
commit
0798af5451
|
@ -32,6 +32,16 @@ vpo_sd_1v8_3v3: gpio-regulator-TPS74801 {
|
|||
3000000 0x1>;
|
||||
};
|
||||
|
||||
evm_1v8_sw: fixedregulator-evm_1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "evm_1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
vin-supply = <&lp8732_buck0_reg>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
poweroff: gpio-poweroff {
|
||||
compatible = "gpio-poweroff";
|
||||
gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>;
|
||||
|
@ -165,6 +175,10 @@ &mmc1 {
|
|||
vmmc_aux-supply = <&vpo_sd_1v8_3v3>;
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
vmmc-supply = <&evm_1v8_sw>;
|
||||
};
|
||||
|
||||
&mac {
|
||||
mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
|
||||
<&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
|
||||
|
|
|
@ -419,8 +419,6 @@ &mmc2 {
|
|||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc2_pins_default>;
|
||||
|
||||
vmmc-supply = <&evm_3v3_sw>;
|
||||
bus-width = <8>;
|
||||
ti,non-removable;
|
||||
max-frequency = <192000000>;
|
||||
|
|
|
@ -15,6 +15,16 @@ memory@0 {
|
|||
device_type = "memory";
|
||||
reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
|
||||
};
|
||||
|
||||
evm_1v8_sw: fixedregulator-evm_1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "evm_1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
vin-supply = <&smps4_reg>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
|
@ -82,3 +92,7 @@ dp83867_1: ethernet-phy@3 {
|
|||
interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
|
||||
};
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
vmmc-supply = <&evm_1v8_sw>;
|
||||
};
|
||||
|
|
|
@ -13,6 +13,16 @@ memory@0 {
|
|||
device_type = "memory";
|
||||
reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */
|
||||
};
|
||||
|
||||
evm_1v8_sw: fixedregulator-evm_1v8 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "evm_1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
vin-supply = <&smps4_reg>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
|
@ -43,3 +53,7 @@ &cpsw_emac0 {
|
|||
phy_id = <&davinci_mdio>, <3>;
|
||||
phy-mode = "rgmii";
|
||||
};
|
||||
|
||||
&mmc2 {
|
||||
vmmc-supply = <&evm_1v8_sw>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue