diff --git a/bindings/soc/qcom/qcom,msm-eud.yaml b/bindings/soc/qcom/qcom,msm-eud.yaml new file mode 100644 index 00000000..81a4d3b3 --- /dev/null +++ b/bindings/soc/qcom/qcom,msm-eud.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/soc/qcom/qcom,msm-eud.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies Inc Embedded USB Debugger (EUD) + +maintainers: + - Prakruthi Deepak Heragu + +description: |+ + The EUD (Embedded USB Debugger) is a mini-USB hub implemented + on chip to support the USB-based debug and trace capabilities. + +properties: + compatible: + - const: qcom,msm-eud + + reg: + items: + - description: address and size of EUD register space + - description: address and size of EUD mode manager space for secure EUD + + reg-names: + items: + - const: eud_base + - const: eud_mode_mgr2 + + interrupts: + maxItems: 1 + + interrupt-names: + const: eud_irq + + qcom,secure-eud-en: + description: enable secure eud + + qcom,eud-clock-vote-req: + description: enable clock voting from eud + + qcom,eud-utmi-delay: + description: override default UTMI switch delay + +required: + - compatible + - reg + - reg-names + - interrupts + - interrupt-names + +example: + - | + eud: qcom,msm-eud@88e0000 { + compatible = "qcom,msm-eud"; + interrupt-names = "eud_irq"; + interrupts = ; + reg = <0x88e0000 0x4000>; + reg-names = "eud_base"; + }; + +client-example: + - | + usb3 { + extcon = <&eud>; + }; +... diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 98cd10e8..33133fe7 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -279,6 +279,17 @@ }; }; + eud: qcom,msm-eud@88e0000 { + compatible = "qcom,msm-eud"; + interrupt-names = "eud_irq"; + interrupts = ; + reg = <0x88e0000 0x2000>, + <0x88e2000 0x1000>; + reg-names = "eud_base", "eud_mode_mgr2"; + qcom,secure-eud-en; + status = "ok"; + }; + cache-controller@24800000 { compatible = "qcom,sun-llcc"; reg = <0x24800000 0x2000000> , <0x26800000 0x200000>;