brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · f2c5ec7 Raw
80 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Embedded USB Debugger8 9maintainers:10  - Souradeep Chowdhury <quic_schowdhu@quicinc.com>11 12description:13  This binding is used to describe the Qualcomm Embedded USB Debugger, which is14  mini USB-hub implemented on chip to support USB-based debug capabilities.15 16properties:17  compatible:18    items:19      - enum:20          - qcom,sc7280-eud21      - const: qcom,eud22 23  reg:24    items:25      - description: EUD Base Register Region26      - description: EUD Mode Manager Register27 28  interrupts:29    description: EUD interrupt30    maxItems: 131 32  ports:33    $ref: /schemas/graph.yaml#/properties/ports34    description:35      These ports is to be attached to the endpoint of the DWC3 controller node36      and type C connector node. The controller has the "usb-role-switch"37      property.38 39    properties:40      port@0:41        $ref: /schemas/graph.yaml#/properties/port42        description: This port is to be attached to the DWC3 controller.43 44      port@1:45        $ref: /schemas/graph.yaml#/properties/port46        description: This port is to be attached to the type C connector.47 48required:49  - compatible50  - reg51  - ports52 53additionalProperties: false54 55examples:56  - |57    eud@88e0000 {58           compatible = "qcom,sc7280-eud", "qcom,eud";59           reg = <0x88e0000 0x2000>,60                 <0x88e2000 0x1000>;61 62           ports {63                   #address-cells = <1>;64                   #size-cells = <0>;65                   port@0 {66                           reg = <0>;67                           eud_ep: endpoint {68                                   remote-endpoint = <&usb2_role_switch>;69                           };70                   };71 72                   port@1 {73                           reg = <1>;74                           eud_con: endpoint {75                                   remote-endpoint = <&con_eud>;76                           };77                   };78           };79    };80