From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9544CAC598 for ; Tue, 16 Sep 2025 23:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VXRrLRuRgjZWOtMzSGnOCfbuBpH1s1AesdW/ydTBTJU=; b=0TvVCH2a/uLuXuh1W0clKDKyWw rxi7IyUXtoEtRZQAb8J/Eh4FD4i13JMTqvXOALSoRyk71UawgsKfGEggp/egzEwNTCDQ1ND20CYD7 1OvCgxCRmeclh7Sc0Un+VBCQAWslCiDrHbXnRIROAPDwPS8yWENoPxeAFZ08Lsy8HFeyQctu/3Ugm oVdCV4NZNcZ0ucJBPdHF5U3VE8OCRNTefcuCZKZZWZJi87DIx+sI1/sSxvV6R5z+oYQc5UGtdJ5M/ b7LpIz9WZkyaJq8Gan8TQ+x6TaEXt0dMYoqEvjyGLOLSqJQRQJdyUcPjCQP5UWFSvUkBlWaN/tfmZ C1k7fjGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyekC-00000009VWa-0bj7; Tue, 16 Sep 2025 23:05:52 +0000 Received: from pidgin.makrotopia.org ([2a07:2ec0:3002::65]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyek9-00000009VU9-2q7D; Tue, 16 Sep 2025 23:05:50 +0000 Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2) (envelope-from ) id 1uyek7-000000005wC-2LXU; Tue, 16 Sep 2025 23:05:47 +0000 Date: Wed, 17 Sep 2025 00:05:44 +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 4/4] arm64: dts: mediatek: mt7988a: add 'serial' cell to efuse Message-ID: References: <18af6977cc34de75e64279141dee69dcbc81c420.1758063737.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18af6977cc34de75e64279141dee69dcbc81c420.1758063737.git.daniel@makrotopia.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250916_160549_715694_0FFA9BDD X-CRM114-Status: GOOD ( 10.87 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The efuse of the MediaTek MT7988 contains a 16-byte unique identifier. Add a 'serial' cell covering those 16 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 R4 which doesn't have any factory-assigned addresses. Signed-off-by: Daniel Golle --- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi index 366203a72d6d..4a70f915f435 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -714,6 +714,10 @@ efuse@11f50000 { #address-cells = <1>; #size-cells = <1>; + serial@140 { + reg = <0x140 0x10>; + }; + lvts_calibration: calib@918 { reg = <0x918 0x28>; }; -- 2.51.0