[PATCH v2 4/6] arm64: dts: allwinner: a100: Add A133 speed grade efuse cells

Rajan Yadav via B4 Relay devnull+rajanyadav0307.gmail.com at kernel.org
Wed Nov 18 02:52:27 PST 2026


From: Rajan Yadav <rajanyadav0307 at gmail.com>

The A133 speed grade selection also needs the chip marking ID (SID
offset 0x00), the word at 0x20, whose low 12 bits the vendor BSP calls
PCPU, and the word at 0x28 with the bin extension bit. Add nvmem cells
for them at the offsets the BSP uses. The H616 reads the same kind of
marking ID at offset 0x00 as its speed grade.

The cells are used by the A133 OPP table added later in this series;
the A100 OPP table keeps using only the existing 0x1c cell.

Claude Code (Anthropic) drafted this change and its message from the
vendor BSP device tree; I reviewed it and checked it with dtbs_check.

Reviewed-by: Alexander Sverdlin <alex at sverdlin.org>
Tested-by: Alexander Sverdlin <alex at sverdlin.org>
Signed-off-by: Rajan Yadav <rajanyadav0307 at gmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
index ba6020989ce..d1164f3b549 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
@@ -176,6 +176,10 @@ efuse at 3006000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 
+			chip_marking: chip-marking at 0 {
+				reg = <0x0 0x2>;
+			};
+
 			ths_calibration: calib at 14 {
 				reg = <0x14 8>;
 			};
@@ -183,6 +187,14 @@ ths_calibration: calib at 14 {
 			cpu_speed_grade: cpu-speed-grade at 1c {
 				reg = <0x1c 0x2>;
 			};
+
+			cpu_pcpu: cpu-pcpu at 20 {
+				reg = <0x20 0x2>;
+			};
+
+			cpu_bin_ext: cpu-bin-ext at 28 {
+				reg = <0x28 0x4>;
+			};
 		};
 
 		watchdog at 30090a0 {

-- 
2.34.1





More information about the linux-arm-kernel mailing list