From: Jiayu Du <duge1256@gmail.com>
To: srini@kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
dlan@kernel.org, troy.mitchell@linux.spacemit.com, me@ziyao.cc,
aurelien@aurel32.net, pjw@kernel.org, palmer@dabbelt.com,
aou@eecs.berkeley.edu, alex@ghiti.fr, p.zabel@pengutronix.de,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev, linux-kernel@vger.kernel.org,
Jiayu Du <duge1256@gmail.com>
Subject: [PATCH v3 3/3] riscv: dts: spacemit: Add K3 eFuse and temperature trim cells
Date: Mon, 23 Nov 2026 01:38:10 +0800 [thread overview]
Message-ID: <20261122173810.2409146-4-duge1256@gmail.com> (raw)
In-Reply-To: <20261122173810.2409146-1-duge1256@gmail.com>
Add the K3 eFuse controller and NVMEM cells for the temperature
calibration data in bank 0 and bank 7.
Signed-off-by: Jiayu Du <duge1256@gmail.com>
---
arch/riscv/boot/dts/spacemit/k3.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
index e89d2cc5ca8c..af1a758788ff 100644
--- a/arch/riscv/boot/dts/spacemit/k3.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
@@ -1439,6 +1439,29 @@ saplic: interrupt-controller@e0804000 {
/* sec_i2c3: 0xf0614000, not available from Linux */
+ efuse: efuse@f0702800 {
+ compatible = "spacemit,k3-efuse";
+ reg = <0x0 0xf0702800 0x0 0x400>;
+ clocks = <&syscon_apmu CLK_APMU_AES_WTM>;
+ resets = <&syscon_apmu RESET_APMU_AES_WTM>;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ soc_rtemp_trim1: temperature-trim@1c {
+ reg = <0x1c 0x1>;
+ bits = <0 8>;
+ };
+
+ soc_rtemp_trim: temperature-trim@ea {
+ reg = <0xea 0x2>;
+ bits = <4 8>;
+ };
+ };
+ };
+
mimsic: interrupt-controller@f1000000 {
compatible = "spacemit,k3-imsics", "riscv,imsics";
reg = <0x0 0xf1000000 0x0 0x10000>;
--
2.43.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Jiayu Du <duge1256@gmail.com>
To: srini@kernel.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
dlan@kernel.org, troy.mitchell@linux.spacemit.com, me@ziyao.cc,
aurelien@aurel32.net, pjw@kernel.org, palmer@dabbelt.com,
aou@eecs.berkeley.edu, alex@ghiti.fr, p.zabel@pengutronix.de,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev, linux-kernel@vger.kernel.org,
Jiayu Du <duge1256@gmail.com>
Subject: [PATCH v3 3/3] riscv: dts: spacemit: Add K3 eFuse and temperature trim cells
Date: Mon, 23 Nov 2026 01:38:10 +0800 [thread overview]
Message-ID: <20261122173810.2409146-4-duge1256@gmail.com> (raw)
In-Reply-To: <20261122173810.2409146-1-duge1256@gmail.com>
Add the K3 eFuse controller and NVMEM cells for the temperature
calibration data in bank 0 and bank 7.
Signed-off-by: Jiayu Du <duge1256@gmail.com>
---
arch/riscv/boot/dts/spacemit/k3.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
index e89d2cc5ca8c..af1a758788ff 100644
--- a/arch/riscv/boot/dts/spacemit/k3.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
@@ -1439,6 +1439,29 @@ saplic: interrupt-controller@e0804000 {
/* sec_i2c3: 0xf0614000, not available from Linux */
+ efuse: efuse@f0702800 {
+ compatible = "spacemit,k3-efuse";
+ reg = <0x0 0xf0702800 0x0 0x400>;
+ clocks = <&syscon_apmu CLK_APMU_AES_WTM>;
+ resets = <&syscon_apmu RESET_APMU_AES_WTM>;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ soc_rtemp_trim1: temperature-trim@1c {
+ reg = <0x1c 0x1>;
+ bits = <0 8>;
+ };
+
+ soc_rtemp_trim: temperature-trim@ea {
+ reg = <0xea 0x2>;
+ bits = <4 8>;
+ };
+ };
+ };
+
mimsic: interrupt-controller@f1000000 {
compatible = "spacemit,k3-imsics", "riscv,imsics";
reg = <0x0 0xf1000000 0x0 0x10000>;
--
2.43.0
next prev parent reply other threads:[~2026-11-22 17:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 17:38 [PATCH v3 0/3] Add read-only SpacemiT K3 eFuse support Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-22 17:38 ` [PATCH v3 1/3] dt-bindings: nvmem: Add SpacemiT K3 eFuse controller Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-22 17:38 ` [PATCH v3 2/3] nvmem: Add read-only SpacemiT K3 eFuse support Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-23 9:24 ` Troy Mitchell
2026-11-23 9:24 ` Troy Mitchell
2026-11-23 12:47 ` Jiayu Du
2026-11-23 12:47 ` Jiayu Du
2026-11-24 21:52 ` Aurelien Jarno
2026-11-24 21:52 ` Aurelien Jarno
2026-11-25 8:50 ` Jiayu Du
2026-11-25 8:50 ` Jiayu Du
2026-11-22 17:38 ` Jiayu Du [this message]
2026-11-22 17:38 ` [PATCH v3 3/3] riscv: dts: spacemit: Add K3 eFuse and temperature trim cells Jiayu Du
2026-11-24 21:56 ` Aurelien Jarno
2026-11-24 21:56 ` Aurelien Jarno
2026-11-25 8:49 ` Jiayu Du
2026-11-25 8:49 ` Jiayu Du
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=20261122173810.2409146-4-duge1256@gmail.com \
--to=duge1256@gmail.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=aurelien@aurel32.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=me@ziyao.cc \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=srini@kernel.org \
--cc=troy.mitchell@linux.spacemit.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.