Lines Matching +full:usb2 +full:- +full:lpm +full:- +full:disable

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: "usb-xhci.yaml"
19 case 2: supports dual-role mode, and the host is based on xHCI driver.
25 - enum:
26 - mediatek,mt2701-xhci
27 - mediatek,mt2712-xhci
28 - mediatek,mt7622-xhci
29 - mediatek,mt7623-xhci
30 - mediatek,mt7629-xhci
31 - mediatek,mt8173-xhci
32 - mediatek,mt8183-xhci
33 - mediatek,mt8192-xhci
34 - mediatek,mt8195-xhci
35 - const: mediatek,mtk-xhci
40 - description: the registers of xHCI MAC
41 - description: the registers of IP Port Control
43 reg-names:
46 - const: mac
47 - const: ippc # optional, only needed for case 1.
51 use "interrupts-extended" when the interrupts are connected to the
55 - description: xHCI host controller interrupt
56 - description: optional, wakeup interrupt used to support runtime PM
58 interrupt-names:
60 - const: host
61 - const: wakeup
63 power-domains:
70 - description: Controller clock used by normal mode
71 - description: Reference clock used by low power mode etc
72 - description: Mcu bus clock for register access
73 - description: DMA bus clock for data transfer
74 - description: controller clock
76 clock-names:
79 - const: sys_ck # required, the following ones are optional
80 - const: ref_ck
81 - const: mcu_ck
82 - const: dma_ck
83 - const: xhci_ck
85 assigned-clocks:
89 assigned-clock-parents:
99 - description: USB2/HS PHY # required, others are optional
100 - description: USB3/SS(P) PHY
101 - description: USB2/HS PHY
102 - description: USB3/SS(P) PHY
103 - description: USB2/HS PHY
104 - description: USB3/SS(P) PHY
105 - description: USB2/HS PHY
106 - description: USB3/SS(P) PHY
107 - description: USB2/HS PHY
109 vusb33-supply:
112 vbus-supply:
115 usb3-lpm-capable: true
117 usb2-lpm-disable: true
119 imod-interval-ns:
126 wakeup-source:
127 description: enable USB remote wakeup, see power/wakeup-source.txt
130 mediatek,syscon-wakeup:
131 $ref: /schemas/types.yaml#/definitions/phandle-array
138 - description:
140 - description:
143 - description: |
145 1 - used by mt8173 etc, revision 1 without following IPM rule;
146 2 - used by mt2712 etc, revision 2 following IPM rule;
147 101 - used by mt8183, specific 1.01;
148 102 - used by mt8192, specific 1.02;
151 mediatek,u3p-dis-msk:
153 description: The mask to disable u3ports, bit0 for u3port0,
156 mediatek,u2p-dis-msk:
158 description: The mask to disable u2ports, bit0 for u2port0,
161 "#address-cells":
164 "#size-cells":
168 "@[0-9a-f]{1}$":
173 wakeup-source: [ 'mediatek,syscon-wakeup' ]
176 - compatible
177 - reg
178 - reg-names
179 - interrupts
180 - clocks
181 - clock-names
186 - |
187 #include <dt-bindings/clock/mt8173-clk.h>
188 #include <dt-bindings/interrupt-controller/arm-gic.h>
189 #include <dt-bindings/interrupt-controller/irq.h>
190 #include <dt-bindings/phy/phy.h>
191 #include <dt-bindings/power/mt8173-power.h>
194 compatible = "mediatek,mt8173-xhci", "mediatek,mtk-xhci";
196 reg-names = "mac", "ippc";
198 power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>;
200 clock-names = "sys_ck", "ref_ck";
202 vusb33-supply = <&mt6397_vusb_reg>;
203 vbus-supply = <&usb_p1_vbus>;
204 imod-interval-ns = <10000>;
205 mediatek,syscon-wakeup = <&pericfg 0x400 1>;
206 wakeup-source;
207 usb3-lpm-capable;