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
26 - description: the base CTRL register
27 - description: XHCI EC register
28 - description: XHCI GBL register
29 - description: USB PHY register
30 - description: USB MDIO register
31 - description: BDC register
57 description: wakeup interrupt
63 $ref: /schemas/types.yaml#/definitions/uint32
64 description: Invert Port Power
69 $ref: /schemas/types.yaml#/definitions/uint32
70 description: Invert Over Current detection
75 description: PHY Device mode. If this property is not defined, the PHY will
76 default to "host" mode.
84 description: phandle to syscon for handling config registers
85 $ref: /schemas/types.yaml#/definitions/phandle
88 description: Indicates the PHY has an XHCI PHY.
92 description: Indicates the PHY has an EHCI/OHCI PHY.
97 Cell allows setting the type of the PHY. Possible values are:
98 - PHY_TYPE_USB2 for USB1.1/2.0 PHY
99 - PHY_TYPE_USB3 for USB3.x PHY
118 - const: brcm,bcm4908-usb-phy
119 - const: brcm,brcmstb-usb-phy
129 const: brcm,bcm7211-usb-phy
142 const: brcm,bcm7216-usb-phy
152 additionalProperties: false
156 #include <dt-bindings/phy/phy.h>
159 compatible = "brcm,brcmstb-usb-phy";
160 reg = <0xf0470200 0xb8>,
168 clocks = <&usb20>, <&usb30>;
169 clock-names = "sw_usb", "sw_usb3";
172 #include <dt-bindings/phy/phy.h>
175 compatible = "brcm,bcm7211-usb-phy";
176 reg = <0x29f0200 0x200>,
189 interrupt-parent = <&vpu_intr1_nosec_intc>;
190 interrupt-names = "wake";
193 brcm,syscon-piarbctl = <&syscon_piarbctl>;
194 clocks = <&scmi_clk 256>;
195 clock-names = "sw_usb";