summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2025-09-20 12:56:42 +0100
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2025-10-13 11:34:37 +0200
commit79fb9654a2eeea8e973f6d329ccf68221703ec59 (patch)
tree1b1b7a7efe31ff7f51eb33dbc3193298a69146f0
parent36712c5cf980980139bd8f7b84b1b6daec068857 (diff)
downloadlinux-79fb9654a2eeea8e973f6d329ccf68221703ec59.tar.gz
linux-79fb9654a2eeea8e973f6d329ccf68221703ec59.zip
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 <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/mt7622.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 917fa39a74f8..158bd9a305d7 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>;
};