mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: <linux-kernel@vger.kernel.org>, <monstr@monstr.eu>,
	<michal.simek@xilinx.com>, <git@xilinx.com>
Cc: Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Rob Herring <robh@kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	"moderated list:ARM/ZYNQ ARCHITECTURE"
	<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH 03/12] arm64: zynqmp: Add missing description for efuses
Date: Mon, 27 May 2024 11:34:09 +0200	[thread overview]
Message-ID: <beb8002f8dae47ce6f38f7f961d024e65372b654.1716802450.git.michal.simek@amd.com> (raw)
In-Reply-To: <cover.1716802450.git.michal.simek@amd.com>

The commit 737c0c8d07b5 ("nvmem: zynqmp_nvmem: Add support to access
efuse") added support for efuses that's why also describe them in DT.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 55 ++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 9e9a76fca098..c82275f1e79c 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -217,6 +217,61 @@ nvmem-layout {
 					soc_revision: soc-revision@0 {
 						reg = <0x0 0x4>;
 					};
+					/* efuse access */
+					efuse_dna: efuse-dna@c {
+						reg = <0xc 0xc>;
+					};
+					efuse_usr0: efuse-usr0@20 {
+						reg = <0x20 0x4>;
+					};
+					efuse_usr1: efuse-usr1@24 {
+						reg = <0x24 0x4>;
+					};
+					efuse_usr2: efuse-usr2@28 {
+						reg = <0x28 0x4>;
+					};
+					efuse_usr3: efuse-usr3@2c {
+						reg = <0x2c 0x4>;
+					};
+					efuse_usr4: efuse-usr4@30 {
+						reg = <0x30 0x4>;
+					};
+					efuse_usr5: efuse-usr5@34 {
+						reg = <0x34 0x4>;
+					};
+					efuse_usr6: efuse-usr6@38 {
+						reg = <0x38 0x4>;
+					};
+					efuse_usr7: efuse-usr7@3c {
+						reg = <0x3c 0x4>;
+					};
+					efuse_miscusr: efuse-miscusr@40 {
+						reg = <0x40 0x4>;
+					};
+					efuse_chash: efuse-chash@50 {
+						reg = <0x50 0x4>;
+					};
+					efuse_pufmisc: efuse-pufmisc@54 {
+						reg = <0x54 0x4>;
+					};
+					efuse_sec: efuse-sec@58 {
+						reg = <0x58 0x4>;
+					};
+					efuse_spkid: efuse-spkid@5c {
+						reg = <0x5c 0x4>;
+					};
+					efuse_aeskey: efuse-aeskey@60 {
+						reg = <0x60 0x20>;
+					};
+					efuse_ppk0hash: efuse-ppk0hash@a0 {
+						reg = <0xa0 0x30>;
+					};
+					efuse_ppk1hash: efuse-ppk1hash@d0 {
+						reg = <0xd0 0x30>;
+					};
+					efuse_pufuser: efuse-pufuser@100 {
+						reg = <0x100 0x7F>;
+					};
 				};
 			};
 
-- 
2.40.1


  parent reply	other threads:[~2024-05-27  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27  9:34 [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek
2024-05-27  9:34 ` [PATCH 01/12] arm64: zynqmp: Align nvmem node with dt schema Michal Simek
2024-05-27  9:34 ` [PATCH 02/12] arm64: zynqmp: Use fpga-region as node name Michal Simek
2024-05-27  9:34 ` Michal Simek [this message]
2024-05-27  9:34 ` [PATCH 04/12] arm64: zynqmp: Describe USB wakeup interrupt Michal Simek
2024-05-27  9:34 ` [PATCH 05/12] arm64: zynqmp: Describe OCM controller Michal Simek
2024-05-27  9:34 ` [PATCH 06/12] arm64: zynqmp: Remove address/size-cells from ams node Michal Simek
2024-05-27  9:34 ` [PATCH 07/12] arm64: zynqmp: Disable Tri-state for SDIO Michal Simek
2024-05-27  9:34 ` [PATCH 08/12] arm64: zynqmp: Add compatible string for kv260 Michal Simek
2024-05-27  9:34 ` [PATCH 09/12] arm64: zynqmp: Add description for ina260 on kv260 Michal Simek
2024-05-27  9:34 ` [PATCH 10/12] arm64: zynqmp: Describe DisplayPort connector for Kria Michal Simek
2024-05-27  9:34 ` [PATCH 11/12] arm64: zynqmp: Add support for K26 rev2 boards Michal Simek
2024-05-27  9:34 ` [PATCH 12/12] arm64: zynqmp: Add pwm-fan node and fix ttc0 pwm-cells property Michal Simek
2024-06-17  6:36 ` [PATCH 00/12] arm64: zynqmp: Update description for Kria Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=beb8002f8dae47ce6f38f7f961d024e65372b654.1716802450.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=git@xilinx.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®