Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | BROADCOM NORTHSTAR2 USB2 (DUAL ROLE DEVICE) PHY |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: brcm,ns2-drd-phy |
| 5 | - reg: offset and length of the NS2 PHY related registers. |
| 6 | - reg-names |
| 7 | The below registers must be provided. |
| 8 | icfg - for DRD ICFG configurations |
| 9 | rst-ctrl - for DRD IDM reset |
| 10 | crmu-ctrl - for CRMU core vdd, PHY and PHY PLL reset |
| 11 | usb2-strap - for port over current polarity reversal |
| 12 | - #phy-cells: Must be 0. No args required. |
| 13 | - vbus-gpios: vbus gpio binding |
| 14 | - id-gpios: id gpio binding |
| 15 | |
| 16 | Refer to phy/phy-bindings.txt for the generic PHY binding properties |
| 17 | |
| 18 | Example: |
| 19 | usbdrd_phy: phy@66000960 { |
| 20 | #phy-cells = <0>; |
| 21 | compatible = "brcm,ns2-drd-phy"; |
| 22 | reg = <0x66000960 0x24>, |
| 23 | <0x67012800 0x4>, |
| 24 | <0x6501d148 0x4>, |
| 25 | <0x664d0700 0x4>; |
| 26 | reg-names = "icfg", "rst-ctrl", |
| 27 | "crmu-ctrl", "usb2-strap"; |
| 28 | id-gpios = <&gpio_g 30 0>; |
| 29 | vbus-gpios = <&gpio_g 31 0>; |
| 30 | }; |