xref: /freebsd-src/sys/contrib/device-tree/Bindings/phy/bcm-ns-usb2-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDriver for Broadcom Northstar USB 2.0 PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: brcm,ns-usb2-phy
5*c66ec88fSEmmanuel Vadot- reg: iomem address range of DMU (Device Management Unit)
6*c66ec88fSEmmanuel Vadot- reg-names: "dmu", the only needed & supported reg right now
7*c66ec88fSEmmanuel Vadot- clocks: USB PHY reference clock
8*c66ec88fSEmmanuel Vadot- clock-names: "phy-ref-clk", the only needed & supported clock right now
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotTo initialize USB 2.0 PHY driver needs to setup PLL correctly. To do this it
11*c66ec88fSEmmanuel Vadotrequires passing phandle to the USB PHY reference clock.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot	usb2-phy {
15*c66ec88fSEmmanuel Vadot		compatible = "brcm,ns-usb2-phy";
16*c66ec88fSEmmanuel Vadot		reg = <0x1800c000 0x1000>;
17*c66ec88fSEmmanuel Vadot		reg-names = "dmu";
18*c66ec88fSEmmanuel Vadot		#phy-cells = <0>;
19*c66ec88fSEmmanuel Vadot		clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
20*c66ec88fSEmmanuel Vadot		clock-names = "phy-ref-clk";
21*c66ec88fSEmmanuel Vadot	};
22