Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
@ 2026-11-07 12:21 Rui Cao via B4 Relay
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-07 12:21 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, Rui Cao

This series adds basic support for MediaTek's MT6833 (Dimensity 700) and
for the Xiaomi Redmi Note 13 5G (gold), which is built on it: the eight
cores with their caches and PMUs, PSCI, the architected timer, the GIC,
the watchdog and the first UART, and on the phone its memory, the
regions its bootloader reserves for firmware and the framebuffer the
bootloader leaves lit.

With it the phone boots to an initramfs on the framebuffer console, with
all eight cores online, both PMUs registered and the watchdog running;
UART0, which has no connector on gold, passes an internal loopback test.
The pin, clock and power domain controllers, the PMIC wrapper, UFS and
USB are to follow in later series.

On booting: gold's bootloader (LK) only starts a kernel with the stock
device tree and the dtbo it overlays on it, so I boot mainline through a
small shim in the boot image. Like a bootloader, the shim takes the
memory node and the reserved regions from the tree LK passes, which
depend on the RAM variant, and enters the kernel with this device tree
updated with them. The values written out in the board's device tree are
the ones LK reports on a 6 GB unit, the one this was tested on.

Signed-off-by: Rui Cao <i@udp0.com>
---
Rui Cao (4):
      dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
      dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
      dt-bindings: serial: mediatek,uart: Add MT6833
      arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G

 .../devicetree/bindings/arm/mediatek.yaml          |   4 +
 .../devicetree/bindings/serial/mediatek,uart.yaml  |   1 +
 .../bindings/watchdog/mediatek,mtk-wdt.yaml        |   1 +
 arch/arm64/boot/dts/mediatek/Makefile              |   1 +
 .../arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts | 205 +++++++++++++
 arch/arm64/boot/dts/mediatek/mt6833.dtsi           | 341 +++++++++++++++++++++
 6 files changed, 553 insertions(+)
---
base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee
change-id: 20261107-mt6833-base-5a974a951add

Best regards,
--  
Rui Cao <i@udp0.com>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 1/4] dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:21 [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
@ 2026-11-07 12:21 ` Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
                     ` (2 more replies)
  2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 18+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-07 12:21 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, Rui Cao

From: Rui Cao <i@udp0.com>

Add MediaTek's MT6833 (Dimensity 700) and the Xiaomi Redmi Note 13 5G,
codenamed gold, which is built on it.

Signed-off-by: Rui Cao <i@udp0.com>
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 180e6e4948e..900f16b57dc 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -72,6 +72,10 @@ properties:
               - archermind,mt6797-x20-dev
               - mediatek,mt6797-evb
           - const: mediatek,mt6797
+      - items:
+          - enum:
+              - xiaomi,gold
+          - const: mediatek,mt6833
       - items:
           - enum:
               - bananapi,bpi-r64

-- 
Git-157)



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
  2026-11-07 12:21 [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
@ 2026-11-07 12:21 ` Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
                     ` (2 more replies)
  2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
  2026-11-07 12:22 ` [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
  3 siblings, 3 replies; 18+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-07 12:21 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, Rui Cao

From: Rui Cao <i@udp0.com>

Add MediaTek's MT6833 (Dimensity 700). Its watchdog works as MT6589's,
which it falls back to.

Signed-off-by: Rui Cao <i@udp0.com>
---
 Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
index f9b725592c2..dfdc06c758d 100644
--- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
@@ -38,6 +38,7 @@ properties:
               - mediatek,mt6572-wdt
               - mediatek,mt6582-wdt
               - mediatek,mt6797-wdt
+              - mediatek,mt6833-wdt
               - mediatek,mt7622-wdt
               - mediatek,mt7623-wdt
               - mediatek,mt7629-wdt

-- 
Git-157)



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 3/4] dt-bindings: serial: mediatek,uart: Add MT6833
  2026-11-07 12:21 [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
  2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
@ 2026-11-07 12:22 ` Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
                     ` (2 more replies)
  2026-11-07 12:22 ` [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
  3 siblings, 3 replies; 18+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-07 12:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, Rui Cao

From: Rui Cao <i@udp0.com>

Add MediaTek's MT6833 (Dimensity 700). Its UARTs are MT6577-compatible:
MediaTek's MT6833 device tree gives them "mediatek,mt6577-uart" alone.

Signed-off-by: Rui Cao <i@udp0.com>
---
 Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
index 5bd8a8853ae..8fb793c3408 100644
--- a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
@@ -34,6 +34,7 @@ properties:
               - mediatek,mt6779-uart
               - mediatek,mt6795-uart
               - mediatek,mt6797-uart
+              - mediatek,mt6833-uart
               - mediatek,mt6893-uart
               - mediatek,mt7622-uart
               - mediatek,mt7623-uart

-- 
Git-157)



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:21 [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
                   ` (2 preceding siblings ...)
  2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
@ 2026-11-07 12:22 ` Rui Cao via B4 Relay
  2026-11-07 12:30   ` sashiko-bot
  2026-11-07 13:26   ` Roman Vivchar
  3 siblings, 2 replies; 18+ messages in thread
From: Rui Cao via B4 Relay @ 2026-11-07 12:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby
  Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	linux-watchdog, linux-serial, Rui Cao

From: Rui Cao <i@udp0.com>

Add a device tree for MediaTek's MT6833 (Dimensity 700): its eight
cores, six Cortex-A55 and two Cortex-A76 in one DynamIQ cluster, with
their caches and PMUs, PSCI, the architected timer, the GICv3, the
watchdog and the first UART.

Add the Xiaomi Redmi Note 13 5G (gold) on it, with its memory, the
regions its bootloader reserves for the firmware it starts, and the
framebuffer the bootloader leaves the panel scanning out.

The cache sizes are the ones the cores report in CCSIDR_EL1. The
bootloader programs CNTFRQ_EL0 (13 MHz), so the timer has no
clock-frequency.

Signed-off-by: Rui Cao <i@udp0.com>
---
 arch/arm64/boot/dts/mediatek/Makefile              |   1 +
 .../arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts | 205 +++++++++++++
 arch/arm64/boot/dts/mediatek/mt6833.dtsi           | 341 +++++++++++++++++++++
 3 files changed, 547 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index a86fb313b1a..b8466d4a3d6 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-sony-xperia-m5.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6833-xiaomi-gold.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-cudy-wr3000-v1.dtb
diff --git a/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts b/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts
new file mode 100644
index 00000000000..6bdcf407fb6
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts
@@ -0,0 +1,205 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
+/*
+ * Xiaomi Redmi Note 13 5G (gold)
+ *
+ * Copyright (C) 2026 Rui Cao <i@udp0.com>
+ */
+
+/dts-v1/;
+#include "mt6833.dtsi"
+
+/ {
+	model = "Xiaomi Redmi Note 13 5G";
+	compatible = "xiaomi,gold", "mediatek,mt6833";
+	chassis-type = "handset";
+
+	chosen {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		/* The bootloader leaves the panel lit, scanning out this buffer */
+		framebuffer@73c10000 {
+			compatible = "simple-framebuffer";
+			reg = <0 0x73c10000 0 (4352 * 2400)>;
+			width = <1080>;
+			height = <2400>;
+			stride = <4352>;
+			format = "a8r8g8b8";
+		};
+	};
+
+	memory@40000000 {
+		device_type = "memory";
+		reg = <0 0x40000000 1 0x80000000>;
+	};
+
+	/*
+	 * The regions the bootloader reserves for the firmware it starts (ATF,
+	 * TEE, GenieZone, the SSPM, MCUPM and SCP coprocessors, the modem) and
+	 * for itself, as it reports them.
+	 */
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		aee-debug-kinfo@48080000 {
+			reg = <0 0x48080000 0 0x10000>;
+			no-map;
+		};
+
+		ramoops@48090000 {
+			compatible = "ramoops";
+			reg = <0 0x48090000 0 0xe0000>;
+			console-size = <0x40000>;
+			pmsg-size = <0x80000>;
+			no-map;
+		};
+
+		minirdump@48170000 {
+			reg = <0 0x48170000 0 0x10000>;
+			no-map;
+		};
+
+		atf-reserved@48c00000 {
+			reg = <0 0x48c00000 0 0x200000>;
+			no-map;
+		};
+
+		spm-reserved@72c00000 {
+			reg = <0 0x72c00000 0 0x10000>;
+			no-map;
+		};
+
+		framebuffer@73c10000 {
+			reg = <0 0x73c10000 0 0x1df0000>;
+			no-map;
+		};
+
+		tee-shm@75a00000 {
+			reg = <0 0x75a00000 0 0x400000>;
+			no-map;
+		};
+
+		tee-reserved@75e00000 {
+			reg = <0 0x75e00000 0 0x8a00000>;
+			no-map;
+		};
+
+		tee-secmem@7e800000 {
+			reg = <0 0x7e800000 0 0x400000>;
+			no-map;
+		};
+
+		gz-log@7ec00000 {
+			reg = <0 0x7ec00000 0 0x41000>;
+			no-map;
+		};
+
+		mcupm-reserved@7ed00000 {
+			reg = <0 0x7ed00000 0 0x100000>;
+			no-map;
+		};
+
+		gz@7ee00000 {
+			reg = <0 0x7ee00000 0 0x1000000>;
+			no-map;
+		};
+
+		sspm-reserved@7feb0000 {
+			reg = <0 0x7feb0000 0 0x100000>;
+			no-map;
+		};
+
+		log-store@7ffb0000 {
+			reg = <0 0x7ffb0000 0 0x40000>;
+			no-map;
+		};
+
+		emi-mbist-buf@7ffff000 {
+			reg = <0 0x7ffff000 0 0x1000>;
+			no-map;
+		};
+
+		ap-md-c-smem@86000000 {
+			reg = <0 0x86000000 0 0x2960000>;
+			no-map;
+		};
+
+		ap-md-nc-smem@8a000000 {
+			reg = <0 0x8a000000 0 0x1b0000>;
+			no-map;
+		};
+
+		md-mem-usage@8c000000 {
+			reg = <0 0x8c000000 0 0x20c0000>;
+			no-map;
+		};
+
+		drdi-memory@8e0c0000 {
+			reg = <0 0x8e0c0000 0 0x270000>;
+			no-map;
+		};
+
+		md-mem-usage@8e330000 {
+			reg = <0 0x8e330000 0 0x10000>;
+			no-map;
+		};
+
+		md-mem-usage@8f000000 {
+			reg = <0 0x8f000000 0 0xf0000>;
+			no-map;
+		};
+
+		md-mem-usage@90000000 {
+			reg = <0 0x90000000 0 0x7210000>;
+			no-map;
+		};
+
+		md-mem-usage@a7bd0000 {
+			reg = <0 0xa7bd0000 0 0x1730000>;
+			no-map;
+		};
+
+		scp-reserved@b9500000 {
+			reg = <0 0xb9500000 0 0x400000>;
+			no-map;
+		};
+
+		picachu@bfd00000 {
+			reg = <0 0xbfd00000 0 0x80000>;
+			no-map;
+		};
+
+		atf-log-reserved@bfe00000 {
+			reg = <0 0xbfe00000 0 0x40000>;
+			no-map;
+		};
+
+		ccci-tag-mem@bff60000 {
+			reg = <0 0xbff60000 0 0x10000>;
+			no-map;
+		};
+
+		atf-ramdump-reserved@bff70000 {
+			reg = <0 0xbff70000 0 0x80000>;
+			no-map;
+		};
+
+		dramc-rk0@bffff000 {
+			reg = <0 0xbffff000 0 0x1000>;
+			no-map;
+		};
+
+		dpm-reserved@ffe60000 {
+			reg = <0 0xffe60000 0 0x190000>;
+			no-map;
+		};
+
+		dramc-rk1@1bffff000 {
+			reg = <1 0xbffff000 0 0x1000>;
+			no-map;
+		};
+	};
+};
diff --git a/arch/arm64/boot/dts/mediatek/mt6833.dtsi b/arch/arm64/boot/dts/mediatek/mt6833.dtsi
new file mode 100644
index 00000000000..4c5f1381ca6
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6833.dtsi
@@ -0,0 +1,341 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
+/*
+ * MediaTek MT6833 (Dimensity 700)
+ *
+ * Copyright (C) 2026 Rui Cao <i@udp0.com>
+ */
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/ {
+	compatible = "mediatek,mt6833";
+	interrupt-parent = <&gic>;
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	clk26m: oscillator-26m {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <26000000>;
+		clock-output-names = "clk26m";
+	};
+
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu0: cpu@0 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x000>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_0>;
+
+			l2_0: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu1: cpu@100 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x100>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_1>;
+
+			l2_1: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu2: cpu@200 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x200>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_2>;
+
+			l2_2: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu3: cpu@300 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x300>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_3>;
+
+			l2_3: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu4: cpu@400 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x400>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_4>;
+
+			l2_4: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu5: cpu@500 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a55";
+			reg = <0x500>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <405>;
+			i-cache-size = <32768>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <128>;
+			d-cache-size = <32768>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <128>;
+			next-level-cache = <&l2_5>;
+
+			l2_5: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <131072>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu6: cpu@600 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a76";
+			reg = <0x600>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <1024>;
+			i-cache-size = <65536>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <256>;
+			d-cache-size = <65536>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <256>;
+			next-level-cache = <&l2_6>;
+
+			l2_6: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <262144>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu7: cpu@700 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a76";
+			reg = <0x700>;
+			enable-method = "psci";
+			capacity-dmips-mhz = <1024>;
+			i-cache-size = <65536>;
+			i-cache-line-size = <64>;
+			i-cache-sets = <256>;
+			d-cache-size = <65536>;
+			d-cache-line-size = <64>;
+			d-cache-sets = <256>;
+			next-level-cache = <&l2_7>;
+
+			l2_7: l2-cache {
+				compatible = "cache";
+				cache-level = <2>;
+				cache-unified;
+				cache-size = <262144>;
+				cache-line-size = <64>;
+				cache-sets = <512>;
+				next-level-cache = <&l3_0>;
+			};
+		};
+
+		cpu-map {
+			cluster0 {
+				core0 {
+					cpu = <&cpu0>;
+				};
+
+				core1 {
+					cpu = <&cpu1>;
+				};
+
+				core2 {
+					cpu = <&cpu2>;
+				};
+
+				core3 {
+					cpu = <&cpu3>;
+				};
+
+				core4 {
+					cpu = <&cpu4>;
+				};
+
+				core5 {
+					cpu = <&cpu5>;
+				};
+
+				core6 {
+					cpu = <&cpu6>;
+				};
+
+				core7 {
+					cpu = <&cpu7>;
+				};
+			};
+		};
+
+		l3_0: l3-cache {
+			compatible = "cache";
+			cache-level = <3>;
+			cache-unified;
+			cache-size = <1048576>;
+			cache-line-size = <64>;
+			cache-sets = <1024>;
+		};
+	};
+
+	pmu-a55 {
+		compatible = "arm,cortex-a55-pmu";
+		interrupt-parent = <&gic>;
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>;
+	};
+
+	pmu-a76 {
+		compatible = "arm,cortex-a76-pmu";
+		interrupt-parent = <&gic>;
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>;
+	};
+
+	psci {
+		compatible = "arm,psci-1.0";
+		method = "smc";
+	};
+
+	timer: timer {
+		compatible = "arm,armv8-timer";
+		interrupt-parent = <&gic>;
+		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH 0>,
+			     <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH 0>,
+			     <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH 0>,
+			     <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
+	};
+
+	soc {
+		compatible = "simple-bus";
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		gic: interrupt-controller@c000000 {
+			compatible = "arm,gic-v3";
+			reg = <0 0x0c000000 0 0x40000>,
+			      <0 0x0c040000 0 0x200000>;
+			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
+			interrupt-parent = <&gic>;
+			interrupt-controller;
+			#interrupt-cells = <4>;
+			#redistributor-regions = <1>;
+
+			ppi-partitions {
+				ppi_cluster0: interrupt-partition-0 {
+					affinity = <&cpu0 &cpu1 &cpu2 &cpu3 &cpu4 &cpu5>;
+				};
+
+				ppi_cluster1: interrupt-partition-1 {
+					affinity = <&cpu6 &cpu7>;
+				};
+			};
+		};
+
+		watchdog: watchdog@10007000 {
+			compatible = "mediatek,mt6833-wdt", "mediatek,mt6589-wdt";
+			reg = <0 0x10007000 0 0x100>;
+		};
+
+		uart0: serial@11002000 {
+			compatible = "mediatek,mt6833-uart", "mediatek,mt6577-uart";
+			reg = <0 0x11002000 0 0x1000>;
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&clk26m>, <&clk26m>;
+			clock-names = "baud", "bus";
+			status = "disabled";
+		};
+	};
+};

-- 
Git-157)



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/4] dt-bindings: serial: mediatek,uart: Add MT6833
  2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
@ 2026-11-07 12:24   ` sashiko-bot
  2026-11-07 14:00   ` Roman Vivchar
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: sashiko-bot @ 2026-11-07 12:24 UTC (permalink / raw)
  To: Rui Cao; +Cc: linux-serial

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700). Its UARTs are MT6577-compatible:
> MediaTek's MT6833 device tree gives them "mediatek,mt6577-uart" alone.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261107-mt6833-base-v1-0-bda21083e9f3@udp0.com?part=3


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
  2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
@ 2026-11-07 12:24   ` sashiko-bot
  2026-11-07 13:05   ` Roman Vivchar
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: sashiko-bot @ 2026-11-07 12:24 UTC (permalink / raw)
  To: Rui Cao; +Cc: linux-serial

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700). Its watchdog works as MT6589's,
> which it falls back to.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261107-mt6833-base-v1-0-bda21083e9f3@udp0.com?part=2


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/4] dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
@ 2026-11-07 12:24   ` sashiko-bot
  2026-11-07 13:58   ` Roman Vivchar
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: sashiko-bot @ 2026-11-07 12:24 UTC (permalink / raw)
  To: Rui Cao; +Cc: linux-serial

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700) and the Xiaomi Redmi Note 13 5G,
> codenamed gold, which is built on it.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261107-mt6833-base-v1-0-bda21083e9f3@udp0.com?part=1


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:22 ` [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
@ 2026-11-07 12:30   ` sashiko-bot
  2026-11-07 13:26   ` Roman Vivchar
  1 sibling, 0 replies; 18+ messages in thread
From: sashiko-bot @ 2026-11-07 12:30 UTC (permalink / raw)
  To: Rui Cao; +Cc: linux-serial

> From: Rui Cao <i@udp0.com>
> 
> Add a device tree for MediaTek's MT6833 (Dimensity 700): its eight
> cores, six Cortex-A55 and two Cortex-A76 in one DynamIQ cluster, with
> their caches and PMUs, PSCI, the architected timer, the GICv3, the
> watchdog and the first UART.
> 
> Add the Xiaomi Redmi Note 13 5G (gold) on it, with its memory, the
> regions its bootloader reserves for the firmware it starts, and the
> framebuffer the bootloader leaves the panel scanning out.
> 
> The cache sizes are the ones the cores report in CCSIDR_EL1. The
> bootloader programs CNTFRQ_EL0 (13 MHz), so the timer has no
> clock-frequency.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261107-mt6833-base-v1-0-bda21083e9f3@udp0.com?part=4


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
  2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
@ 2026-11-07 13:05   ` Roman Vivchar
  2026-11-07 13:23     ` i
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 1 reply; 18+ messages in thread
From: Roman Vivchar @ 2026-11-07 13:05 UTC (permalink / raw)
  To: i
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

Hi,

On Saturday, November 7th, 2026 at 2:22 PM, Rui Cao via B4 Relay <devnull+i.udp0.com@kernel.org> wrote:

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700). Its watchdog works as MT6589's,
> which it falls back to.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Does mt6833 watchdog have the same resets as mt6589? Please take a look
at mt6895 series [1].

[1]: https://lore.kernel.org/linux-mediatek/au7UMdlP9O6oo41i@buffalo-ssd/

Best regards,
Roman

> ---
>  Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> index f9b725592c2..dfdc06c758d 100644
> --- a/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml
> @@ -38,6 +38,7 @@ properties:
>                - mediatek,mt6572-wdt
>                - mediatek,mt6582-wdt
>                - mediatek,mt6797-wdt
> +              - mediatek,mt6833-wdt
>                - mediatek,mt7622-wdt
>                - mediatek,mt7623-wdt
>                - mediatek,mt7629-wdt
> 
> --
> Git-157)
> 
> 
> 
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
  2026-11-07 13:05   ` Roman Vivchar
@ 2026-11-07 13:23     ` i
  0 siblings, 0 replies; 18+ messages in thread
From: i @ 2026-11-07 13:23 UTC (permalink / raw)
  To: Roman Vivchar
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

Hi Roman,

On Saturday, November 7th, 2026, Roman Vivchar wrote:
> Does mt6833 watchdog have the same resets as mt6589? Please take a look
> at mt6895 series [1].

Thanks, I had missed that the mt6589 entry now registers a TOPRGU reset
controller. MT6833's resets don't match it: MediaTek's kernel for this
phone resets the connectivity CPU through bit 12 of WDT_SWSYSRST, past
MT6589's twelve lines. That kernel has no full reset table for MT6833,
though, and nothing in this series uses the resets.

So, as in the MT6895 thread, I'll make mediatek,mt6833-wdt a standalone
compatible in v2, with a match entry in mtk_wdt.c that has no reset
data; the resets can follow once their layout is known. I'll wait for
comments on the rest of the series before sending it.

Best regards,
Rui


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:22 ` [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
  2026-11-07 12:30   ` sashiko-bot
@ 2026-11-07 13:26   ` Roman Vivchar
  2026-11-07 13:35     ` i
  1 sibling, 1 reply; 18+ messages in thread
From: Roman Vivchar @ 2026-11-07 13:26 UTC (permalink / raw)
  To: i
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Saturday, November 7th, 2026 at 2:22 PM, Rui Cao via B4 Relay <devnull+i.udp0.com@kernel.org> wrote:

> From: Rui Cao <i@udp0.com>
> 
> Add a device tree for MediaTek's MT6833 (Dimensity 700): its eight
> cores, six Cortex-A55 and two Cortex-A76 in one DynamIQ cluster, with
> their caches and PMUs, PSCI, the architected timer, the GICv3, the
> watchdog and the first UART.
> 
> Add the Xiaomi Redmi Note 13 5G (gold) on it, with its memory, the
> regions its bootloader reserves for the firmware it starts, and the
> framebuffer the bootloader leaves the panel scanning out.
> 
> The cache sizes are the ones the cores report in CCSIDR_EL1. The
> bootloader programs CNTFRQ_EL0 (13 MHz), so the timer has no
> clock-frequency.
> 
> Signed-off-by: Rui Cao <i@udp0.com>
> ---
>  arch/arm64/boot/dts/mediatek/Makefile              |   1 +
>  .../arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts | 205 +++++++++++++
>  arch/arm64/boot/dts/mediatek/mt6833.dtsi           | 341 +++++++++++++++++++++
>  3 files changed, 547 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
> index a86fb313b1a..b8466d4a3d6 100644
> --- a/arch/arm64/boot/dts/mediatek/Makefile
> +++ b/arch/arm64/boot/dts/mediatek/Makefile
> @@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-sony-xperia-m5.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-evb.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb
> +dtb-$(CONFIG_ARCH_MEDIATEK) += mt6833-xiaomi-gold.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb
>  dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-cudy-wr3000-v1.dtb
> diff --git a/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts b/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts
> new file mode 100644
> index 00000000000..6bdcf407fb6
> --- /dev/null
> +++ b/arch/arm64/boot/dts/mediatek/mt6833-xiaomi-gold.dts
> @@ -0,0 +1,205 @@
> +// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
> +/*
> + * Xiaomi Redmi Note 13 5G (gold)
> + *
> + * Copyright (C) 2026 Rui Cao <i@udp0.com>
> + */
> +
> +/dts-v1/;
> +#include "mt6833.dtsi"
> +
> +/ {
> +	model = "Xiaomi Redmi Note 13 5G";
> +	compatible = "xiaomi,gold", "mediatek,mt6833";
> +	chassis-type = "handset";
> +
> +	chosen {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		/* The bootloader leaves the panel lit, scanning out this buffer */
> +		framebuffer@73c10000 {
> +			compatible = "simple-framebuffer";
> +			reg = <0 0x73c10000 0 (4352 * 2400)>;
> +			width = <1080>;
> +			height = <2400>;
> +			stride = <4352>;
> +			format = "a8r8g8b8";
> +		};
> +	};
> +
> +	memory@40000000 {
> +		device_type = "memory";
> +		reg = <0 0x40000000 1 0x80000000>;
> +	};
> +
> +	/*
> +	 * The regions the bootloader reserves for the firmware it starts (ATF,
> +	 * TEE, GenieZone, the SSPM, MCUPM and SCP coprocessors, the modem) and
> +	 * for itself, as it reports them.
> +	 */

Shouldn't the boot shim populate /memory and the dynamic /reserved-memory
nodes from the vendor FDT instead of hardcoding them here? There are
multiple phone variants, which may have different reserved memory addresses.

> +	reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		aee-debug-kinfo@48080000 {
> +			reg = <0 0x48080000 0 0x10000>;
> +			no-map;
> +		};

...

> diff --git a/arch/arm64/boot/dts/mediatek/mt6833.dtsi b/arch/arm64/boot/dts/mediatek/mt6833.dtsi
> new file mode 100644
> index 00000000000..4c5f1381ca6
> --- /dev/null
> +++ b/arch/arm64/boot/dts/mediatek/mt6833.dtsi

...

> +		watchdog: watchdog@10007000 {
> +			compatible = "mediatek,mt6833-wdt", "mediatek,mt6589-wdt";
> +			reg = <0 0x10007000 0 0x100>;
> +		};
> +

No interrupts?

Best regards,
Roman

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 13:26   ` Roman Vivchar
@ 2026-11-07 13:35     ` i
  0 siblings, 0 replies; 18+ messages in thread
From: i @ 2026-11-07 13:35 UTC (permalink / raw)
  To: Roman Vivchar
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

Hi Roman,

On Saturday, November 7th, 2026, Roman Vivchar wrote:
> Shouldn't the boot shim populate /memory and the dynamic /reserved-memory
> nodes from the vendor FDT instead of hardcoding them here? There are
> multiple phone variants, which may have different reserved memory addresses.

It already does: it takes the memory node and the regions LK reserves
from the tree LK passes, matched by address, so the ones here are only
the values from a 6 GB unit. You're right that they don't belong here,
then. In v2 the memory node will be left for the shim to size, and
reserved-memory will keep only what the kernel uses itself: the ramoops
region and the framebuffer.

> No interrupts?

I don't know of one routed to Linux. MediaTek's device tree for this
phone gives the watchdog none, nor do the mainline ones for MT8186,
MT8188, MT8192 and MT8195, and MediaTek's kernel registers a handler
with the secure firmware (MTK_SIP_KERNEL_WDT) for watchdog timeouts
rather than taking an interrupt.

Best regards,
Rui

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/4] dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
@ 2026-11-07 13:58   ` Roman Vivchar
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: Roman Vivchar @ 2026-11-07 13:58 UTC (permalink / raw)
  To: i
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Saturday, November 7th, 2026 at 2:22 PM, Rui Cao via B4 Relay <devnull+i.udp0.com@kernel.org> wrote:

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700) and the Xiaomi Redmi Note 13 5G,
> codenamed gold, which is built on it.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Reviewed-by: Roman Vivchar <rva333@protonmail.com>

Best regards,
Roman

> ---
>  Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
> index 180e6e4948e..900f16b57dc 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.yaml
> +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
> @@ -72,6 +72,10 @@ properties:
>                - archermind,mt6797-x20-dev
>                - mediatek,mt6797-evb
>            - const: mediatek,mt6797
> +      - items:
> +          - enum:
> +              - xiaomi,gold
> +          - const: mediatek,mt6833
>        - items:
>            - enum:
>                - bananapi,bpi-r64
> 
> --
> Git-157)
> 
> 
> 
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/4] dt-bindings: serial: mediatek,uart: Add MT6833
  2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
@ 2026-11-07 14:00   ` Roman Vivchar
  2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: Roman Vivchar @ 2026-11-07 14:00 UTC (permalink / raw)
  To: i
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Saturday, November 7th, 2026 at 2:22 PM, Rui Cao via B4 Relay <devnull+i.udp0.com@kernel.org> wrote:

> From: Rui Cao <i@udp0.com>
> 
> Add MediaTek's MT6833 (Dimensity 700). Its UARTs are MT6577-compatible:
> MediaTek's MT6833 device tree gives them "mediatek,mt6577-uart" alone.
> 
> Signed-off-by: Rui Cao <i@udp0.com>

Reviewed-by: Roman Vivchar <rva333@protonmail.com>

Best regards,
Roman

> ---
>  Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> index 5bd8a8853ae..8fb793c3408 100644
> --- a/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/mediatek,uart.yaml
> @@ -34,6 +34,7 @@ properties:
>                - mediatek,mt6779-uart
>                - mediatek,mt6795-uart
>                - mediatek,mt6797-uart
> +              - mediatek,mt6833-uart
>                - mediatek,mt6893-uart
>                - mediatek,mt7622-uart
>                - mediatek,mt7623-uart
> 
> --
> Git-157)
> 
> 
> 
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 1/4] dt-bindings: arm: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G
  2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
  2026-11-07 13:58   ` Roman Vivchar
@ 2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-11 13:00 UTC (permalink / raw)
  To: Rui Cao
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Sat, Nov 07, 2026 at 08:21:58PM +0800, Rui Cao wrote:
> Add MediaTek's MT6833 (Dimensity 700) and the Xiaomi Redmi Note 13 5G,
> codenamed gold, which is built on it.
> 
> Signed-off-by: Rui Cao <i@udp0.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
>  1 file changed, 4 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833
  2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
  2026-11-07 13:05   ` Roman Vivchar
@ 2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-11 13:00 UTC (permalink / raw)
  To: Rui Cao
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Sat, Nov 07, 2026 at 08:21:59PM +0800, Rui Cao wrote:
> Add MediaTek's MT6833 (Dimensity 700). Its watchdog works as MT6589's,
> which it falls back to.
> 
> Signed-off-by: Rui Cao <i@udp0.com>
> ---
>  Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 3/4] dt-bindings: serial: mediatek,uart: Add MT6833
  2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
  2026-11-07 12:24   ` sashiko-bot
  2026-11-07 14:00   ` Roman Vivchar
@ 2026-11-11 13:00   ` Krzysztof Kozlowski
  2 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-11 13:00 UTC (permalink / raw)
  To: Rui Cao
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Sean Wang, Wim Van Sebroeck,
	Guenter Roeck, Greg Kroah-Hartman, Jiri Slaby, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-watchdog,
	linux-serial

On Sat, Nov 07, 2026 at 08:22:00PM +0800, Rui Cao wrote:
> Add MediaTek's MT6833 (Dimensity 700). Its UARTs are MT6577-compatible:
> MediaTek's MT6833 device tree gives them "mediatek,mt6577-uart" alone.
> 
> Signed-off-by: Rui Cao <i@udp0.com>
> ---
>  Documentation/devicetree/bindings/serial/mediatek,uart.yaml | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2026-11-11 13:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-07 12:21 [PATCH 0/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
2026-11-07 12:21 ` [PATCH 1/4] dt-bindings: arm: " Rui Cao via B4 Relay
2026-11-07 12:24   ` sashiko-bot
2026-11-07 13:58   ` Roman Vivchar
2026-11-11 13:00   ` Krzysztof Kozlowski
2026-11-07 12:21 ` [PATCH 2/4] dt-bindings: watchdog: mediatek,mtk-wdt: Add MT6833 Rui Cao via B4 Relay
2026-11-07 12:24   ` sashiko-bot
2026-11-07 13:05   ` Roman Vivchar
2026-11-07 13:23     ` i
2026-11-11 13:00   ` Krzysztof Kozlowski
2026-11-07 12:22 ` [PATCH 3/4] dt-bindings: serial: mediatek,uart: " Rui Cao via B4 Relay
2026-11-07 12:24   ` sashiko-bot
2026-11-07 14:00   ` Roman Vivchar
2026-11-11 13:00   ` Krzysztof Kozlowski
2026-11-07 12:22 ` [PATCH 4/4] arm64: dts: mediatek: Add MT6833 and the Xiaomi Redmi Note 13 5G Rui Cao via B4 Relay
2026-11-07 12:30   ` sashiko-bot
2026-11-07 13:26   ` Roman Vivchar
2026-11-07 13:35     ` i

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox