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 CE450185E66; Mon, 15 Jul 2024 08:59:21 +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=1721033961; cv=none; b=VSg2abq97UDLqqXce1LkD3eDniS1P64QE6k3G9u6fKktFI38wVhraa6GYike2lPpxgrNOEFVX/f9OlPl3nG1emdQF0oaq7ly4HIIR7GuCN1cMVuPZWSffY9Gu3xq/nFjaFsy6j4W7zpiNOb7F46NWtD9AdFPGuUVbsDP6LYRbNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721033961; c=relaxed/simple; bh=rzLwwkC/oer4IKZiroanbDLw+etqrVLhhYZwC5by1VY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L8seX/wYCL96IWWk3Dpd+qhywasXd8VpOLa4EEdXjsenxa/+7IIevq4wk/ehR898mgHtQwdxnrnR0O9bAUP4EwiDq6HLWOZ6VBGV5elRDAtZtZCrAEmJpyVznACr7FIYTJ5Bs19gpGK1lVrPSi2C3yAAwU+2A6UX9vGFwCSKQZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=b6WLiiwi; 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="b6WLiiwi" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9E31AC4AF51; Mon, 15 Jul 2024 08:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721033961; bh=rzLwwkC/oer4IKZiroanbDLw+etqrVLhhYZwC5by1VY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=b6WLiiwik8eHWyaWElku+XLxk+xaeU7QkDynvMF+MImfQJc9qJUNfTLWcGxSwVl2e CmBdAAjE/8MmJUZLMSna3G5pkMAZbsePoDiG82Au7Ey6CF382KF6dZI25M/fAF9sw9 T8zGoVXZIAi/kmGmezFoTfp0QHPJ6b1HDpIWK6qsRbBa2/Baj6Szxz4MQvTQz808yP +0HyL+psJNkw6KkedywDTOS49w8HDb+CKHUZUMwygyT5cgXuUjhdBDfpGkMUhr9lgY 7sB1Mc02eDb1fiPvOFeeMCqj0y2xn/pTrbrW/wTkdu2PtI5oRdqMF9UqVYWp6L6BwV IVtIaTEE2YmaA== 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 96304C3DA60; Mon, 15 Jul 2024 08:59:21 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Mon, 15 Jul 2024 16:59:24 +0800 Subject: [PATCH v2 6/6] arm64: dts: amlogic: a4: add ao secure node 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: <20240715-soc_info-v2-6-3836c8cc27a5@amlogic.com> References: <20240715-soc_info-v2-0-3836c8cc27a5@amlogic.com> In-Reply-To: <20240715-soc_info-v2-0-3836c8cc27a5@amlogic.com> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Xianwei Zhao X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721033959; l=1080; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=Zl2TiQJDwOdSpUPv3WU4sx37kiV4xoQ/BADR59alPhc=; b=Cm3hWH8krZDqMFl1wW+XfR7T/Tx/H31QC2TCprxjiutEEEBomQGa8QwM5fRhNlWkmcBJNkeUs 9F6aPdGGrvXC9asuqf6QQHqKJFfPtbxWYknlxwop5DIEhD/c+64nnW2 X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=o4fDH8ZXL6xQg5h17eNzRljf6pwZHWWjqcOSsj3dW24= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20231208 with auth_id=107 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com From: Xianwei Zhao Add node for board info registers, which allows getting SoC family and board revision. For example, with MESON_GX_SOCINFO config enabled we can get the following information for board with Amlogic A4 SoC: soc soc0: Amlogic A4 (A113L2) Revision 40:b (1:1) Detected. Signed-off-by: Xianwei Zhao --- arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi index 496c3a2bcf25..54d7a2d56ef6 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi @@ -67,6 +67,14 @@ uart_b: serial@7a000 { clock-names = "xtal", "pclk", "baud"; status = "disabled"; }; + + sec_ao: ao-secure@10220 { + compatible = "amlogic,a4-ao-secure", + "amlogic,meson-gx-ao-secure", + "syscon"; + reg = <0x0 0x10220 0x0 0x140>; + amlogic,has-chip-id; + }; }; }; }; -- 2.37.1