Add mt8189 dts evaluation board and Makefile
Subsystems (9)
v7 cover Add mt8189 dts evaluation board and Makefile
In this patch series,
we add Mediatek MT8189 evaluation board dts, dtsi and Makefile, add/update related PMIC MT6319/MT6359 dtsi,
and also related dt-binding documents.
based on tag: next-20251111
Note:
This patch series depends on following dt-binding headers and yamls 1.dt-binding headers
1. mt8189-pinfunc.h
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/ 2. mt8189_gce.h https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
---
Changs in v7:
- update explanation in cover letter
- remove Applied mediatek,mt2701-auxadc.yaml
(refer to: https://lore.kernel.org/linux-mediatek/20251101162855.303b3e5e@jic23-huawei/)
- remove Applied mediatek,efuse.yaml
(refer to: https://lore.kernel.org/linux-mediatek/[email protected]/)
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
- update xhci.yaml
(drop "reset-names" property)
- update mt6319 dtsi
(change pmic node name as pmic@ )
- update mt6359 dtsi node
(remove mt635x-auadc.h, remove fg nodes)
- update mt8189 dtsi node
- update mt8189 clk node
(refer to: https://lore.kernel.org/linux-mediatek/[email protected]/) - xhci node drop "reset-names" property - update mt8189 thermal node (refer to: https://lore.kernel.org/linux-mediatek/[email protected]/)
- Link to v6: https://lore.kernel.org/linux-mediatek/[email protected]/
Changs in v6:
- add/fix dt-bindings for mt8189 dts node
- add pmic mt63xx dtsi for mt8189 evb board
- add complete device node of mt8189 evb board
- Fix previous version review comments
- Link to v5: https://patchwork.kernel.org/project/linux-mediatek/cover/[email protected]/
Changs in v5:
- remove unused cpu-dile-state definition.
- change memory size in "reg" property which if filled in by bootloader.
Changs in v4:
- Correct cpu-idle-states.
- Change the "reg" property name of the "memory" node in the device tree source (DTS) to lowercase.
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.
---
Jack Hsu (9):
dt-bindings: arm: Add compatible for MediaTek MT8189
dt-bindings: pwm: Support MediaTek MT8189 disp-pwm
dt-bindings: serial: Support MediaTek MT8189 uart
dt-bindings: timer: Support MediaTek MT8189 timer
dt-bindings: usb: Support MediaTek MT8189 xhci
dt-bindings: watchdog: Support MediaTek MT8189 wdt
arm64: dts: mediatek: Add MT6319 PMIC Support
arm64: dts: mediatek: update rtc properties for MT6359
arm64: dts: mediatek: Add mt8189 evaluation board dts
.../devicetree/bindings/arm/mediatek.yaml | 4 + .../bindings/pwm/mediatek,pwm-disp.yaml | 1 + .../bindings/serial/mediatek,uart.yaml | 1 + .../bindings/timer/mediatek,timer.yaml | 1 + .../bindings/usb/mediatek,mtk-xhci.yaml | 4 +- .../bindings/watchdog/mediatek,mtk-wdt.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt6319.dtsi | 66 + arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 + arch/arm64/boot/dts/mediatek/mt8189-evb.dts | 1082 ++++++ arch/arm64/boot/dts/mediatek/mt8189.dtsi | 3310 +++++++++++++++++ 11 files changed, 4473 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt6319.dtsi 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
PATCH v7 1/9 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
@@ -389,6 +389,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
PATCH v7 2/9 dt-bindings: pwm: Support MediaTek MT8189 disp-pwm
In reply to Jack Hsuadd compatible string for mt8189 dts node of disp-pwm
---
Changs in v7:
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
--- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +1 -0
@@ -30,6 +30,7 @@ properties: - mediatek,mt6893-disp-pwm - mediatek,mt8186-disp-pwm - mediatek,mt8188-disp-pwm + - mediatek,mt8189-disp-pwm - mediatek,mt8192-disp-pwm - mediatek,mt8195-disp-pwm - mediatek,mt8365-disp-pwm
Signature · 1 line
2.45.2
PATCH v7 3/9 dt-bindings: serial: Support MediaTek MT8189 uart
In reply to Jack Hsuadd compatible string for mt8189 dts node of uart
---
Changs in v7:
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
--- Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mediatek,uart.yaml +1 -0
@@ -47,6 +47,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
PATCH v7 4/9 dt-bindings: timer: Support MediaTek MT8189 timer
In reply to Jack Hsuadd compatible string for mt8189 dts node of timer
---
Changs in v7:
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
--- Documentation/devicetree/bindings/timer/mediatek,timer.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/mediatek,timer.yaml +1 -0
@@ -44,6 +44,7 @@ properties: - mediatek,mt8183-timer - mediatek,mt8186-timer - mediatek,mt8188-timer + - mediatek,mt8189-timer - mediatek,mt8192-timer - mediatek,mt8195-timer - mediatek,mt8196-timer
Signature · 1 line
2.45.2
PATCH v7 5/9 dt-bindings: usb: Support MediaTek MT8189 xhci
In reply to Jack Hsumodify dt-binding for support mt8189 dts node of xhci
---
Changs in v7:
- drop "reset-names" property
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
--- Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +3 -1
@@ -34,6 +34,7 @@ properties: - mediatek,mt8183-xhci - mediatek,mt8186-xhci - mediatek,mt8188-xhci + - mediatek,mt8189-xhci - mediatek,mt8192-xhci - mediatek,mt8195-xhci - mediatek,mt8365-xhci
@@ -168,7 +169,8 @@ properties: 104 - used by mt8195, IP1, specific 1.04; 105 - used by mt8195, IP2, specific 1.05; 106 - used by mt8195, IP3, specific 1.06; - enum: [1, 2, 101, 102, 103, 104, 105, 106] + 110 - used by mt8189, IP4, specific 1.10; + enum: [1, 2, 101, 102, 103, 104, 105, 106, 110] mediatek,u3p-dis-msk: $ref: /schemas/types.yaml#/definitions/uint32
Signature · 1 line
2.45.2
Re: [PATCH v7 5/9] dt-bindings: usb: Support MediaTek MT8189 xhci
Quoted 3 lines · Jack Hsu
modify dt-binding for support mt8189 dts node of xhci
Signed-off-by Jack Hsu <[email protected]>
pw-bot: not-applicable
PATCH v7 6/9 dt-bindings: watchdog: Support MediaTek MT8189 wdt
In reply to Jack Hsumodify dt-binding for support mt8189 dts node of wdt
---
Changs in v7:
- update dt-bindings commit msg
(use "mt8189" instead of "mt8189 evb board")
--- Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml +1 -0
@@ -41,6 +41,7 @@ properties: - mediatek,mt7623-wdt - mediatek,mt7629-wdt - mediatek,mt8173-wdt + - mediatek,mt8188-wdt - mediatek,mt8365-wdt - mediatek,mt8516-wdt - const: mediatek,mt6589-wdt
Signature · 1 line
2.45.2
PATCH v7 7/9 arm64: dts: mediatek: Add MT6319 PMIC Support
In reply to Jack HsuAdd support for MediaTek MT6319 PMIC IC
---
Changs in v7:
- change pmic node name as "pmic@"
--- arch/arm64/boot/dts/mediatek/mt6319.dtsi | 66 ++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt6319.dtsi
arch/arm64/boot/dts/mediatek/mt6319.dtsi new file +66 -0
@@ -0,0 +1,66 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2025 MediaTek Inc. + */ +#include <dt-bindings/spmi/spmi.h> + +&spmi { + mt6319_7: pmic@7 { + compatible = "mediatek,mt6315-regulator"; + buck1-modeset-mask = <0x3>; + reg = <0x7 SPMI_USID>; + + regulators { + mt6319_7_vbuck1: vbuck1 { + regulator-name = "vbuck1"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_7_vbuck2: vbuck2 { + regulator-name = "vbuck2"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_7_vbuck3: vbuck3 { + regulator-name = "vbuck3"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_7_vbuck4: vbuck4 { + regulator-name = "vbuck4"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + }; + }; + + mt6319_8: pmic@8 { + compatible = "mediatek,mt6315-regulator"; + buck1-modeset-mask = <0xb>; + reg = <0x8 SPMI_USID>; + + regulators { + mt6319_8_vbuck1: vbuck1 { + regulator-name = "vbuck1"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_8_vbuck2: vbuck2 { + regulator-name = "vbuck2"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_8_vbuck3: vbuck3 { + regulator-name = "vbuck3"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + mt6319_8_vbuck4: vbuck4 { + regulator-name = "vbuck4"; + regulator-allowed-modes = <0 1 2>; + regulator-always-on; + }; + }; + }; +}; +
Signature · 1 line
2.45.2
PATCH v7 8/9 arm64: dts: mediatek: update rtc properties for MT6359
In reply to Jack HsuUpdate properties of rtc for mt6359 PMIC
---
Changs in v7:
- remove mt635x-auadc.h
- remove fg nodes
--- arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/mediatek/mt6359.dtsi +3 -0
@@ -302,6 +302,9 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub { mt6359rtc: rtc { compatible = "mediatek,mt6358-rtc"; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; }; }; };
Signature · 1 line
2.45.2
Re: [PATCH v7 8/9] arm64: dts: mediatek: update rtc properties for MT6359
Quoted 18 lines · Jack Hsu
Update properties of rtc for mt6359 PMIC
Signed-off-by Jack Hsu <[email protected]>---
Changs in v7:
- removemt635x-auadc.h
- remove fg nodes--- arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/mediatek/mt6359.dtsi +0
-0
arch/arm64/boot/dts/mediatek/mt6359.dtsi mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub { · line 307
Quoted 6 lines
arch/arm64/boot/dts/mediatek/mt6359.dtsi +3
-0@@ -302,6 +302,9 @@ mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub { mt6359rtc: rtc { compatible = "mediatek,mt6358-rtc"; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled";
Okay, this looks a lot better now. Still missing an explanation of why it has been moved to disabled though, especially since you just go and re-enable it (without adding child devices that use the address/size cells).
pw-bot: changes-requested
Quoted 6 lines
arch/arm64/boot/dts/mediatek/mt6359.dtsi +0
-0}; }; };Signature · 1 line
2.45.2
PATCH v7 9/9 arm64: dts: mediatek: Add mt8189 evaluation board dts
In reply to Jack HsuAdd MediaTek mt8189 evaluation board dts, dtsi, Mafefile.
---
Changs in v7:
- update mt8189 clk node
(refer to: https://lore.kernel.org/linux-mediatek/[email protected]/) - xhci node drop "reset-names" property - update mt8189 thermal node (refer to: https://lore.kernel.org/linux-mediatek/[email protected]/)
- Link to v6: https://lore.kernel.org/linux-mediatek/[email protected]/
--- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8189-evb.dts | 1082 ++++++ arch/arm64/boot/dts/mediatek/mt8189.dtsi | 3310 +++++++++++++++++++ 3 files changed, 4393 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
@@ -94,6 +94,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 +1082 -0
1,082 lines not on this page · raw message
arch/arm64/boot/dts/mediatek/mt8189.dtsi new file +3310 -0
1,911 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.45.2
Part of the diff is not shown here. View the raw message.