Unverified Commit 18d0f98a authored by Daniel Golle's avatar Daniel Golle Committed by AngeloGioacchino Del Regno
Browse files

arm64: dts: mediatek: mt7986a: add 'soc-uuid' cell to efuse



The efuse of the MediaTek MT7986 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 R3 which
doesn't have any factory-assigned addresses.

Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent 79fb9654
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -450,6 +450,10 @@ efuse: efuse@11d00000 {
			#address-cells = <1>;
			#size-cells = <1>;

			soc-uuid@140 {
				reg = <0x140 0x8>;
			};

			thermal_calibration: calib@274 {
				reg = <0x274 0xc>;
			};