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 C2803CCD1A1 for ; Thu, 16 Oct 2025 10:09:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: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:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AVHPRxd13pI56l9pQcY89hIdgUuQUQGXTt5SvOj+FGY=; b=YEamY7KEgN8qO1S88wuKsVXc2m SNmYytWIQHeP+ZbEhJPoihZ5vbe3wuEmP6ykWWPgp8F6gUxOM95IOf/1f6IuJ3aKRAaHnuQ32Z2H7 o5RRwSRUHO4w+RX/qnRQ6mlH6leiQlBx3H40s1jenyQiqI9ziBQoEwtGcX9WLZiEpGHXkNPpFLEmR gACY2TYNGKHJKQ2fwq2L2aGUpwsmdJvwY4pda0ZtkZcuLFXHUdPTy5Fsgv7ey5p6MjzSKpnnJpvSY rgbEgdN+DMWYU3TR7eKXy5tiInoEr/be5RQDqkG/HhA0FWzhkmTXagoOVUrAz7Oo7X1PuVyx7dxeT L9iv+4RA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9Kv2-00000004L6J-2tD4; Thu, 16 Oct 2025 10:09:12 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9Kuo-00000004Ks6-3wCR; Thu, 16 Oct 2025 10:09:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1760609334; bh=vTg703x34jvom65//CLrHbQ0zbN7+0nZa7pnTn1ldvM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Yo2EmHgIu8mgrZk2FIqGX+O870FPt05X8AN+WCxwdfNNvVe/c2PNbXyzmhbACKJqS hgi8Ptq1QriDiN0bXyL+GI7m2HWN8iO8NU4GQdA7EylJoTfIyjYscTpv51y24tZUjA X7lknWL7FJCM7kZraZYH8k5DrxYTjB6sClTvo/drEkausCmwGCM5wCxt1xY5JV6RU9 kE6nwvCpHH4j8KnG6rtOOYTvRjSJw1ja2dyC72ZbBYRypNEIBHOcLUCEkei/mHRRPY iG+ab8Ov5uXlMJvyIh8nREXQMQJISSS7TcaIQWFcIcDadZeGDs6SgRrXrb2bSPOp4H lIrijb6idaBFQ== Received: from beast.luon.net (unknown [IPv6:2a10:3781:2531::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by bali.collaboradmins.com (Postfix) with ESMTPSA id 79C4D17E13A5; Thu, 16 Oct 2025 12:08:54 +0200 (CEST) Received: by beast.luon.net (Postfix, from userid 1000) id 9510610C9C786; Thu, 16 Oct 2025 12:08:53 +0200 (CEST) From: Sjoerd Simons Date: Thu, 16 Oct 2025 12:08:39 +0200 Subject: [PATCH 03/15] arm64: dts: mediatek: mt7981b: Add reserved memory for TF-A MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251016-openwrt-one-network-v1-3-de259719b6f2@collabora.com> References: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com> In-Reply-To: <20251016-openwrt-one-network-v1-0-de259719b6f2@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Ryder Lee , Jianjun Wang , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Lee Jones , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi , Felix Fietkau Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, netdev@vger.kernel.org, Daniel Golle , Bryan Hinton , Sjoerd Simons X-Mailer: b4 0.14.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251016_030859_132565_6AF9CB0B X-CRM114-Status: GOOD ( 10.23 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add memory range handled by ARM Trusted Firmware Signed-off-by: Sjoerd Simons --- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi index 6b024156fa7c5..b477375078ccd 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -41,6 +41,18 @@ psci { method = "smc"; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* 192 KiB reserved for ARM Trusted Firmware (BL31) */ + secmon_reserved: secmon@43000000 { + reg = <0 0x43000000 0 0x30000>; + no-map; + }; + }; + soc { compatible = "simple-bus"; ranges; -- 2.51.0