Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Broadcom STB USB PHY
2
3Required properties:
4 - compatible: brcm,brcmstb-usb-phy
5 - reg: two offset and length pairs.
6 The first pair specifies a manditory set of memory mapped
7 registers used for general control of the PHY.
8 The second pair specifies optional registers used by some of
9 the SoCs that support USB 3.x
10 - #phy-cells: Shall be 1 as it expects one argument for setting
11 the type of the PHY. Possible values are:
12 - PHY_TYPE_USB2 for USB1.1/2.0 PHY
13 - PHY_TYPE_USB3 for USB3.x PHY
14
15Optional Properties:
16- clocks : clock phandles.
17- clock-names: String, clock name.
18- brcm,ipp: Boolean, Invert Port Power.
19 Possible values are: 0 (Don't invert), 1 (Invert)
20- brcm,ioc: Boolean, Invert Over Current detection.
21 Possible values are: 0 (Don't invert), 1 (Invert)
22NOTE: one or both of the following two properties must be set
23- brcm,has-xhci: Boolean indicating the phy has an XHCI phy.
24- brcm,has-eohci: Boolean indicating the phy has an EHCI/OHCI phy.
25- dr_mode: String, PHY Device mode.
26 Possible values are: "host", "peripheral ", "drd" or "typec-pd"
27 If this property is not defined, the phy will default to "host" mode.
28
29Example:
30
31usbphy_0: usb-phy@f0470200 {
32 reg = <0xf0470200 0xb8>,
33 <0xf0471940 0x6c0>;
34 compatible = "brcm,brcmstb-usb-phy";
35 #phy-cells = <1>;
36 dr_mode = "host"
37 brcm,ioc = <1>;
38 brcm,ipp = <1>;
39 brcm,has-xhci;
40 brcm,has-eohci;
41 clocks = <&usb20>, <&usb30>;
42 clock-names = "sw_usb", "sw_usb3";
43};