xref: /freebsd/sys/contrib/device-tree/Bindings/phy/phy-lpc18xx-usb-otg.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotNXP LPC18xx/43xx internal USB OTG PHY binding
2*c66ec88fSEmmanuel Vadot---------------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis file contains documentation for the internal USB OTG PHY found
5*c66ec88fSEmmanuel Vadotin NXP LPC18xx and LPC43xx SoCs.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot- compatible	: must be "nxp,lpc1850-usb-otg-phy"
9*c66ec88fSEmmanuel Vadot- clocks	: must be exactly one entry
10*c66ec88fSEmmanuel VadotSee: Documentation/devicetree/bindings/clock/clock-bindings.txt
11*c66ec88fSEmmanuel Vadot- #phy-cells	: must be 0 for this phy
12*c66ec88fSEmmanuel VadotSee: Documentation/devicetree/bindings/phy/phy-bindings.txt
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotThe phy node must be a child of the creg syscon node.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadotcreg: syscon@40043000 {
18*c66ec88fSEmmanuel Vadot	compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
19*c66ec88fSEmmanuel Vadot	reg = <0x40043000 0x1000>;
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	usb0_otg_phy: phy {
22*c66ec88fSEmmanuel Vadot		compatible = "nxp,lpc1850-usb-otg-phy";
23*c66ec88fSEmmanuel Vadot		clocks = <&ccu1 CLK_USB0>;
24*c66ec88fSEmmanuel Vadot		#phy-cells = <0>;
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot};
27