Qualcomm Embedded USB Debugger

Schema identifier ($id): "http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Souradeep Chowdhury <quic_schowdhu@quicinc.com>"

This binding is used to describe the Qualcomm Embedded USB Debugger, which is mini USB-hub implemented on chip to support USB-based debug capabilities.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,sc7280-eud"

Item 2

Exact value (const): "qcom,eud"

reg — required here #

Array item rules (items) #

Item 1

EUD Base Register Region

Item 2

EUD Mode Manager Register

interrupts — not listed as required here #

EUD interrupt

Maximum number of items (maxItems): 1

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

These ports is to be attached to the endpoint of the DWC3 controller node and type C connector node. The controller has the "usb-role-switch" property.

Properties and child nodes (properties) #

port@0 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

This port is to be attached to the DWC3 controller.

port@1 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

This port is to be attached to the type C connector.

Required in this object (required): "compatible", "reg", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

eud@88e0000 {
    compatible = "qcom,sc7280-eud", "qcom,eud";
    reg = <0x88e0000 0x2000>,
          <0x88e2000 0x1000>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            eud_ep: endpoint {
                remote-endpoint = <&usb2_role_switch>;
            };
        };

        port@1 {
            reg = <1>;
            eud_con: endpoint {
                remote-endpoint = <&con_eud>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page