1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/brcm,ns2-drd-phy.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: Broadcom Northstar2 USB2 Dual Role Device PHY 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Florian Fainelli <florian.fainelli@broadcom.com> 11*833e5d42SEmmanuel Vadot - Hauke Mehrtens <hauke@hauke-m.de> 12*833e5d42SEmmanuel Vadot - Rafał Miłecki <zajec5@gmail.com> 13*833e5d42SEmmanuel Vadot 14*833e5d42SEmmanuel Vadotproperties: 15*833e5d42SEmmanuel Vadot compatible: 16*833e5d42SEmmanuel Vadot const: brcm,ns2-drd-phy 17*833e5d42SEmmanuel Vadot 18*833e5d42SEmmanuel Vadot reg: 19*833e5d42SEmmanuel Vadot items: 20*833e5d42SEmmanuel Vadot - description: DRD ICFG configurations 21*833e5d42SEmmanuel Vadot - description: DRD IDM reset 22*833e5d42SEmmanuel Vadot - description: CRMU core vdd, PHY and PHY PLL reset 23*833e5d42SEmmanuel Vadot - description: Port over current polarity reversal 24*833e5d42SEmmanuel Vadot 25*833e5d42SEmmanuel Vadot reg-names: 26*833e5d42SEmmanuel Vadot items: 27*833e5d42SEmmanuel Vadot - const: icfg 28*833e5d42SEmmanuel Vadot - const: rst-ctrl 29*833e5d42SEmmanuel Vadot - const: crmu-ctrl 30*833e5d42SEmmanuel Vadot - const: usb2-strap 31*833e5d42SEmmanuel Vadot 32*833e5d42SEmmanuel Vadot '#phy-cells': 33*833e5d42SEmmanuel Vadot const: 0 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel Vadot id-gpios: 36*833e5d42SEmmanuel Vadot maxItems: 1 37*833e5d42SEmmanuel Vadot description: ID GPIO line 38*833e5d42SEmmanuel Vadot 39*833e5d42SEmmanuel Vadot vbus-gpios: 40*833e5d42SEmmanuel Vadot maxItems: 1 41*833e5d42SEmmanuel Vadot description: VBUS GPIO line 42*833e5d42SEmmanuel Vadot 43*833e5d42SEmmanuel Vadotrequired: 44*833e5d42SEmmanuel Vadot - '#phy-cells' 45*833e5d42SEmmanuel Vadot - compatible 46*833e5d42SEmmanuel Vadot - reg 47*833e5d42SEmmanuel Vadot - reg-names 48*833e5d42SEmmanuel Vadot - id-gpios 49*833e5d42SEmmanuel Vadot - vbus-gpios 50*833e5d42SEmmanuel Vadot 51*833e5d42SEmmanuel VadotadditionalProperties: false 52*833e5d42SEmmanuel Vadot 53*833e5d42SEmmanuel Vadotexamples: 54*833e5d42SEmmanuel Vadot - | 55*833e5d42SEmmanuel Vadot phy@66000960 { 56*833e5d42SEmmanuel Vadot #phy-cells = <0>; 57*833e5d42SEmmanuel Vadot compatible = "brcm,ns2-drd-phy"; 58*833e5d42SEmmanuel Vadot reg = <0x66000960 0x24>, <0x67012800 0x4>, <0x6501d148 0x4>, <0x664d0700 0x4>; 59*833e5d42SEmmanuel Vadot reg-names = "icfg", "rst-ctrl", "crmu-ctrl", "usb2-strap"; 60*833e5d42SEmmanuel Vadot id-gpios = <&gpio_g 30 0>; 61*833e5d42SEmmanuel Vadot vbus-gpios = <&gpio_g 31 0>; 62*833e5d42SEmmanuel Vadot }; 63