From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D62729824E; Thu, 26 Jun 2025 08:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750928038; cv=none; b=PBXgfhLLCyB2b4BN4xX0srUC8JiMe1Uzcdn6JFIXLhH5wB0mA+OoKq2DiwyDjxX+cVLnkn+mq20PG5QQQC124yodCrn2lf3VtjkOZFrvE/1ac4EgWbQ3cSeD2aYeBoV0IP2ENMMnqf7GN1xebouLubGJxBQ8xh9PT03dWhe2tPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750928038; c=relaxed/simple; bh=MpQ2gtnaw7N9SW/uFQ+s6QcBME/V8/ZonAnCkD0MPhQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IeIUuVaWF7iURKZGBVvowGbcWzl4lDXc4K16qRuHGNY/jGNk2rcTyyp2OYfU6RepnwD5jEmEhKx5r+YeowhcHowI7u5S3M7Ec0LPvAlFqmzoZlUtgGXuZ+WmWIJzLdyD5Gd7Hi9UayuftBh9lv+1KRjN3yEIVYHII09ZLaoBrvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mwWYGiLA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mwWYGiLA" Received: by smtp.kernel.org (Postfix) with ESMTPS id 75300C113D0; Thu, 26 Jun 2025 08:53:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750928038; bh=MpQ2gtnaw7N9SW/uFQ+s6QcBME/V8/ZonAnCkD0MPhQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=mwWYGiLAvwRE4MHKGGC0C35HIfVrPFyEdhfRamaDziFSUuimHsoBiC1sejkcSpFp7 vRq0AiWpCr9mJNHgMOtR+hXvQoWSbk2q5nlT2lMFXRIzxDd/0RxEK1sCoRqLWqB8f8 kl6w+IELDvLDmK8fPAPWq7Q89yoVwJs+cXpiqlCgBDvXpSMYDi+ZDc8vS6MigYhwGT 0mlWL/Cb0syjZBdxphlBsVCNf4bQ4guVTCjR1YW79nHhYwanpn6Fe4zjHjQe7jxBH/ lHO78U9FIrKCoFKjA8GvnKhsDhIWgmrs2xY/5s37CjhhV/OJd3cEazW9rAgAM1Quo6 A8GSeF12P1o7g== 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 6B9C3C7EE33; Thu, 26 Jun 2025 08:53:58 +0000 (UTC) From: Max Shevchenko via B4 Relay Date: Thu, 26 Jun 2025 11:54:03 +0300 Subject: [PATCH v2 10/11] ARM: dts: mediatek: add basic support for JTY D101 board Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250626-mt6572-v2-10-f7f842196986@proton.me> References: <20250626-mt6572-v2-0-f7f842196986@proton.me> In-Reply-To: <20250626-mt6572-v2-0-f7f842196986@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=1750928035; l=2336; i=wctrl@proton.me; s=20250603; h=from:subject:message-id; bh=NU9J2QXI2zRB0vLkzxM/enp+SQ7Qa7xpupUaXf5gGMs=; b=u6y5VEQKcjrn0P+xyrIXWueepFAPfCFaCZ0d+P2Aeo1SL9grfE0Rv3LApZb3EfkIRfpVT9zi/ NwnEYMpzT0HAuwnusq+v2MKwJ23YkZnkljXxYIbDE4/kkgK94skQvXT 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 Reply-To: wctrl@proton.me 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