From 79fb9654a2eeea8e973f6d329ccf68221703ec59 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 20 Sep 2025 12:56:42 +0100 Subject: [PATCH] arm64: dts: mediatek: mt7622: add 'soc-uuid' cell to efuse The efuse of the MediaTek MT7622 contains an 8-byte unique identifier. Add a 'soc-uuid' cell covering those 8 bytes to the nvmem defininition of the efuse to allow easy access from userspace, eg. to generate a persistent random MAC address on boards like the BananaPi R64 which doesn'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/mt7622.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 917fa39a74f8d..158bd9a305d70 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -278,6 +278,10 @@ #address-cells = <1>; #size-cells = <1>; + soc-uuid@140 { + reg = <0x140 0x8>; + }; + thermal_calibration: calib@198 { reg = <0x198 0xc>; }; -- 2.47.3