1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml# 5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Qualcomm Embedded USB Debugger 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Souradeep Chowdhury <quic_schowdhu@quicinc.com> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: 13c9ccf3a3SEmmanuel Vadot This binding is used to describe the Qualcomm Embedded USB Debugger, which is 14c9ccf3a3SEmmanuel Vadot mini USB-hub implemented on chip to support USB-based debug capabilities. 15c9ccf3a3SEmmanuel Vadot 16c9ccf3a3SEmmanuel Vadotproperties: 17c9ccf3a3SEmmanuel Vadot compatible: 18c9ccf3a3SEmmanuel Vadot items: 19c9ccf3a3SEmmanuel Vadot - enum: 20c9ccf3a3SEmmanuel Vadot - qcom,sc7280-eud 21c9ccf3a3SEmmanuel Vadot - const: qcom,eud 22c9ccf3a3SEmmanuel Vadot 23c9ccf3a3SEmmanuel Vadot reg: 24c9ccf3a3SEmmanuel Vadot items: 25c9ccf3a3SEmmanuel Vadot - description: EUD Base Register Region 26c9ccf3a3SEmmanuel Vadot - description: EUD Mode Manager Register 27c9ccf3a3SEmmanuel Vadot 28c9ccf3a3SEmmanuel Vadot interrupts: 29c9ccf3a3SEmmanuel Vadot description: EUD interrupt 30c9ccf3a3SEmmanuel Vadot maxItems: 1 31c9ccf3a3SEmmanuel Vadot 32c9ccf3a3SEmmanuel Vadot ports: 33c9ccf3a3SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 34c9ccf3a3SEmmanuel Vadot description: 35c9ccf3a3SEmmanuel Vadot These ports is to be attached to the endpoint of the DWC3 controller node 36c9ccf3a3SEmmanuel Vadot and type C connector node. The controller has the "usb-role-switch" 37c9ccf3a3SEmmanuel Vadot property. 38c9ccf3a3SEmmanuel Vadot 39c9ccf3a3SEmmanuel Vadot properties: 40c9ccf3a3SEmmanuel Vadot port@0: 41c9ccf3a3SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 42c9ccf3a3SEmmanuel Vadot description: This port is to be attached to the DWC3 controller. 43c9ccf3a3SEmmanuel Vadot 44c9ccf3a3SEmmanuel Vadot port@1: 45c9ccf3a3SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 46c9ccf3a3SEmmanuel Vadot description: This port is to be attached to the type C connector. 47c9ccf3a3SEmmanuel Vadot 48c9ccf3a3SEmmanuel Vadotrequired: 49c9ccf3a3SEmmanuel Vadot - compatible 50c9ccf3a3SEmmanuel Vadot - reg 51c9ccf3a3SEmmanuel Vadot - ports 52c9ccf3a3SEmmanuel Vadot 53c9ccf3a3SEmmanuel VadotadditionalProperties: false 54c9ccf3a3SEmmanuel Vadot 55c9ccf3a3SEmmanuel Vadotexamples: 56c9ccf3a3SEmmanuel Vadot - | 57c9ccf3a3SEmmanuel Vadot eud@88e0000 { 58c9ccf3a3SEmmanuel Vadot compatible = "qcom,sc7280-eud", "qcom,eud"; 59c9ccf3a3SEmmanuel Vadot reg = <0x88e0000 0x2000>, 60c9ccf3a3SEmmanuel Vadot <0x88e2000 0x1000>; 61*f126890aSEmmanuel Vadot 62c9ccf3a3SEmmanuel Vadot ports { 63c9ccf3a3SEmmanuel Vadot #address-cells = <1>; 64c9ccf3a3SEmmanuel Vadot #size-cells = <0>; 65c9ccf3a3SEmmanuel Vadot port@0 { 66c9ccf3a3SEmmanuel Vadot reg = <0>; 67c9ccf3a3SEmmanuel Vadot eud_ep: endpoint { 68c9ccf3a3SEmmanuel Vadot remote-endpoint = <&usb2_role_switch>; 69c9ccf3a3SEmmanuel Vadot }; 70c9ccf3a3SEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot 72c9ccf3a3SEmmanuel Vadot port@1 { 73c9ccf3a3SEmmanuel Vadot reg = <1>; 74c9ccf3a3SEmmanuel Vadot eud_con: endpoint { 75c9ccf3a3SEmmanuel Vadot remote-endpoint = <&con_eud>; 76c9ccf3a3SEmmanuel Vadot }; 77c9ccf3a3SEmmanuel Vadot }; 78c9ccf3a3SEmmanuel Vadot }; 79c9ccf3a3SEmmanuel Vadot }; 80