From nobody Thu Dec 18 08:11:48 2025 Received: from mxout1.routing.net (mxout1.routing.net [134.0.28.11]) (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 77D361D63DB; Tue, 17 Dec 2024 09:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=134.0.28.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734426775; cv=none; b=BokkQyf8xC3bn4MWphKBwd2ha7yzCzp/1rqeKvuGACfjOuFcJqCzxhUTK56ohp9xb3rcW75XZiVkxYJzClGw7BdJKgWWPhge/7n61ECFcPgDp/V7DhZgKVubYZpabOTEhgczIQrKAFdnJ65Bf6sT5KnYieD3Mb82uyzkAFwJwy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734426775; c=relaxed/simple; bh=maoIIMFY2yT00v2JRFpqydNOsCxK44dBSDTON3sJ/fI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YeslbB5ofdozQqRSTPUYAeaSq15SXKgderejeRfNRxritt/zNhjm3IRa3Tt1R0gqAOcvzIe0AON1g0n7NMoO8b9NLMUG65MGmQXHm+96+HNjVmF63GjOKQXM30uljh7MbiBdm+7TlXUff9P9da7G3e90BrRgKRchKjBmSzRZY+U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de; spf=pass smtp.mailfrom=fw-web.de; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b=WoXJFhQw; arc=none smtp.client-ip=134.0.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fw-web.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mailerdienst.de header.i=@mailerdienst.de header.b="WoXJFhQw" Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout1.routing.net (Postfix) with ESMTP id D6FDA3FDBF; Tue, 17 Dec 2024 09:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1734426771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lloMQbmYfGUU3oRChaF7UVRYfYj10RXDsqr7nUOj9mU=; b=WoXJFhQwLhDqmFy/NC6ozKoJ9eQvTiXo2bKbi6VUZ7EeE0e94dTj3jVcT/eBZoraEmCV+2 AWdUf1XuGh7rMQApmYAyY+pyBIWzHqVbUvCTd+czzekOgzGtB2WjlBegeQvAeUzD/r90BC v91BKJNZ1srqOSHYABHbcloHwB8V8Bs= Received: from frank-u24.. (fttx-pool-217.61.150.187.bambit.de [217.61.150.187]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id ED23E100720; Tue, 17 Dec 2024 09:12:50 +0000 (UTC) From: Frank Wunderlich To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Frank Wunderlich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 01/22] arm64: dts: mediatek: mt7988: Add reserved memory Date: Tue, 17 Dec 2024 10:12:15 +0100 Message-ID: <20241217091238.16032-2-linux@fw-web.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241217091238.16032-1-linux@fw-web.de> References: <20241217091238.16032-1-linux@fw-web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mail-ID: 91503590-2908-4ce4-a7b9-4a59157ac282 Content-Type: text/plain; charset="utf-8" From: Frank Wunderlich Add memory range handled by ATF to not be touched by linux kernel. ATF is SoC specific and not board-specific so add it to mt7988.dtsi. Signed-off-by: Frank Wunderlich --- changes: v3: - move commit to first of series - drop secmon_reserved label --- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dt= s/mediatek/mt7988a.dtsi index 46969577c87a..d205717ac78b 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -62,6 +62,18 @@ psci { method =3D "smc"; }; =20 + reserved-memory { + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + + /* 320 KiB reserved for ARM Trusted Firmware (BL31 and BL32) */ + secmon@43000000 { + reg =3D <0 0x43000000 0 0x50000>; + no-map; + }; + }; + soc { compatible =3D "simple-bus"; ranges; --=20 2.43.0