mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
81192b7966
The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Nadav Haklai <nadavh@marvell.com> Cc: Neta Zur Hershkovits <neta@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Haim Boot <hayim@marvell.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
28 lines
972 B
Text
28 lines
972 B
Text
Marvell SOC USB controllers
|
|
|
|
This controller is integrated in Armada 3700/8K.
|
|
It uses the same properties as a generic XHCI host controller
|
|
|
|
Required properties :
|
|
- compatible: should be one or more of:
|
|
- "marvell,armada3700-xhci", "generic-xhci" for Armada 37xx SoCs
|
|
- "marvell,armada-8k-xhci", "generic-xhci" for Armada A8K SoCs
|
|
- reg: should contain address and length of the standard XHCI
|
|
register set for the device.
|
|
- interrupts: one XHCI interrupt should be described here.
|
|
|
|
Optional properties:
|
|
- clocks: phandle to system controller clock driving this unit
|
|
- vbus-supply : If present, specifies the fixed regulator to be turned on
|
|
for providing power to the USB VBUS rail.
|
|
|
|
Example:
|
|
cpm_usb3_0: usb3@500000 {
|
|
compatible = "marvell,armada-8k-xhci",
|
|
"generic-xhci";
|
|
reg = <0x500000 0x4000>;
|
|
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpm_syscon0 1 22>;
|
|
vbus-supply = <®_usb3h0_vbus>;
|
|
status = "disabled";
|
|
};
|