[PATCH] arm64: dts: qcom: hamoa-advantech-som-db5830: Enable DisplayPort

From: Yuanjie Yang

Date: Thu Nov 12 2026 - 00:46:18 EST


The Advantech SOM-DB5830 exposes two full-size DisplayPort connectors.
Both of them are driven by the DP0 and DP1 controllers, with all four
lanes of the USB_1_SS0 and USB_1_SS1 QMP combo PHYs routed to the DP
connectors, so these ports are limited to USB 2.0.

Describe the DP connectors and connect them to the QMP PHY DP output
endpoints, enable the MDSS, DP0 and DP1 controllers, and configure the
DP hot plug detect pins. Drop the mode-switch and orientation-switch
properties from the QMP PHYs since there is no Type-C connector, and
switch the corresponding DWC3 controllers to USB 2.0 only.

Signed-off-by: Yuanjie Yang <yuanjie.yang@xxxxxxxxxxxxxxxx>
---
.../boot/dts/qcom/hamoa-advantech-som-db5830.dts | 121 +++++++++++++++++++++
1 file changed, 121 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/hamoa-advantech-som-db5830.dts b/arch/arm64/boot/dts/qcom/hamoa-advantech-som-db5830.dts
index 9d87c98befc6..e2c2a162c999 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-advantech-som-db5830.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-advantech-som-db5830.dts
@@ -24,6 +24,55 @@ chosen {
stdout-path = "serial0:115200n8";
};

+ dp-connector-0 {
+ compatible = "dp-connector";
+ label = "DP0";
+ type = "full-size";
+
+ pinctrl-0 = <&usb0_dp_hpd_default>;
+ pinctrl-names = "default";
+
+ port {
+ dp0_connector_in: endpoint {
+ remote-endpoint = <&usb_1_ss0_qmpphy_out_dp>;
+ };
+ };
+ };
+
+ dp-connector-1 {
+ compatible = "dp-connector";
+ label = "DP1";
+ type = "full-size";
+
+ pinctrl-0 = <&usb1_dp_hpd_default>;
+ pinctrl-names = "default";
+
+ port {
+ dp1_connector_in: endpoint {
+ remote-endpoint = <&usb_1_ss1_qmpphy_out_dp>;
+ };
+ };
+ };
+};
+
+&mdss {
+ status = "okay";
+};
+
+&mdss_dp0 {
+ status = "okay";
+};
+
+&mdss_dp0_out {
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+};
+
+&mdss_dp1 {
+ status = "okay";
+};
+
+&mdss_dp1_out {
+ link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
};

&pcie3_port0 {
@@ -112,8 +161,80 @@ trip-point0 {
};
};

+&tlmm {
+ usb0_dp_hpd_default: usb0-dp-hpd-default-state {
+ pins = "gpio122";
+ function = "usb0_dp";
+ bias-disable;
+ };
+
+ usb1_dp_hpd_default: usb1-dp-hpd-default-state {
+ pins = "gpio124";
+ function = "usb1_dp";
+ bias-disable;
+ };
+};
+
&uart21 {
compatible = "qcom,geni-debug-uart";

status = "okay";
};
+
+&usb_1_ss0 {
+ phys = <&usb_1_ss0_hsphy>;
+ phy-names = "usb2-phy";
+ maximum-speed = "high-speed";
+
+ qcom,select-utmi-as-pipe-clk;
+};
+
+&usb_1_ss0_qmpphy {
+ /delete-property/ mode-switch;
+ /delete-property/ orientation-switch;
+
+ ports {
+ port@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /delete-node/ endpoint;
+
+ usb_1_ss0_qmpphy_out_dp: endpoint@0 {
+ reg = <0>;
+
+ data-lanes = <3 2 1 0>;
+ remote-endpoint = <&dp0_connector_in>;
+ };
+ };
+ };
+};
+
+&usb_1_ss1 {
+ phys = <&usb_1_ss1_hsphy>;
+ phy-names = "usb2-phy";
+ maximum-speed = "high-speed";
+
+ qcom,select-utmi-as-pipe-clk;
+};
+
+&usb_1_ss1_qmpphy {
+ /delete-property/ mode-switch;
+ /delete-property/ orientation-switch;
+
+ ports {
+ port@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /delete-node/ endpoint;
+
+ usb_1_ss1_qmpphy_out_dp: endpoint@0 {
+ reg = <0>;
+
+ data-lanes = <3 2 1 0>;
+ remote-endpoint = <&dp1_connector_in>;
+ };
+ };
+ };
+};

---
base-commit: aaa2f954c21b205a0bcd0961e5b2be4e82e58455
change-id: 20261112-hamoa_come_dp-40a7a09236fa

Best regards,
--
Yuanjie Yang <yuanjie.yang@xxxxxxxxxxxxxxxx>