Lines Matching +full:usb +full:- +full:a +full:- +full:connector
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,musb.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Min Guo <min.guo@mediatek.com>
15 pattern: '^usb@[0-9a-f]+$'
19 - enum:
20 - mediatek,mt8516-musb
21 - mediatek,mt2701-musb
22 - mediatek,mt7623-musb
23 - const: mediatek,mtk-musb
31 interrupt-names:
33 - const: mc
37 - description: The main/core clock
38 - description: The system bus clock
39 - description: The 48Mhz clock
41 clock-names:
43 - const: main
44 - const: mcu
45 - const: univpll
50 usb-role-switch:
52 description: Support role switch. See usb/generic.txt
57 - host
58 - otg
59 - peripheral
61 power-domains:
62 description: A phandle to USB power domain node to control USB's MTCMOS
65 connector:
66 $ref: /schemas/connector/usb-connector.yaml#
67 description: Connector for dual role switch
71 usb-role-switch: [ connector ]
72 connector: [ usb-role-switch ]
75 - compatible
76 - reg
77 - interrupts
78 - interrupt-names
79 - phys
80 - clocks
81 - clock-names
86 - |
87 #include <dt-bindings/clock/mt2701-clk.h>
88 #include <dt-bindings/gpio/gpio.h>
89 #include <dt-bindings/interrupt-controller/arm-gic.h>
90 #include <dt-bindings/interrupt-controller/irq.h>
91 #include <dt-bindings/phy/phy.h>
92 #include <dt-bindings/power/mt2701-power.h>
94 usb@11200000 {
95 compatible = "mediatek,mt2701-musb", "mediatek,mtk-musb";
98 interrupt-names = "mc";
104 clock-names = "main","mcu","univpll";
105 power-domains = <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>;
106 usb-role-switch;
108 connector {
109 compatible = "gpio-usb-b-connector", "usb-b-connector";
111 id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
112 vbus-supply = <&usb_vbus>;