From d43b33e0253cf9dea8d5f2502db2175f2fde779a Mon Sep 17 00:00:00 2001 From: Han Gao Date: Thu, 1 Oct 2026 15:44:13 +0800 Subject: [PATCH] riscv: dts: thead: enable HDMI on Milk-V Meles Enable the DC8200 display controller and DW-HDMI transmitter. Connect the transmitter to the board Type-A HDMI connector with reciprocal graph endpoints. Reviewed-by: Drew Fustini Signed-off-by: Han Gao Link: https://patch.msgid.link/20261001-rv-meles-v2-4-c61052262f84@iscas.ac.cn Signed-off-by: Drew Fustini --- .../boot/dts/thead/th1520-milkv-meles.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520-milkv-meles.dts b/arch/riscv/boot/dts/thead/th1520-milkv-meles.dts index bb1be3775690..1c9de6b37a3e 100644 --- a/arch/riscv/boot/dts/thead/th1520-milkv-meles.dts +++ b/arch/riscv/boot/dts/thead/th1520-milkv-meles.dts @@ -38,6 +38,17 @@ /* The module LPO input is supplied by PMIC_32K_OUT. */ }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + memory@0 { device_type = "memory"; reg = <0x0 0x0 0x2 0x0>; @@ -83,6 +94,10 @@ "AOGPIO_8", "", "AOGPIO_10", "AOGPIO_11"; }; +&dpu { + status = "okay"; +}; + &emmc { bus-width = <8>; max-frequency = <52000000>; @@ -133,6 +148,16 @@ gpio-line-names = "GPIO3_0", "GPIO3_1", "GPIO3_2", "GPIO3_3"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out_port { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mdio0 { phy0: ethernet-phy@1 { reg = <1>; -- knotmirror 0.0.1