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 9376758ABC; Fri, 19 Jul 2024 08:08:12 +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=1721376492; cv=none; b=W8EQZoDf9uLSO/PGTSIYDxJTx4JBbATd6zxw8bndbuovpKNWAsbxOyVgMdvoC46SheQ5WSraN6K7gmkDnMtpN/eEMTSUWGs5/pOl+lr7ctc4ffqwYBG7H+MjKlvYkwkvQzpUWT9rqRBmDv0pzTZ8KuoZ4qgRHeWdAhBN/jw+OC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721376492; c=relaxed/simple; bh=MFLhWRcBfYxauByXZrf0VrJqa/KVcPGuygAHknweNJ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qSsS62A72VWaNsIPWyzauBWYuZaDVtu/R6Gh317WlC7+xjO3o3JsgXT+Etq3xvxd66UogJYx142trJttm254K7KvTlCyeE1lY6iJzK+moekYFk/lY5EeDryT/Bfq6tfiBkbHsSQfBUH1g+t6J/WJFGmBs78JiSM8BeaxrMZTY9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pGW/HZEB; 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="pGW/HZEB" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3E0A5C4AF0F; Fri, 19 Jul 2024 08:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721376492; bh=MFLhWRcBfYxauByXZrf0VrJqa/KVcPGuygAHknweNJ0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pGW/HZEB6v+b1+/BoEpHoWOoPbOiaSAAMNDg13uF+D0tLJ/qwU4JNizpH/YcibP/Y X08iEjjRxY3EZKReEOmHwPzXQkU56/XnYSRRR95TU6vy/3iO34JEaK+w5/SPvrAyX1 Jo44MdMt5dsjEbmuxHVCzAoS7sMSDZVhC4YC2GKcNWCNFOq5hQmO7417SH4IoqjB26 svYUs8nG8xuWfKq4m/SersAAO/KAP2wO69VDV1yRDdv7Regu2vDmKNbNHUtfJXEz5H S7eEYGn89y0RmZ8yHgjPm4JCA5Hf+JIFZKPo5ZoYnDDuB1peOA/vPRr26Wbbxnm2Rq mCYvxsrM5dKew== 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 2A008C3DA7F; Fri, 19 Jul 2024 08:08:12 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Fri, 19 Jul 2024 16:08:11 +0800 Subject: [PATCH v3 3/6] arm64: dts: amlogic: s4: 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: <20240719-soc_info-v3-3-020a3b687c0c@amlogic.com> References: <20240719-soc_info-v3-0-020a3b687c0c@amlogic.com> In-Reply-To: <20240719-soc_info-v3-0-020a3b687c0c@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=1721376490; l=1081; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=2wGt7OXk2HOANrWvEqv6pT1XbsycF6rOAmNwlp+ubQ8=; b=AZ/jc5KW8nrVKD8rlevj0lLWi6qLN62wIsNHLnBTTxvqIv6EKAmZs+Q3jxikXSpcHR6yPwnH/ 89Vj09Zk9FgCz6e/OI8/gSmKanHX9rto/LBt2EyGbMyE3kP0XSb3CzK 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 S4 SoC: soc soc0: Amlogic S4 (S805X2) Revision 37:a (2:1) Detecte Signed-off-by: Xianwei Zhao --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index c11c947fa18c..957577d986c0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -763,6 +763,14 @@ reset: reset-controller@2000 { #reset-cells = <1>; }; + sec_ao: ao-secure@10220 { + compatible = "amlogic,s4-ao-secure", + "amlogic,meson-gx-ao-secure", + "syscon"; + reg = <0x0 0x10220 0x0 0x140>; + amlogic,has-chip-id; + }; + ir: ir@84040 { compatible = "amlogic,meson-s4-ir"; reg = <0x0 0x84040 0x0 0x30>; -- 2.37.1