.. | .. |
---|
16 | 16 | entry in clock-names |
---|
17 | 17 | - clock-names : must contain "sys_ck" for clock of controller, |
---|
18 | 18 | the following clocks are optional: |
---|
19 | | - "ref_ck", "mcu_ck" and "dam_ck"; |
---|
20 | | - - phys : see usb-hcd.txt in the current directory |
---|
| 19 | + "ref_ck", "mcu_ck" and "dma_ck"; |
---|
| 20 | + - phys : see usb-hcd.yaml in the current directory |
---|
21 | 21 | - dr_mode : should be one of "host", "peripheral" or "otg", |
---|
22 | 22 | refer to usb/generic.txt |
---|
23 | 23 | |
---|
.. | .. |
---|
28 | 28 | parent's address space |
---|
29 | 29 | - extcon : external connector for vbus and idpin changes detection, needed |
---|
30 | 30 | when supports dual-role mode. |
---|
| 31 | + it's considered valid for compatibility reasons, not allowed for |
---|
| 32 | + new bindings, and use "usb-role-switch" property instead. |
---|
31 | 33 | - vbus-supply : reference to the VBUS regulator, needed when supports |
---|
32 | 34 | dual-role mode. |
---|
| 35 | + it's considered valid for compatibility reasons, not allowed for |
---|
| 36 | + new bindings, and put into a usb-connector node. |
---|
| 37 | + see connector/usb-connector.yaml. |
---|
33 | 38 | - pinctrl-names : a pinctrl state named "default" is optional, and need be |
---|
34 | 39 | defined if auto drd switch is enabled, that means the property dr_mode |
---|
35 | 40 | is set as "otg", and meanwhile the property "mediatek,enable-manual-drd" |
---|
.. | .. |
---|
39 | 44 | |
---|
40 | 45 | - maximum-speed : valid arguments are "super-speed", "high-speed" and |
---|
41 | 46 | "full-speed"; refer to usb/generic.txt |
---|
| 47 | + - usb-role-switch : use USB Role Switch to support dual-role switch, but |
---|
| 48 | + not extcon; see usb/generic.txt. |
---|
42 | 49 | - enable-manual-drd : supports manual dual-role switch via debugfs; usually |
---|
43 | 50 | used when receptacle is TYPE-A and also wants to support dual-role |
---|
44 | 51 | mode. |
---|
.. | .. |
---|
53 | 60 | - mediatek,u3p-dis-msk : mask to disable u3ports, bit0 for u3port0, |
---|
54 | 61 | bit1 for u3port1, ... etc; |
---|
55 | 62 | |
---|
56 | | -additionally the properties from usb-hcd.txt (in the current directory) are |
---|
| 63 | +additionally the properties from usb-hcd.yaml (in the current directory) are |
---|
57 | 64 | supported. |
---|
58 | 65 | |
---|
59 | 66 | Sub-nodes: |
---|
.. | .. |
---|
61 | 68 | if host mode is enabled. The DT binding details of xhci can be found in: |
---|
62 | 69 | Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt |
---|
63 | 70 | |
---|
| 71 | +The port would be added as subnode if use "usb-role-switch" property. |
---|
| 72 | + see graph.txt |
---|
| 73 | + |
---|
64 | 74 | Example: |
---|
65 | 75 | ssusb: usb@11271000 { |
---|
66 | 76 | compatible = "mediatek,mt8173-mtu3"; |
---|