1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: WUSB3801 Type-C port controller
10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which
11 supports role and plug orientation detection using the CC pins. It is
12 compatible with the USB Type-C Cable and Connector Specification v1.2.
15 - Samuel Holland <samuel@sholland.org>
30 $ref: ../connector/usb-connector.yaml#
31 unevaluatedProperties: false
33 The managed USB Type-C connector. Since WUSB3801 does not support
34 Power Delivery, the node should have the "pd-disable" property.
38 const: usb-c-connector
49 additionalProperties: false
53 #include <dt-bindings/interrupt-controller/irq.h>
60 compatible = "willsemi,wusb3801";
62 interrupt-parent = <&gpio0>;
63 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
66 compatible = "usb-c-connector";
68 vbus-supply = <&otg_switch>;
70 try-power-role = "sink";
72 typec-power-opmode = "default";