ARM: Basic support for Amazon ford tablet (MT8127)
Subsystems (3)
v5 cover ARM: Basic support for Amazon ford tablet (MT8127)
This series of patches adds basic support for MT8127 SoC based Amazon ford tablet.
---
Changes in v5:
- Fix model value in dts.
- Fix missing space in watchdog's compatible in dtsi.
- Link to v4: https://patch.msgid.link/[email protected]
Changes in v4:
- Add chassis-type property to dts.
- Add missing #address-cells, #size-cells and ranges properties to dts
(sashiko report).
- Link to v3: https://patch.msgid.link/[email protected]
Changes in v3:
- Rebase onto v7.3-rc1.
- Drop [PATCH v2 3/5] as it was superseded by upstream changes.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Move amazon ford compatible string to existing enum.
- Fix watchdog node not sorted in unit address ascending order (sashiko report).
- Move bindings documentation patches before patches implementing the bindings.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Zakariya Hadrami (4):
dt-bindings: watchdog: mediatek: Add MT8127
dt-bindings: arm: mediatek: Add MT8127 Amazon ford
ARM: dts: mediatek: mt8127: Add watchdog support
ARM: dts: mediatek: Add basic support for Amazon ford board
.../devicetree/bindings/arm/mediatek.yaml | 1 + .../bindings/watchdog/mediatek,mtk-wdt.yaml | 1 + arch/arm/boot/dts/mediatek/Makefile | 1 + arch/arm/boot/dts/mediatek/mt8127-amazon-ford.dts | 54 ++++++++++++++++++++++ arch/arm/boot/dts/mediatek/mt8127.dtsi | 7 +++ 5 files changed, 64 insertions(+)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260616-mt8127-amazon-ford-basic-1509d7052f7e
Best regards,
Signature · 1 line
Zakariya Hadrami <[email protected]>
PATCH v5 1/4 dt-bindings: watchdog: mediatek: Add MT8127
Add entry for MT8127 SoC's watchdog which is compatible with MT6589's one.
--- Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml +1 -0
@@ -40,6 +40,7 @@ properties: - mediatek,mt7622-wdt - mediatek,mt7623-wdt - mediatek,mt7629-wdt + - mediatek,mt8127-wdt - mediatek,mt8173-wdt - mediatek,mt8188-wdt - mediatek,mt8189-wdt
Signature · 1 line
2.54.0
Re: [PATCH v5 1/4] dt-bindings: watchdog: mediatek: Add MT8127
Quoted 9 lines · Zakariya Hadrami
From: Zakariya Hadrami <[email protected]>
Add entry for MT8127 SoC's watchdog which is compatible with MT6589's one.
Acked-by Guenter Roeck <[email protected]>Reviewed-by AngeloGioacchino Del Regno <[email protected]>Signed-off-by Zakariya Hadrami <[email protected]>
Applied.
Thanks,
Guenter
PATCH v5 2/4 dt-bindings: arm: mediatek: Add MT8127 Amazon ford
In reply to Zakariya HadramiAdd entry for the MT8127 based Amazon ford tablet.
--- Documentation/devicetree/bindings/arm/mediatek.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +1 -0
@@ -122,6 +122,7 @@ properties: - const: mediatek,mt7988a - items: - enum: + - amazon,ford - mediatek,mt8127-moose - const: mediatek,mt8127 - items:
Signature · 1 line
2.54.0
PATCH v5 3/4 ARM: dts: mediatek: mt8127: Add watchdog support
In reply to Zakariya HadramiAdd watchdog node and disable it by default as it was not present initially.
--- arch/arm/boot/dts/mediatek/mt8127.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/mediatek/mt8127.dtsi +7 -0
@@ -99,6 +99,13 @@ soc { compatible = "simple-bus"; ranges; + watchdog: watchdog@10007000 { + compatible = "mediatek,mt8127-wdt", "mediatek,mt6589-wdt"; + reg = <0 0x10007000 0 0x100>; + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; + status = "disabled"; + }; + timer: timer@10008000 { compatible = "mediatek,mt8127-timer", "mediatek,mt6577-timer";
Signature · 1 line
2.54.0
[email protected]
AI reviewRe: [PATCH v5 3/4] ARM: dts: mediatek: mt8127: Add watchdog support
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] The watchdog node is disabled by default in the SoC .dtsi, which is a device tree anti-pattern for…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The watchdog node is disabled by default in the SoC .dtsi, which is a device tree anti-pattern for internal IPs without board-specific dependencies. --
commit 00ce16ebfa121cfaa7d2f6798bebf7e7aabf4c90
Author: Zakariya Hadrami <[email protected]>
ARM: dts: mediatek: mt8127: Add watchdog support
This commit adds the watchdog node for MT8127 and explicitly disables it by default in the SoC dtsi.
arch/arm/boot/dts/mediatek/mt8127.dtsi soc { · line 106
Quoted 13 lines
arch/arm/boot/dts/mediatek/mt8127.dtsi +5
-0@@ -99,6 +99,13 @@ soc { compatible = "simple-bus"; ranges; + watchdog: watchdog@10007000 { + compatible = "mediatek,mt8127-wdt", "mediatek,mt6589-wdt"; + reg = <0 0x10007000 0 0x100>; + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; + status = "disabled";
[Severity: Low]
Is it necessary to disable this watchdog by default?
The watchdog timer is a core internal IP of the SoC that does not require board-specific configuration. Standard device tree practice is to omit status = "disabled" for internal IPs in the SoC .dtsi file.
The commit message states "disable it by default as it was not present initially". Will this require every board file inheriting this .dtsi to redundantly set status = "okay"?
Quoted 1 line
arch/arm/boot/dts/mediatek/mt8127.dtsi +1
-0+ };
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
Re: [PATCH v5 3/4] ARM: dts: mediatek: mt8127: Add watchdog support
Quoted 29 lines · On Thu, Sep 10, 2026 at 01:36:04PM +0000, [email protected] wrote:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The watchdog node is disabled by default in the SoC .dtsi, which is a device tree anti-pattern for internal IPs without board-specific dependencies. --commit
00ce16ebfa121cfaa7d2f6798bebf7e7aabf4c90
Author: Zakariya Hadrami <[email protected]>ARM: dts: mediatek: mt8127: Add watchdog support
This commit adds the watchdog node for MT8127 and explicitly disables it by default in the SoC dtsi.
arch/arm/boot/dts/mediatek/mt8127.dtsi soc { · line 106
Quoted 13 lines
arch/arm/boot/dts/mediatek/mt8127.dtsi +5
-0@@ -99,6 +99,13 @@ soc { compatible = "simple-bus"; ranges; + watchdog: watchdog@10007000 { + compatible = "mediatek,mt8127-wdt", "mediatek,mt6589-wdt"; + reg = <0 0x10007000 0 0x100>; + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>; + status = "disabled";[Severity: Low]
Is it necessary to disable this watchdog by default?
Quoted 8 lines
The watchdog timer is a core internal IP of the SoC that does not require board-specific configuration. Standard device tree practice is to omit status = "disabled" for internal IPs in the SoC .dtsi file.
The commit message states "disable it by default as it was not present initially". Will this require every board file inheriting this .dtsi to redundantly set status = "okay"?
Moose board originally inherits mt8127.dtsi without watchdog node and I do not have a moose board to test nor infos on the expected behavior. So I will keep this as is and advise on further comments.
Thanks!
Signature · 2 lines
Best regards, Zakariya
PATCH v5 4/4 ARM: dts: mediatek: Add basic support for Amazon ford board
In reply to Zakariya HadramiThis tablet uses a MediaTek MT8127 system-on-chip with 1GB of RAM. It can currently boot into initramfs with a working UART and Simple Framebuffer using already initialized panel by the bootloader.
--- arch/arm/boot/dts/mediatek/Makefile | 1 + arch/arm/boot/dts/mediatek/mt8127-amazon-ford.dts | 54 +++++++++++++++++++++++ 2 files changed, 55 insertions(+)
arch/arm/boot/dts/mediatek/Makefile +1 -0
@@ -14,5 +14,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7623n-rfb-emmc.dtb \ mt7623n-bananapi-bpi-r2.dtb \ mt7629-rfb.dtb \ + mt8127-amazon-ford.dtb \ mt8127-moose.dtb \ mt8135-evbp1.dtb
arch/arm/boot/dts/mediatek/mt8127-amazon-ford.dts new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
2.54.0
Re: (subset) [PATCH v5 0/4] ARM: Basic support for Amazon ford tablet (MT8127)
In reply to Zakariya HadramiQuoted 2 lines · Zakariya Hadrami
This series of patches adds basic support for MT8127 SoC based Amazon ford tablet.
Applied to v7.3-next/dts32, thanks!
[2/4] dt-bindings: arm: mediatek: Add MT8127 Amazon ford
commit: f97be0d722ebef4de65a39813778f6ba62c2ac1e
[3/4] ARM: dts: mediatek: mt8127: Add watchdog support
commit: 5e23e7d730c6e984e4f03c3b25e2188de9f4ba99
[4/4] ARM: dts: mediatek: Add basic support for Amazon ford board
commit: 2e195497fc9fc0dd89cf95dab80a2d0486dab65bCheers,
Angelo