[PATCH 1/4] arm64: dts: mediatek: mt7622: add 'serial' cell to efuse
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Sep 17 02:06:13 PDT 2025
Il 17/09/25 01:05, Daniel Golle ha scritto:
> The efuse of the MediaTek MT7622 contains an 8-byte unique identifier.
> Add a 'serial' 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.
Sorry, but I don't get why this is named "serial" and not "soc-uuid".
Care to explain?
Cheers,
Angelo
>
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
> ---
> 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 917fa39a74f8..0b9803a183b9 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
> @@ -278,6 +278,10 @@ efuse: efuse at 10206000 {
> #address-cells = <1>;
> #size-cells = <1>;
>
> + serial at 140 {
> + reg = <0x140 0x8>;
> + };
> +
> thermal_calibration: calib at 198 {
> reg = <0x198 0xc>;
> };
More information about the linux-arm-kernel
mailing list