1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/phy/brcm,brcmstb-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom STB USB PHY
9 description: Broadcom's PHY that handles EHCI/OHCI and/or XHCI
12 - Al Cooper <alcooperx@gmail.com>
13 - Rafał Miłecki <rafal@milecki.pl>
18 - brcm,bcm4908-usb-phy
19 - brcm,bcm7211-usb-phy
20 - brcm,bcm7216-usb-phy
21 - brcm,brcmstb-usb-phy
27 - description: the base CTRL register
28 - description: XHCI EC register
29 - description: XHCI GBL register
30 - description: USB PHY register
31 - description: USB MDIO register
32 - description: BDC register
60 description: wakeup interrupt
66 $ref: /schemas/types.yaml#/definitions/uint32
67 description: Invert Port Power
72 $ref: /schemas/types.yaml#/definitions/uint32
73 description: Invert Over Current detection
78 description: PHY Device mode. If this property is not defined, the PHY will
79 default to "host" mode.
87 description: phandle to syscon for handling config registers
88 $ref: /schemas/types.yaml#/definitions/phandle
91 description: Indicates the PHY has an XHCI PHY.
95 description: Indicates the PHY has an EHCI/OHCI PHY.
100 Cell allows setting the type of the PHY. Possible values are:
101 - PHY_TYPE_USB2 for USB1.1/2.0 PHY
102 - PHY_TYPE_USB3 for USB3.x PHY
121 - const: brcm,bcm4908-usb-phy
122 - const: brcm,brcmstb-usb-phy
132 const: brcm,bcm7211-usb-phy
145 const: brcm,bcm7216-usb-phy
155 additionalProperties: false
159 #include <dt-bindings/phy/phy.h>
162 compatible = "brcm,brcmstb-usb-phy";
163 reg = <0xf0470200 0xb8>,
171 clocks = <&usb20>, <&usb30>;
172 clock-names = "sw_usb", "sw_usb3";
175 #include <dt-bindings/phy/phy.h>
178 compatible = "brcm,bcm7211-usb-phy";
179 reg = <0x29f0200 0x200>,
192 interrupt-parent = <&vpu_intr1_nosec_intc>;
193 interrupt-names = "wake";
196 brcm,syscon-piarbctl = <&syscon_piarbctl>;
197 clocks = <&scmi_clk 256>;
198 clock-names = "sw_usb";