From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 120AE27816E; Sat, 20 Sep 2025 11:56:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758369412; cv=none; b=eoJfRUC3PGpghjZ3yTI2IN0gzXV2fx+KecuV4oGd/bitHQCgqcRftio6/8zgyXLpV9OfX8ld9nHOqrktMkcfL930Pn6xWR/GB7pfzvc5/Q39UspylmRFA/bxsTm6VaSoMET28QKoJ40Y9I6Iy5LMTeK1dEZUV9SepgCCoyd8kq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758369412; c=relaxed/simple; bh=xuA6wLtX6WyGJtg/jWjYKtfit/bV+u0gTEPV3zrUv1k=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=DWOV2sWoCJ50JNx6AsZ2er1IWnSPaL1JYOSseh28R03akgA8cAf7jdsf9FN3xkK/25ZTKXmUA3nmKD0QTWxZXiTeMxIwdO75SnaNGS8FZyDee1Hh7bbJcJkiS6Ko4o6y2yRSy8h2RNK7tpPOvQOoLGPxvzIKCscHaVswgvklYao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2) (envelope-from ) id 1uzwCr-000000000Wa-2VFC; Sat, 20 Sep 2025 11:56:45 +0000 Date: Sat, 20 Sep 2025 12:56:42 +0100 From: Daniel Golle To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 1/4] arm64: dts: mediatek: mt7622: add 'soc-uuid' cell to efuse Message-ID: <40004650c99c09ff540d8e2028a1393f4a70a6b4.1758369130.git.daniel@makrotopia.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --- 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..158bd9a305d7 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -278,6 +278,10 @@ efuse: efuse@10206000 { #address-cells = <1>; #size-cells = <1>; + soc-uuid@140 { + reg = <0x140 0x8>; + }; + thermal_calibration: calib@198 { reg = <0x198 0xc>; }; -- 2.51.0