--- /dev/null
+From be0b304eeb8c5f77e4f98f64e58729d879195f2f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Otto=20Pfl=C3=BCger?= <otto.pflueger@abscue.de>
+Date: Tue, 6 Jan 2026 11:11:12 +0100
+Subject: arm64: dts: mediatek: mt8183: Add missing endpoint IDs to display graph
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From: Otto Pflüger <otto.pflueger@abscue.de>
+
+commit be0b304eeb8c5f77e4f98f64e58729d879195f2f upstream.
+
+The endpoint IDs in the display graph are expected to match the
+associated display path number, i.e. all endpoints connected to
+mmsys_ep_main must have reg = <0> and all endpoints connected to
+mmsys_ep_ext must have reg = <1>.
+
+Add the missing ID to all endpoints in the display graph, based on
+mt8365.dtsi as an existing example that does this correctly.
+
+Fixes: e72d63fa0563 ("arm64: dts: mediatek: mt8183: Migrate to display controller OF graph")
+Reported-by: Evans Jahja <evansjahja13@gmail.com>
+Closes: https://lore.kernel.org/linux-mediatek/CAAq5pW9o3itC0G16LnJO7KMAQ_XoqXUpB=cuJ_7e3-H11zKd5Q@mail.gmail.com/
+Tested-by: Chen-Yu Tsai <wenst@chromium.org>
+Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
+[Angelo: Fixed dtbs_check issues]
+Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
+Cc: Thorsten Leemhuis <regressions@leemhuis.info>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 37 +++++++++++++++++++++++++------
+ 1 file changed, 31 insertions(+), 6 deletions(-)
+
+--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
++++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+@@ -1812,15 +1812,23 @@
+ #size-cells = <0>;
+
+ port@0 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0>;
+- ovl_2l1_in: endpoint {
++
++ ovl_2l1_in: endpoint@1 {
++ reg = <1>;
+ remote-endpoint = <&mmsys_ep_ext>;
+ };
+ };
+
+ port@1 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <1>;
+- ovl_2l1_out: endpoint {
++
++ ovl_2l1_out: endpoint@1 {
++ reg = <1>;
+ remote-endpoint = <&rdma1_in>;
+ };
+ };
+@@ -1872,15 +1880,23 @@
+ #size-cells = <0>;
+
+ port@0 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0>;
+- rdma1_in: endpoint {
++
++ rdma1_in: endpoint@1 {
++ reg = <1>;
+ remote-endpoint = <&ovl_2l1_out>;
+ };
+ };
+
+ port@1 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <1>;
+- rdma1_out: endpoint {
++
++ rdma1_out: endpoint@1 {
++ reg = <1>;
+ remote-endpoint = <&dpi_in>;
+ };
+ };
+@@ -2076,15 +2092,24 @@
+ #size-cells = <0>;
+
+ port@0 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <0>;
+- dpi_in: endpoint {
++
++ dpi_in: endpoint@1 {
++ reg = <1>;
+ remote-endpoint = <&rdma1_out>;
+ };
+ };
+
+ port@1 {
++ #address-cells = <1>;
++ #size-cells = <0>;
+ reg = <1>;
+- dpi_out: endpoint { };
++
++ dpi_out: endpoint@1 {
++ reg = <1>;
++ };
+ };
+ };
+ };