From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80541C7EE30 for ; Tue, 1 Jul 2025 06:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dG2TIEEaKmZFSNaPMqWSn2W4Lha/c5D15UklRz2nFIE=; b=O9b3XXp2jSxDyFD898IbzfPp3n NZuIqaSlBw0S7l3ubCqpYsuJPjzJR6sXpsUhBs5L1skzvKDAjjco08TURv87fAfwCxFDTPDD69Zby gdxOEtI2Vooo/hh0MKfNQq8NZYJv4up4YHaQ4OLlztj6VQrEp8z6n5mJwZQOU6vV4GXz97QhgqW9Y mc9ly1VXzJrCQdXhzWbs59Pcv50fzLi38Eqcvwopdcpo1fmY/8MT/h+pf2Y1zSSwNxSLRAyQKSyqw SfiFqWrvCG0X22BGlxJtDY8nUZE+w1qgeRl76d2uTQjzwfw2N7cWwnH6Gn8z6U7do56AMkU6LgNiF ZajpVDXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uWUZY-00000004ADE-0v7K; Tue, 01 Jul 2025 06:34:28 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uWU96-000000046Oj-1NcF; Tue, 01 Jul 2025 06:07:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Reply-To:Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Content-ID:Content-Description; bh=dG2TIEEaKmZFSNaPMqWSn2W4Lha/c5D15UklRz2nFIE=; b=ZHhGb5d0PzYoxdtQqtZhejlXxf 699p8tW7e0HURttTdxBt16xCUVAz/zZfLw5JX1bwuAq4ky4bRry76UHHlQ24VHuwo9En0r2Ga/J7Q GHz+96tO2EUOVLUG8ap3fp4RwW27s75DRSDRputX8LJnS1AOEPJoa50vgGViKFXxU2sLs8PtGybSu BDroMLdHuSUBCMxCwRA1gfEp0zVlE7jfs25JMEa6t/JtKotrif9LV6G+laqtWiv1kxRytOeT4qGZh kxXxE0PMUpWeh1+OPP4w7ZUbgzYd4B6CxLNdrPhaxIwcSkEvNipIAWmy/4jTpdNdiJkzXpSn3eXg9 LXP/xUWA==; Received: from sea.source.kernel.org ([172.234.252.31]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uWU92-00000006wo8-0FBN; Tue, 01 Jul 2025 06:07:07 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 4C9F0463A5; Tue, 1 Jul 2025 06:06:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 13CEFC19424; Tue, 1 Jul 2025 06:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751350019; bh=MpQ2gtnaw7N9SW/uFQ+s6QcBME/V8/ZonAnCkD0MPhQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=uwI7rKGa5rpwZ/nuxg1gcQoK7jsHPe62bNoMtW8oGFVmVH5KP+slyesEMuitvtRik OY3rDA+3uc30QeCr8DB3xpgy/Kjs+hZG5yJ1B3+++YLzDELoiaadB85BXYWgSxew1t oGvvz5aPtWDdnVEQWoW937xn/Z9K+4nfwKXP6V5k6AHJX++WSMDvqV9/fKUL8cTXtN lc3bnTESs+M6gLjhdpzBMie1I0GSAHLslq8QNxgAOiB6hpD/nHtBJRu49qd9LiYfJf i8riGO+fTNjR6rX21Nz1v8t3s6c615O68+5gRafD1UfxdSeWbdKDKwlmF+nzWrTU4R qX38oN3nBAaBw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0890CC7EE30; Tue, 1 Jul 2025 06:06:59 +0000 (UTC) From: Max Shevchenko via B4 Relay Date: Tue, 01 Jul 2025 09:07:04 +0300 Subject: [PATCH v3 10/11] ARM: dts: mediatek: add basic support for JTY D101 board MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250701-mt6572-v3-10-8937cfa33f95@proton.me> References: <20250701-mt6572-v3-0-8937cfa33f95@proton.me> In-Reply-To: <20250701-mt6572-v3-0-8937cfa33f95@proton.me> To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Thomas Gleixner , Daniel Lezcano , Wim Van Sebroeck , Guenter Roeck , Sean Wang , Russell King 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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751350015; l=2336; i=wctrl@proton.me; s=20250603; h=from:subject:message-id; bh=NU9J2QXI2zRB0vLkzxM/enp+SQ7Qa7xpupUaXf5gGMs=; b=DeRfXDHWdmrD+XFAuIlfxZdTytZOL+RVl23BgxYNuHaQI6SGGWFnsONt8TOAROQNBN4cx+WnC S91BJcpk6pNDFU3Sw3CLDHDmqd4vu28l3S9GUI5I9Ar1M/teklRNHwQ X-Developer-Key: i=wctrl@proton.me; a=ed25519; pk=JXUx3mL/OrnRvbK57HXgugBjEBKq4QgDKJqp7BALm74= X-Endpoint-Received: by B4 Relay for wctrl@proton.me/20250603 with auth_id=421 X-Original-From: Max Shevchenko X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250701_070704_612200_2A3F8790 X-CRM114-Status: GOOD ( 14.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: wctrl@proton.me Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Max Shevchenko 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 --- 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..68c432cb38700939102b1186c8f5bca4c5140831 --- /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 + */ + +/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 { + 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