xref: /freebsd/sys/contrib/device-tree/Bindings/phy/phy-da8xx-usb.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTI DA8xx/OMAP-L1xx/AM18xx USB PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: must be "ti,da830-usb-phy".
5*c66ec88fSEmmanuel Vadot - #phy-cells: must be 1.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotThis device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG
8*c66ec88fSEmmanuel Vadotcontrollers on DA8xx SoCs. Consumers of this device should use index 0 for
9*c66ec88fSEmmanuel Vadotthe USB 2.0 phy device and index 1 for the USB 1.1 phy device.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotIt also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon"
12*c66ec88fSEmmanuel Vadotto access the CFGCHIP2 register.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	cfgchip: cfgchip@1417c {
17*c66ec88fSEmmanuel Vadot		compatible = "ti,da830-cfgchip", "syscon";
18*c66ec88fSEmmanuel Vadot		reg = <0x1417c 0x14>;
19*c66ec88fSEmmanuel Vadot	};
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	usb_phy: usb-phy {
22*c66ec88fSEmmanuel Vadot		compatible = "ti,da830-usb-phy";
23*c66ec88fSEmmanuel Vadot		#phy-cells = <1>;
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot	usb20: usb@200000 {
27*c66ec88fSEmmanuel Vadot		compatible = "ti,da830-musb";
28*c66ec88fSEmmanuel Vadot		reg = <0x200000 0x1000>;
29*c66ec88fSEmmanuel Vadot		interrupts = <58>;
30*c66ec88fSEmmanuel Vadot		phys = <&usb_phy 0>;
31*c66ec88fSEmmanuel Vadot		phy-names = "usb-phy";
32*c66ec88fSEmmanuel Vadot	};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	usb11: usb@225000 {
35*c66ec88fSEmmanuel Vadot		compatible = "ti,da830-ohci";
36*c66ec88fSEmmanuel Vadot		reg = <0x225000 0x1000>;
37*c66ec88fSEmmanuel Vadot		interrupts = <59>;
38*c66ec88fSEmmanuel Vadot		phys = <&usb_phy 1>;
39*c66ec88fSEmmanuel Vadot		phy-names = "usb-phy";
40*c66ec88fSEmmanuel Vadot	};
41