Lines Matching +full:role +full:- +full:switch
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/misc/hisilicon-hikey-usb.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - John Stultz <john.stultz@linaro.org>
15 role-switch intermediary to detect the state of the USB-C
16 port, to switch the hub into dual-role USB-C or host mode,
17 which enables the onboard USB-A host ports.
20 …https://github.com/96boards/documentation/raw/master/consumer/hikey/hikey960/hardware-docs/HiKey96…
25 - const: hisilicon,gpio_hubv1
27 typec-vbus-gpios:
29 description: phandle to the typec-vbus gpio
31 otg-switch-gpios:
33 description: phandle to the otg-switch gpio
35 hub-vdd33-en-gpios:
39 usb-role-switch:
41 description: Support role switch.
46 using the OF graph bindings specified, if the "usb-role-switch"
50 role switch.
54 - compatible
55 - typec-vbus-gpios
56 - otg-switch-gpios
57 - hub-vdd33-en-gpios
58 - usb-role-switch
59 - port
64 - |
67 typec-vbus-gpios = <&gpio25 2 GPIO_ACTIVE_HIGH>;
68 otg-switch-gpios = <&gpio25 6 GPIO_ACTIVE_HIGH>;
69 hub-vdd33-en-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>;
70 usb-role-switch;
73 #address-cells = <1>;
74 #size-cells = <0>;
78 remote-endpoint = <&dwc3_role_switch>;
82 remote-endpoint = <&rt1711h_ep>;