1 MediaTek XS-PHY binding
2 --------------------------
4 The XS-PHY controller supports physical layer functionality for USB3.1
5 GEN2 controller on MediaTek SoCs.
7 Required properties (controller (parent) node):
8 - compatible : should be "mediatek,<soc-model>-xsphy", "mediatek,xsphy",
9 soc-model is the name of SoC, such as mt3611 etc;
10 when using "mediatek,xsphy" compatible string, you need SoC specific
11 ones in addition, one of:
12 - "mediatek,mt3611-xsphy"
14 - #address-cells, #size-cells : should use the same values as the root node
15 - ranges: must be present
17 Optional properties (controller (parent) node):
18 - reg : offset and length of register shared by multiple U3 ports,
19 exclude port's private register, if only U2 ports provided,
20 shouldn't use the property.
21 - mediatek,src-ref-clk-mhz : u32, frequency of reference clock for slew rate
23 - mediatek,src-coef : u32, coefficient for slew rate calibrate, depends on
26 Required nodes : a sub-node is required for each port the controller
27 provides. Address range information including the usual
28 'reg' property is used inside these nodes to describe
29 the controller's topology.
31 Required properties (port (child) node):
32 - reg : address and length of the register set for the port.
33 - clocks : a list of phandle + clock-specifier pairs, one for each
35 - clock-names : must contain
36 "ref": 48M reference clock for HighSpeed analog phy; and 26M
37 reference clock for SuperSpeedPlus analog phy, sometimes is
38 24M, 25M or 27M, depended on platform.
39 - #phy-cells : should be 1
40 cell after port phandle is phy type from:
44 The following optional properties are only for debug or HQA test
45 Optional properties (PHY_TYPE_USB2 port (child) node):
46 - mediatek,eye-src : u32, the value of slew rate calibrate
47 - mediatek,eye-vrt : u32, the selection of VRT reference voltage
48 - mediatek,eye-term : u32, the selection of HS_TX TERM reference voltage
49 - mediatek,efuse-intr : u32, the selection of Internal Resistor
51 Optional properties (PHY_TYPE_USB3 port (child) node):
52 - mediatek,efuse-intr : u32, the selection of Internal Resistor
53 - mediatek,efuse-tx-imp : u32, the selection of TX Impedance
54 - mediatek,efuse-rx-imp : u32, the selection of RX Impedance
57 -------------------------------------------------------------
67 u31 common 0x3000 DIG_GLB
69 u31 port0 0x3400 DIG_LN_TOP
74 u31 port1 0x3a00 DIG_LN_TOP
81 DIG_GLB & PHYA_GLB are shared by U31 ports.
85 u3phy: usb-phy@11c40000 {
86 compatible = "mediatek,mt3611-xsphy", "mediatek,xsphy";
87 reg = <0 0x11c43000 0 0x0200>;
88 mediatek,src-ref-clk-mhz = <26>;
89 mediatek,src-coef = <17>;
94 u2port0: usb-phy@11c40000 {
95 reg = <0 0x11c40000 0 0x0400>;
98 mediatek,eye-src = <4>;
102 u3port0: usb-phy@11c43000 {
103 reg = <0 0x11c43400 0 0x0500>;
106 mediatek,efuse-intr = <28>;