Skip to contentSkip to conversation

Add mt8189 dts evalution board and Makefile

PATCH Superseded Sirius Wang 2 participants 5 messages May 12, 2025

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover Add mt8189 dts evalution board and Makefile

We add basic chip support for Mediatek MT8189 on evalution board.

In this series, we also add dt-bindings document definition for MT8189.

This series is based on tag: next-20250509

Changs in v3:
- Move ulposc and ulposc3 before cpu nodes.
- Refactor cpu-map to a single cluster0.
- Change cpu nodes name from medium core to big core.
- Move psci before timer nodes.

Changs in v2:
- Fix warning issues for make CHECK_DTBS=y
- Add mediatek,uart.yaml document

Sirius Wang (3):
dt-bindings: arm: Add compatible for MediaTek MT8189
dt-bindings: serial: mediatek,uart: Add compatible for MT8189
arm64: dts: mt8189: Add mt8189 dts evaluation board and Mafefile

 .../devicetree/bindings/arm/mediatek.yaml     |   4 +
 .../bindings/serial/mediatek,uart.yaml        |   1 +
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 arch/arm64/boot/dts/mediatek/mt8189-evb.dts   |  20 +
 arch/arm64/boot/dts/mediatek/mt8189.dtsi      | 427 ++++++++++++++++++
 5 files changed, 453 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189-evb.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189.dtsi
Signature · 1 line
2.45.2
#1 lore raw

PATCH v3 1/3 dt-bindings: arm: Add compatible for MediaTek MT8189

This commit adds dt-binding documentation for the MediaTek MT8189 reference board.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +4 -0
index fa1646bc0bac..05e827076a7f 100644
@@ -372,6 +372,10 @@ properties:
           - enum:
               - mediatek,mt8188-evb
           - const: mediatek,mt8188
+      - items:
+          - enum:
+              - mediatek,mt8189-evb
+          - const: mediatek,mt8189
       - description: Google Hayato
         items:
           - const: google,hayato-rev1
Signature · 1 line
2.45.2
Acked-by on v3 1/3
#2 lore raw

Re: [PATCH v3 1/3] dt-bindings: arm: Add compatible for MediaTek MT8189

Quoted 5 lines · Sirius Wang

This commit adds dt-binding documentation for the MediaTek MT8189 reference board.

Quoted 22 lines
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +4 -0
index fa1646bc0bac..05e827076a7f 100644
@@ -372,6 +372,10 @@ properties:
           - enum:
               - mediatek,mt8188-evb
           - const: mediatek,mt8188
+      - items:
+          - enum:
+              - mediatek,mt8189-evb
+          - const: mediatek,mt8189
       - description: Google Hayato
         items:
           - const: google,hayato-rev1
Signature · 1 line
2.45.2
#3 lore raw

PATCH v3 2/3 dt-bindings: serial: mediatek,uart: Add compatible for MT8189

In reply to Sirius Wang

Add compatible string for serial on MT8189 SoC.

---
 Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mediatek,uart.yaml +1 -0
index c55d9a0efa19..fabc22d47cb3 100644
@@ -46,6 +46,7 @@ properties:
               - mediatek,mt8183-uart
               - mediatek,mt8186-uart
               - mediatek,mt8188-uart
+              - mediatek,mt8189-uart
               - mediatek,mt8192-uart
               - mediatek,mt8195-uart
               - mediatek,mt8365-uart
Signature · 1 line
2.45.2
#4 lore raw

PATCH v3 3/3 arm64: dts: mt8189: Add mt8189 dts evaluation board and Mafefile

In reply to Sirius Wang

Add mt8189 dts evaluation board and Mafefile

---
 arch/arm64/boot/dts/mediatek/Makefile       |   1 +
 arch/arm64/boot/dts/mediatek/mt8189-evb.dts |  20 +
 arch/arm64/boot/dts/mediatek/mt8189.dtsi    | 427 ++++++++++++++++++++
 3 files changed, 448 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189-evb.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8189.dtsi
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index 3aa06476c6c0..ad2ac9e1bb79 100644
@@ -87,6 +87,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku4.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku5.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku6.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku7.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt8189-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb
arch/arm64/boot/dts/mediatek/mt8189-evb.dts new file +20 -0
new file mode 100644
index 000000000000..e5d9ce1b8e61
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2025 MediaTek Inc.
+ * Author: Sirius Wang <[email protected]>
+ */
+/dts-v1/;
+#include "mt8189.dtsi"
+
+/ {
+	model = "MediaTek MT8189 evaluation board";
+	compatible = "mediatek,mt8189-evb", "mediatek,mt8189";
+
+	chosen: chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
arch/arm64/boot/dts/mediatek/mt8189.dtsi new file +427 -0

427 lines not on this page · raw message

Signature · 1 line
2.45.2