[PATCH v2 3/4] arm64: dts: mediatek: mt7981b: add 'soc-uuid' cell to efuse

Daniel Golle daniel at makrotopia.org
Sat Sep 20 04:56:59 PDT 2025


The efuse of the MediaTek MT7981 contains a 16-byte unique identifier.
Add a 'soc-uuid' cell covering those 16 bytes to the nvmem defininition
of the efuse to allow easy access from userspace, eg. to generate a
persistent random MAC address on boards which don't have any
factory-assigned addresses.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
index 277c11247c13..25c164114213 100644
--- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
@@ -237,6 +237,10 @@ efuse at 11f20000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 
+			soc-uuid at 140 {
+				reg = <0x140 0x10>;
+			};
+
 			thermal_calibration: thermal-calib at 274 {
 				reg = <0x274 0xc>;
 			};
-- 
2.51.0



More information about the Linux-mediatek mailing list