diff mbox series

[4/8] arm64: dts: qcom: sm8450: Add EUD node

Message ID 20240730222439.3469-5-quic_eserrao@quicinc.com (mailing list archive)
State Changes Requested
Headers show
Series Enable EUD on Qualcomm sm8450 SoC | expand

Commit Message

Elson Roy Serrao July 30, 2024, 10:24 p.m. UTC
Add a DT node to describe  Embedded USB Debugger(EUD) module
on sm8450 SoC.

Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 29 ++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 9bafb3b350ff..bcdf61223ff3 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -4693,6 +4693,35 @@ 
 			};
 		};
 
+		eud: eud@88e0000 {
+			compatible = "qcom,sm8450-eud", "qcom,eud";
+			reg = <0 0x88e0000 0 0x2000>,
+			      <0 0x88e2000 0 0x1000>;
+			interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>;
+
+			phys = <&usb_1_hsphy>;
+			phy-names = "usb2-phy";
+
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port@0 {
+					reg = <0>;
+					eud_ep: endpoint {
+					};
+				};
+
+				port@1 {
+					reg = <1>;
+					eud_con: endpoint {
+					};
+				};
+			};
+		};
+
 		nsp_noc: interconnect@320c0000 {
 			compatible = "qcom,sm8450-nsp-noc";
 			reg = <0 0x320c0000 0 0x10000>;