From: Roman Vivchar via B4 Relay <devnull+rva333.protonmail.com@kernel.org>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Sean Wang <sean.wang@mediatek.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Philipp Zabel <p.zabel@pengutronix.de>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
linux-serial@vger.kernel.org, linux-watchdog@vger.kernel.org,
Roman Vivchar <rva333@protonmail.com>
Subject: [PATCH 8/8] arm64: dts: mediatek: mt6768: add Xiaomi Redmi Note 9 support
Date: Thu, 26 Nov 2026 14:40:01 +0200 [thread overview]
Message-ID: <20261126-6768-init-v1-8-abc364a2447e@protonmail.com> (raw)
In-Reply-To: <20261126-6768-init-v1-0-abc364a2447e@protonmail.com>
From: Roman Vivchar <rva333@protonmail.com>
Xiaomi Redmi Note 9 is a budget phone released in 2020. It features up to
6 GB of LPDDR4X memory and 128 GB eMMC, powered by the MediaTek Helio G85
SoC.
Add initial devicetree support for this device. It can currently boot to
a UART shell and use the simple-framebuffer provided by U-Boot for
display output.
Signed-off-by: Roman Vivchar <rva333@protonmail.com>
---
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../boot/dts/mediatek/mt6768-xiaomi-merlin.dts | 42 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
index a86fb313b1a9..4fe50c95321f 100644
--- a/arch/arm64/boot/dts/mediatek/Makefile
+++ b/arch/arm64/boot/dts/mediatek/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_MEDIATEK) += mt2712-evb.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6755-evb.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt6768-xiaomi-merlin.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6779-evb.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-evb.dtb
dtb-$(CONFIG_ARCH_MEDIATEK) += mt6795-sony-xperia-m5.dtb
diff --git a/arch/arm64/boot/dts/mediatek/mt6768-xiaomi-merlin.dts b/arch/arm64/boot/dts/mediatek/mt6768-xiaomi-merlin.dts
new file mode 100644
index 000000000000..f95bac31caf3
--- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6768-xiaomi-merlin.dts
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2025-2026 Roman Vivchar <rva333@protonmail.com>
+ */
+
+/dts-v1/;
+#include "mt6768.dtsi"
+
+/ {
+ model = "Xiaomi Redmi Note 9";
+ compatible = "xiaomi,merlin", "mediatek,mt6768";
+ chassis-type = "handset";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:921600n8";
+ };
+
+ memory@40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0>;
+ };
+
+ reserved-memory {
+ ranges;
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ /* 384 KiB reserved for ARM Trusted Firmware */
+ secmon@4ce00000 {
+ reg = <0 0x4ce00000 0 0x60000>;
+ no-map;
+ };
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.56.1
prev parent reply other threads:[~2026-11-26 12:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 12:39 [PATCH 0/8] arm64: mediatek: initial support for mt6768 Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 1/8] dt-bindings: arm: mediatek: add mt6768 Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 2/8] dt-bindings: serial: mediatek,uart: " Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 3/8] dt-bindings: watchdog: mediatek,mtk-wdt: " Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 4/8] dt-bindings: timer: mediatek,timer: " Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 5/8] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Roman Vivchar via B4 Relay
2026-11-26 12:39 ` [PATCH 6/8] watchdog: mediatek: " Roman Vivchar via B4 Relay
2026-11-26 12:40 ` [PATCH 7/8] arm64: dts: mediatek: add initial mt6768 support Roman Vivchar via B4 Relay
2026-11-26 12:40 ` Roman Vivchar via B4 Relay [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126-6768-init-v1-8-abc364a2447e@protonmail.com \
--to=devnull+rva333.protonmail.com@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=matthias.bgg@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=radu@rendec.net \
--cc=robh@kernel.org \
--cc=rva333@protonmail.com \
--cc=sean.wang@mediatek.com \
--cc=tglx@kernel.org \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®