From d261557f7ad37fad44e3c07e76e63a60abcf8bc3 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 20 Sep 2025 12:56:59 +0100 Subject: [PATCH] arm64: dts: mediatek: mt7981b: add 'soc-uuid' cell to efuse 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 Signed-off-by: Daniel Golle Signed-off-by: AngeloGioacchino Del Regno --- 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 5dae4a5f03a5b..58c99f2a25218 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -237,6 +237,10 @@ #address-cells = <1>; #size-cells = <1>; + soc-uuid@140 { + reg = <0x140 0x10>; + }; + thermal_calibration: thermal-calib@274 { reg = <0x274 0xc>; }; -- 2.47.3