Commit 96c78e2b authored by Gregory CLEMENT's avatar Gregory CLEMENT

ARM: dts: armada-38x: use usb-nop-xceiv PHY for the xhci nodes on Armada 388 GP

Using the usb-nop-xceiv PHY for the xhci nodes allows a better
representation of the hardware but also a better handling of the
regulator. By linking the regulator to the PHY there is no more need to
use the regulator-always-on property, then it allows a better power
management.

The remaining usb node uses the ehci-orion driver which can't be used
with the usb-nop-xceiv PHY and must keeps the direct link to the
regulator with the regulator-always-on property.
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent a8409c65
...@@ -229,13 +229,13 @@ sdhci@d8000 { ...@@ -229,13 +229,13 @@ sdhci@d8000 {
/* CON5 */ /* CON5 */
usb3@f0000 { usb3@f0000 {
vcc-supply = <&reg_usb2_1_vbus>; usb-phy = <&usb2_1_phy>;
status = "okay"; status = "okay";
}; };
/* CON7 */ /* CON7 */
usb3@f8000 { usb3@f8000 {
vcc-supply = <&reg_usb3_vbus>; usb-phy = <&usb3_phy>;
status = "okay"; status = "okay";
}; };
}; };
...@@ -273,13 +273,22 @@ gpio-fan { ...@@ -273,13 +273,22 @@ gpio-fan {
}; };
}; };
usb2_1_phy: usb2_1_phy {
compatible = "usb-nop-xceiv";
vcc-supply = <&reg_usb2_1_vbus>;
};
usb3_phy: usb3_phy {
compatible = "usb-nop-xceiv";
vcc-supply = <&reg_usb3_vbus>;
};
reg_usb3_vbus: usb3-vbus { reg_usb3_vbus: usb3-vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "usb3-vbus"; regulator-name = "usb3-vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
enable-active-high; enable-active-high;
regulator-always-on;
gpio = <&expander1 15 GPIO_ACTIVE_HIGH>; gpio = <&expander1 15 GPIO_ACTIVE_HIGH>;
}; };
...@@ -299,7 +308,6 @@ reg_usb2_1_vbus: v5-vbus1 { ...@@ -299,7 +308,6 @@ reg_usb2_1_vbus: v5-vbus1 {
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
enable-active-high; enable-active-high;
regulator-always-on;
gpio = <&expander0 4 GPIO_ACTIVE_HIGH>; gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment