linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Max Shevchenko via B4 Relay <devnull+wctrl.proton.me@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 Jiri Slaby <jirislaby@kernel.org>, 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>,
	 Thomas Gleixner <tglx@linutronix.de>,
	 Daniel Lezcano <daniel.lezcano@linaro.org>,
	 Wim Van Sebroeck <wim@linux-watchdog.org>,
	 Guenter Roeck <linux@roeck-us.net>,
	Sean Wang <sean.wang@mediatek.com>,
	 Russell King <linux@armlinux.org.uk>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
	 devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 linux-mediatek@lists.infradead.org,
	linux-watchdog@vger.kernel.org,  Max Shevchenko <wctrl@proton.me>
Subject: [PATCH v4 10/11] ARM: dts: mediatek: add basic support for JTY D101 board
Date: Wed, 02 Jul 2025 13:50:47 +0300	[thread overview]
Message-ID: <20250702-mt6572-v4-10-bde75b7ed445@proton.me> (raw)
In-Reply-To: <20250702-mt6572-v4-0-bde75b7ed445@proton.me>

From: Max Shevchenko <wctrl@proton.me>

This tablet uses a MediaTek MT6572 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.

Signed-off-by: Max Shevchenko <wctrl@proton.me>
---
 arch/arm/boot/dts/mediatek/Makefile            |  1 +
 arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts | 61 ++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/arch/arm/boot/dts/mediatek/Makefile b/arch/arm/boot/dts/mediatek/Makefile
index 1957947cb41ce86ed101466bf822d4e2dfdfbb61..cb869a1aaec21a1d99f7f2a829b84672a3f52726 100644
--- a/arch/arm/boot/dts/mediatek/Makefile
+++ b/arch/arm/boot/dts/mediatek/Makefile
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 dtb-$(CONFIG_ARCH_MEDIATEK) += \
 	mt2701-evb.dtb \
+	mt6572-jty-d101.dtb \
 	mt6580-evbp1.dtb \
 	mt6582-prestigio-pmt5008-3g.dtb \
 	mt6589-aquaris5.dtb \
diff --git a/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts b/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts
new file mode 100644
index 0000000000000000000000000000000000000000..18c3cab6b7a3cad8c69b890ec7a715373f50d8c4
--- /dev/null
+++ b/arch/arm/boot/dts/mediatek/mt6572-jty-d101.dts
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2025 Max Shevchenko <wctrl@proton.me>
+ */
+
+/dts-v1/;
+#include "mt6572.dtsi"
+
+/ {
+	model = "JTY D101";
+	compatible = "jty,d101", "mediatek,mt6572";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		stdout-path = "serial0:921600n8";
+
+		framebuffer: framebuffer@bf400000 {
+			compatible = "simple-framebuffer";
+			memory-region = <&framebuffer_reserved>;
+			width = <1024>;
+			height = <600>;
+			stride = <(1024 * 2)>;
+			format = "r5g6b5";
+		};
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x80000000 0x40000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		connsys@80000000 {
+			reg = <0x80000000 0x100000>;
+			no-map;
+		};
+
+		modem@be000000 {
+			reg = <0xbe000000 0x1400000>;
+			no-map;
+		};
+
+		framebuffer_reserved: framebuffer@bf400000 {
+			reg = <0xbf400000 0xc00000>;
+			no-map;
+		};
+	};
+};
+
+&uart0 {
+	status = "okay";
+};

-- 
2.50.0




  parent reply	other threads:[~2025-07-02 12:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02 10:50 [PATCH v4 00/11] ARM: Add support for MediaTek MT6572 SoC Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 01/11] dt-bindings: serial: mediatek,uart: add MT6572 Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 02/11] dt-bindings: interrupt-controller: mediatek,mt6577-sysirq: " Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 03/11] dt-bindings: timer: mediatek: " Max Shevchenko via B4 Relay
2025-07-07  9:54   ` Daniel Lezcano
2025-07-02 10:50 ` [PATCH v4 04/11] dt-bindings: watchdog: mediatek,mtk-wdt: " Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 05/11] dt-bindings: vendor-prefixes: add JTY Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 06/11] dt-bindings: arm: mediatek: add boards based on the MT6572 SoC Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 07/11] ARM: mediatek: add board_dt_compat entry for " Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 08/11] ARM: mediatek: add MT6572 smp bring up code Max Shevchenko via B4 Relay
2025-07-02 10:50 ` [PATCH v4 09/11] ARM: dts: mediatek: add basic support for MT6572 SoC Max Shevchenko via B4 Relay
2025-07-02 10:50 ` Max Shevchenko via B4 Relay [this message]
2025-07-02 10:50 ` [PATCH v4 11/11] ARM: dts: mediatek: add basic support for Lenovo A369i board Max Shevchenko via B4 Relay
2025-07-07  9:46 ` (subset) [PATCH v4 00/11] ARM: Add support for MediaTek MT6572 SoC AngeloGioacchino Del Regno
2025-07-07  9:46 ` AngeloGioacchino Del Regno

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=20250702-mt6572-v4-10-bde75b7ed445@proton.me \
    --to=devnull+wctrl.proton.me@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.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@armlinux.org.uk \
    --cc=linux@roeck-us.net \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    --cc=sean.wang@mediatek.com \
    --cc=tglx@linutronix.de \
    --cc=wctrl@proton.me \
    --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;
as well as URLs for NNTP newsgroup(s).