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