xref: /freebsd/sys/contrib/device-tree/Bindings/phy/brcm,ns2-drd-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible: brcm,ns2-drd-phy
5*c66ec88fSEmmanuel Vadot - reg: offset and length of the NS2 PHY related registers.
6*c66ec88fSEmmanuel Vadot - reg-names
7*c66ec88fSEmmanuel Vadot   The below registers must be provided.
8*c66ec88fSEmmanuel Vadot   icfg - for DRD ICFG configurations
9*c66ec88fSEmmanuel Vadot   rst-ctrl - for DRD IDM reset
10*c66ec88fSEmmanuel Vadot   crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset
11*c66ec88fSEmmanuel Vadot   usb2-strap - for port over current polarity reversal
12*c66ec88fSEmmanuel Vadot - #phy-cells: Must be 0. No args required.
13*c66ec88fSEmmanuel Vadot - vbus-gpios: vbus gpio binding
14*c66ec88fSEmmanuel Vadot - id-gpios: id gpio binding
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotRefer to phy/phy-bindings.txt for the generic PHY binding properties
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot	usbdrd_phy: phy@66000960 {
20*c66ec88fSEmmanuel Vadot			#phy-cells = <0>;
21*c66ec88fSEmmanuel Vadot			compatible = "brcm,ns2-drd-phy";
22*c66ec88fSEmmanuel Vadot			reg = <0x66000960 0x24>,
23*c66ec88fSEmmanuel Vadot			      <0x67012800 0x4>,
24*c66ec88fSEmmanuel Vadot			      <0x6501d148 0x4>,
25*c66ec88fSEmmanuel Vadot			      <0x664d0700 0x4>;
26*c66ec88fSEmmanuel Vadot			reg-names = "icfg", "rst-ctrl",
27*c66ec88fSEmmanuel Vadot				    "crmu-ctrl", "usb2-strap";
28*c66ec88fSEmmanuel Vadot			id-gpios = <&gpio_g 30 0>;
29*c66ec88fSEmmanuel Vadot			vbus-gpios = <&gpio_g 31 0>;
30*c66ec88fSEmmanuel Vadot	};
31