xref: /freebsd/sys/contrib/device-tree/Bindings/phy/phy-lantiq-rcu-usb2.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotLantiq XWAY SoC RCU USB 1.1/2.0 PHY binding
2*c66ec88fSEmmanuel Vadot===========================================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis binding describes the USB PHY hardware provided by the RCU module on the
5*c66ec88fSEmmanuel VadotLantiq XWAY SoCs.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotThis node has to be a sub node of the Lantiq RCU block.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot-------------------------------------------------------------------------------
10*c66ec88fSEmmanuel VadotRequired properties (controller (parent) node):
11*c66ec88fSEmmanuel Vadot- compatible	: Should be one of
12*c66ec88fSEmmanuel Vadot			"lantiq,ase-usb2-phy"
13*c66ec88fSEmmanuel Vadot			"lantiq,danube-usb2-phy"
14*c66ec88fSEmmanuel Vadot			"lantiq,xrx100-usb2-phy"
15*c66ec88fSEmmanuel Vadot			"lantiq,xrx200-usb2-phy"
16*c66ec88fSEmmanuel Vadot			"lantiq,xrx300-usb2-phy"
17*c66ec88fSEmmanuel Vadot- reg		: Defines the following sets of registers in the parent
18*c66ec88fSEmmanuel Vadot		  syscon device
19*c66ec88fSEmmanuel Vadot			- Offset of the USB PHY configuration register
20*c66ec88fSEmmanuel Vadot			- Offset of the USB Analog configuration
21*c66ec88fSEmmanuel Vadot			  register (only for xrx200 and xrx200)
22*c66ec88fSEmmanuel Vadot- clocks	: References to the (PMU) "phy" clk gate.
23*c66ec88fSEmmanuel Vadot- clock-names	: Must be "phy"
24*c66ec88fSEmmanuel Vadot- resets	: References to the RCU USB configuration reset bits.
25*c66ec88fSEmmanuel Vadot- reset-names	: Must be one of the following:
26*c66ec88fSEmmanuel Vadot			"phy" (optional)
27*c66ec88fSEmmanuel Vadot			"ctrl" (shared)
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot-------------------------------------------------------------------------------
30*c66ec88fSEmmanuel VadotExample for the USB PHYs on an xRX200 SoC:
31*c66ec88fSEmmanuel Vadot	usb_phy0: usb2-phy@18 {
32*c66ec88fSEmmanuel Vadot		compatible = "lantiq,xrx200-usb2-phy";
33*c66ec88fSEmmanuel Vadot		reg = <0x18 4>, <0x38 4>;
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot		clocks = <&pmu PMU_GATE_USB0_PHY>;
36*c66ec88fSEmmanuel Vadot		clock-names = "phy";
37*c66ec88fSEmmanuel Vadot		resets = <&reset1 4 4>, <&reset0 4 4>;
38*c66ec88fSEmmanuel Vadot		reset-names = "phy", "ctrl";
39*c66ec88fSEmmanuel Vadot		#phy-cells = <0>;
40*c66ec88fSEmmanuel Vadot	};
41