summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2025-09-20 14:56:51 +0300
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2025-10-13 12:34:37 +0300
commit18d0f98a17757c4030c0af046dfd864c8108738a (patch)
treeaaad4e7b2a77d14c0917711a23f129c0c0719480
parent79fb9654a2eeea8e973f6d329ccf68221703ec59 (diff)
downloadlinux-18d0f98a17757c4030c0af046dfd864c8108738a.tar.xz
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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
-rw-r--r--arch/arm64/boot/dts/mediatek/mt7986a.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
index a8972330a7b8..7790601586cc 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
@@ -450,6 +450,10 @@
#address-cells = <1>;
#size-cells = <1>;
+ soc-uuid@140 {
+ reg = <0x140 0x8>;
+ };
+
thermal_calibration: calib@274 {
reg = <0x274 0xc>;
};