0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: Qualcomm Embedded USB Debugger
0008
0009 maintainers:
0010 - Souradeep Chowdhury <quic_schowdhu@quicinc.com>
0011
0012 description:
0013 This binding is used to describe the Qualcomm Embedded USB Debugger, which is
0014 mini USB-hub implemented on chip to support USB-based debug capabilities.
0015
0016 properties:
0017 compatible:
0018 items:
0019 - enum:
0020 - qcom,sc7280-eud
0021 - const: qcom,eud
0022
0023 reg:
0024 items:
0025 - description: EUD Base Register Region
0026 - description: EUD Mode Manager Register
0027
0028 interrupts:
0029 description: EUD interrupt
0030 maxItems: 1
0031
0032 ports:
0033 $ref: /schemas/graph.yaml#/properties/ports
0034 description:
0035 These ports is to be attached to the endpoint of the DWC3 controller node
0036 and type C connector node. The controller has the "usb-role-switch"
0037 property.
0038
0039 properties:
0040 port@0:
0041 $ref: /schemas/graph.yaml#/properties/port
0042 description: This port is to be attached to the DWC3 controller.
0043
0044 port@1:
0045 $ref: /schemas/graph.yaml#/properties/port
0046 description: This port is to be attached to the type C connector.
0047
0048 required:
0049 - compatible
0050 - reg
0051 - ports
0052
0053 additionalProperties: false
0054
0055 examples:
0056 - |
0057 eud@88e0000 {
0058 compatible = "qcom,sc7280-eud","qcom,eud";
0059 reg = <0x88e0000 0x2000>,
0060 <0x88e2000 0x1000>;
0061 ports {
0062 #address-cells = <1>;
0063 #size-cells = <0>;
0064 port@0 {
0065 reg = <0>;
0066 eud_ep: endpoint {
0067 remote-endpoint = <&usb2_role_switch>;
0068 };
0069 };
0070 port@1 {
0071 reg = <1>;
0072 eud_con: endpoint {
0073 remote-endpoint = <&con_eud>;
0074 };
0075 };
0076 };
0077 };