From patchwork Fri Sep 1 12:43:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13372563 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 2375ACA0FE6 for ; Fri, 1 Sep 2023 12:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oyysOpacUiLn8p3WIhebkd4x2MXmadkbskp2C4J7+6Y=; b=XKr9et7jJFtTjq L3pzJckyi9zONZpC2PyJkYi4daIzYZVnye8PaiS2PDJE7ihJoiQb33UR7d1DYIN/0KEOYXMiY4Vsm TbrUj1D/S/dQe/8taLyM68ua9GttfDWqZ22khDOsj6EKnwia6LuqIgS7LfVABnupIQFIMNSa03zBZ Fs0hFS5gA4/S/rTVzf9iz/FaH2HbQnIji2uF1lDRKng/bIFwfcuiVtMA1ddpYTFXM1yZKupJeQ2H8 r10gP5XS93SufFP6W2cymw21t8T17gQ6XW78K+AjwRX8ok9/x+2Q1Sxpqjr0pf+aMSzHNG7bTKP8g G+/Xjp5lkk9pODQpWyEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qc3Uf-00HU66-0s; Fri, 01 Sep 2023 12:43:21 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qc3Ub-00HU5C-3A for linux-arm-kernel@lists.infradead.org; Fri, 01 Sep 2023 12:43:19 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4ff8f2630e3so3460095e87.1 for ; Fri, 01 Sep 2023 05:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693572196; x=1694176996; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+a+iz9wBM/RnkGSUCsFhA72uNvdIJyLIqk+nxrMTVAc=; b=N+KKZS0GjPGk5NlqjCBhz+i5P5uCcSm6zOJTfeIFohdbpTy+r7ON6O0AHyWFNgzrPa 2NgvQ6E0E6/jc86c6lmmHihVmkoUJ/IUYpxMZZo2ncyrDVgnQIRVHZh4+TcbCoWS1vuM z1zEP7W3O5NDGWahEhfI8mK0O8acs7DJ8m+3t7jX3PMN4kVMRBLhDEPbAODuoRZJ8Obv D08/zSkcsSeLtrtVdVN3pHRrBJ6BuAgvYOS0PGaRkfd6lO9G9RMK+yizwMub4ngfV7eX Xgf4HzP0xTp0aLidBKKlo6hwiSzEJvp8o6asSECJXc51VYMujBZyLqqgxX6ca4a0j29j ijDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693572196; x=1694176996; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+a+iz9wBM/RnkGSUCsFhA72uNvdIJyLIqk+nxrMTVAc=; b=c9MgmMMTJNg5FL7QWNBgvrFKO535RnuK36Y8M4CMTgV/xnsIa/ttlLEjJomBnxsUhD W2Xx/Wu9o3q6Sb8mvrRBF0TK97j+w6hSJCbo97SyaeHxdFBTY2StvZE33dRx0ByeQkSz wKd6fVBZisu+A5CvwyXocNdvTJ6dEJByRai0KeqXv0CmIHphFQlPeKFwHzhiHabCZPKG n2IOgXxqejPC/uMQ1vvBuCINncijS0scRdprwLJUs0WwEg68TgERD+rknGOmQq3qXMzx /d7I4ET7GZVFWMiwEc+i3YsYk90R96slJuHAFH84wcZ5ITclTs7+vM+8gizjNd5Pm3AW QiUw== X-Gm-Message-State: AOJu0YzGeNzZ8LB0U45ErKCgASiu2cHokyOzoumwreeBHoFuieeajuDo EcuUK0IJWTBr+hahPiYHTMY= X-Google-Smtp-Source: AGHT+IGGiaOuqRWPq7jbGOlYBFKYVS97u9RbEcWV2zVY8mHCwEl+SgnwYibEvBfmfgZQOaq5OVOY/Q== X-Received: by 2002:a05:6512:1053:b0:500:a41d:354c with SMTP id c19-20020a056512105300b00500a41d354cmr2070291lfb.28.1693572195590; Fri, 01 Sep 2023 05:43:15 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id l22-20020a19c216000000b004fdbb36a677sm640599lfc.288.2023.09.01.05.43.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 05:43:15 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: BCM5301X: Set MAC addresss for Asus RT-AC87U Date: Fri, 1 Sep 2023 14:43:11 +0200 Message-Id: <20230901124311.31156-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230901_054318_043514_26D4053F X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki Specify NVRAM access and use its "et1macaddr" NVMEM cell. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts index 4f44cb4df704..59400217f8c3 100644 --- a/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts +++ b/arch/arm/boot/dts/broadcom/bcm4709-asus-rt-ac87u.dts @@ -25,6 +25,12 @@ memory@0 { <0x88000000 0x08000000>; }; + nvram@1c080000 { + et1macaddr: et1macaddr { + #nvmem-cell-cells = <1>; + }; + }; + leds { compatible = "gpio-leds"; @@ -62,6 +68,11 @@ button-restart { }; }; +&gmac0 { + nvmem-cells = <&et1macaddr 0>; + nvmem-cell-names = "mac-address"; +}; + &usb3_phy { status = "okay"; };