Skip to contentSkip to conversation

ARM: Basic support for Amazon ford tablet (MT8127)

PATCH Superseded Zakariya Hadrami 3 participants 9 messages Jun 17 – Jul 6

Subsystems (3)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover ARM: Basic support for Amazon ford tablet (MT8127)

This series of patches adds basic support for MT8127 SoC based Amazon ford tablet and fixes a small indentation error in the dtsi file.

---
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 (5):
dt-bindings: watchdog: mediatek: Add MT8127
dt-bindings: arm: mediatek: Add MT8127 Amazon ford
ARM: dts: mediatek: mt8127: Fix indentation error
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  | 46 ++++++++++++++++++++++
 arch/arm/boot/dts/mediatek/mt8127.dtsi             |  9 ++++-
 5 files changed, 57 insertions(+), 1 deletion(-)

---
base-commit: 8cd9520d35a6c38db6567e97dd93b1f11f185dc6
change-id: 20260616-mt8127-amazon-ford-basic-1509d7052f7e

Best regards,

Signature · 1 line
Zakariya Hadrami <[email protected]>
#1 lore raw

PATCH v2 1/5 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
index 953629cb9558..e6e4546da0aa 100644
@@ -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
maintainer Acked-by on v2 1/5
#2 lore raw

Re: [PATCH v2 1/5] dt-bindings: watchdog: mediatek: Add MT8127

Quoted 7 lines · On 6/17/26 06:36, Zakariya Hadrami via B4 Relay wrote:

From: Zakariya Hadrami <[email protected]>

Add entry for MT8127 SoC's watchdog which is compatible with MT6589's one.

I don't know if I am supposed to pick up this patch. I assume it will be picked up with the rest of the series, so

for that.

Guenter

Quoted 17 lines
---
  Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
  1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml +1 -0
index 953629cb9558..e6e4546da0aa 100644
@@ -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
#3 lore raw

PATCH v2 2/5 dt-bindings: arm: mediatek: Add MT8127 Amazon ford

In reply to Zakariya Hadrami

Add 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
index 382d0eb4d0af..853f5e8cd158 100644
@@ -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
#5 lore raw

PATCH v2 3/5 ARM: dts: mediatek: mt8127: Fix indentation error

In reply to Zakariya Hadrami

Fix an indentation error caused by a space at the start of a line.

---
 arch/arm/boot/dts/mediatek/mt8127.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/mediatek/mt8127.dtsi +1 -1
index aced173c2a52..bd61ec7e70c0 100644
@@ -75,7 +75,7 @@ uart_clk: dummy26m {
 			compatible = "fixed-clock";
 			clock-frequency = <26000000>;
 			#clock-cells = <0>;
-                };
+		};
 	};
 
 	timer {
Signature · 1 line
2.54.0
#6 lore raw

PATCH v2 4/5 ARM: dts: mediatek: mt8127: Add watchdog support

In reply to Zakariya Hadrami

Add 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
index bd61ec7e70c0..3e23673e7a9e 100644
@@ -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
#7 lore raw

PATCH v2 5/5 ARM: dts: mediatek: Add basic support for Amazon ford board

In reply to Zakariya Hadrami

This 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 | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)
arch/arm/boot/dts/mediatek/Makefile +1 -0
index 37c4cded0eae..a610bc75c7d9 100644
@@ -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 +46 -0

46 lines not on this page · raw message

Signature · 1 line
2.54.0