From patchwork Fri Apr 1 10:19:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798057 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 25449C433F5 for ; Fri, 1 Apr 2022 10:22:04 +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=OIw/6VhqQ+b4e8mIa1H6/8OIcWnxyryTEpkaNWSAQFM=; b=EvYnCVzHYSS3Vl WTLcmUQfRFD6U5DLjLY6M1EvW/BCFqFxZ09W4azQZ3Ma/FuoHqd3AQs2BP1e9uaRuvR35OQgMFnNf uH2ZCR/HXLQTmunCFAwrqiotWOusdRm4oaEKUJzQTuLq/V8X4JW03VFb96yF64OVeUw9d0VmjjD9d EzM+F/gVvr4+cJhLl75D+fNLNJCyL1xEXgRG5DwpJLULlaTOzx1guViUqiGKVJAFuxUkLx1hiX/Yz igjuniU5Lp+YvonM6QrsEXtCQ24hKrft6WdTvNSLrF2UIST5v11fOi/KbCyuL521rePE8zC8g0/tN EjCqpBZW5KqnsHwhQn1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOT-0059So-Cb; Fri, 01 Apr 2022 10:20:37 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOQ-0059Rz-HS for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:35 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808414; cv=none; d=zohomail.com; s=zohoarc; b=Pg66HM7IjtDCBmxn7FipZwxPREL7049yNw4vQy3ONx8uSA9ELwhHW2h6MOsLsaBexdWCborfAz2N0rbcn0/wUbBe4USiVTyaY6LsCk1yvXzHFGv5n2hiVHFj9Lgi6gThQF6A3f3wypbxLx4OuCDJmdMWf8O+7OciUtzM/iAoga4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808414; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=+dmV2YhEto56L4QtQz/NwowczTM9IlbxM1SdZmkUe3A=; b=YMaq8gZeQa/LiLLQMChsnQZWTwGMs0eEQ6DhRkFAl7jhwcCjD+TPmATP3mJEo5y3bxlm+jAoeRUK9I1Z1Pj4S7wlS83LIIwcMEoMkUo3ZT9fCH0Um0RLBnKDSV416cjl1/Hm1c8KgmCQN1gXEzVNhY8Io0py3erVirT7UB/L3kg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808414; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=+dmV2YhEto56L4QtQz/NwowczTM9IlbxM1SdZmkUe3A=; b=HNI0Lvn1lLwg0aUAbaD3rVUXP2csMt0T7lvvA2GtRJ/AJzzUKj8hrH6MeK8QLg2P OC09GfE8UpbN5Re0Yd2clGKgiKZO3uhIOmCOL5r8GkBuVuoLPYB86aYKi0A/m8Xuirc vwkgXbr8sbx7pNGgoc7qflHsreP7cEoilEw+CYGE= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808412518966.3548061519505; Fri, 1 Apr 2022 03:20:12 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 1/5] ARM: dts: BCM5301X: Fix DTC warning for NAND node Date: Fri, 1 Apr 2022 13:19:58 +0300 Message-Id: <20220401102002.15765-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032034_667145_71043BA0 X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. 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 Remove the unnecessary #address-cells and #size-cells properties on the nand@0 node to fix the warning below. Warning (avoid_unnecessary_addr_size): /nand-controller@18028000/nand@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL Acked-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi index be9a00ff752d..bdf1b4a608e6 100644 --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi @@ -10,8 +10,6 @@ nand-controller@18028000 { nandcs: nand@0 { compatible = "brcm,nandcs"; reg = <0>; - #address-cells = <1>; - #size-cells = <1>; partitions { compatible = "brcm,bcm947xx-cfe-partitions"; From patchwork Fri Apr 1 10:19:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798056 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 2BFEEC433EF for ; Fri, 1 Apr 2022 10:22:01 +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:References:In-Reply-To: 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: List-Owner; bh=S63KKJUkwhi7VWZuYfrqmimTpsOZ62pWvQMTIZEuK4I=; b=PUV3mtSGgbfsBe rhUg1k/8CvnDQXhj7IrQktK754wfJFSGvEcv/g6zKD0Nyp4myjxP9Y2kPwKyJQX+8F5ywS4q3t+Dw ZuPYhtrsYzdIvcLaMqq8NUT5n2Ili2sEKbyWZ3vS5O9TO9IR+HPmnya+GPhxWnseXs330CzV+8ijm nxkr7O4OwwWJduE6nhBCr5vfAB2VdT6yFqmiPjGPEib/SrWp5aivfIaVfYIVZK+gF3GPXq/qSlJzP U2B20+TaMs9+LIPn8zdAERZ+mOLBa9+dfho+WAvHRG9F159GBcehZszrxYsibUSxgSZyNhfXTgECo XekbmKk2ZYNXW1Ws5fRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOb-0059UH-Lx; Fri, 01 Apr 2022 10:20:45 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOT-0059Sn-24 for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:38 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808416; cv=none; d=zohomail.com; s=zohoarc; b=Pm5dkpUngeKLasG/9IYs7RPPsSZw27bwQum5OqwVx6it0t3ABotF7dod+ouFQV3FqylbzBaTdgJZkCeMfYMvISsxi7Yrg8EiiI4VJUMMVTlhLgCRt1d32pdLorsvBKTXc3D4Pg3oR/sMz3JmqT/WcxGZpQtHCCtFRCSmZas9ZVE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808416; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=eHUUHi8aAkHNYjcz4qhlBrD82BPgIAKdMJmYEjetHHY=; b=IaZuyvh7RpJLvAu/KDmz8LYz/Ki2WpG7uwvrvYAl2+/wE+errKUdBoXDFlABt2Fzp+Ue+6og/T6QXtr/8/0RJehW9gWWZxEu9GP4aaXQYplMkQ4lWxM0jym8aENuIWVGj5QQoTJOuPEmNtZPOwQihWMdNlHgizScYYkktCVuXys= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808416; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=eHUUHi8aAkHNYjcz4qhlBrD82BPgIAKdMJmYEjetHHY=; b=iRz2K0tBJPy6QYfs65GGfkqTyt4X4AlF/37zPRunxxJbhOWiklxVZOIRXpk3xHMB s2eHqz00PnhwtgW1fGvt13urmdGLYrdd2T7syfrqz/HAFhwCf4bA3h5ng7e3bY48g/w qYBFVRPu81hPZmNr3Z85h4LadZjoR3zPmo2juwXw= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808415149743.6191919595522; Fri, 1 Apr 2022 03:20:15 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 2/5] ARM: dts: BCM5301X: Remove cell properties from srab ports on Asus RT-AC88U Date: Fri, 1 Apr 2022 13:19:59 +0300 Message-Id: <20220401102002.15765-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220401102002.15765-1-arinc.unal@arinc9.com> References: <20220401102002.15765-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032037_186534_0FA06CE7 X-CRM114-Status: GOOD ( 10.37 ) 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 Remove #address-cells and #size-cells properties from the ports node of &srab. They are already defined on bcm5301x.dtsi, there's no need to define them again. Signed-off-by: Arınç ÜNAL Acked-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index 82f9629f0abb..cf793c558437 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* - * Copyright (C) 2021 Arınç ÜNAL + * Copyright (C) 2021-2022 Arınç ÜNAL */ /dts-v1/; @@ -177,9 +177,6 @@ &srab { dsa,member = <0 0>; ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { reg = <0>; label = "lan4"; From patchwork Fri Apr 1 10:20:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798055 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 9A912C433F5 for ; Fri, 1 Apr 2022 10:21:59 +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:References:In-Reply-To: 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: List-Owner; bh=NXooeFgTmbY6MuMnL54IiT3c4iu/GVbb0kuxQaVmW84=; b=NT1pLdjJeuVMuG a0OK+4cXfanh9sWy+FfY6gMskqy+aQNm22h/sZ7oKgwV9qBkEfPPWz4aCbAg+WT1HOW6WlQYaf28E j7u0PVV8Ut21e/6AD0iE8vGuhJ7VDaG8pSpxKwdjSRaz87pwNPT8BhNUWD73kUB8xtL70+RtI0Jnn CEYEPqT21T1uTy3Hb+5syqusjFDdxeFIY1Il1z7EOyNMEcslP60hObTCv3QLZb3MJaszqyA7FnD/X 3++8U8vY3TvYYWt+suUwzEcuENRyEYOhNVPOB6NzX1e336FdUs3ypG2zw9FgLU0BT8GKe2lyvAFNT nDkALwuDC3Qcibbbt/Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOk-0059Wy-8v; Fri, 01 Apr 2022 10:20:54 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOT-0059T6-Jk for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:38 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808418; cv=none; d=zohomail.com; s=zohoarc; b=U0WyLo3irxC8DtKFjCMCVPckckXjft7YbO2WfcQoXDYLL/BIX9Pjrdzm/OiuEfxWQ62SOF555lF7Q1EaPfOoEBcsG3xoVraMnO8QSvhosc/S/2k9ooQhEQEraDeZovFLoIz9rNo353o3nN2Mou0jd62t/MwaS+Q3zSWGZqr3THA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808418; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/Q/XDxvyF27YMUY+rF0Ic2U07WI7re9M6M1SJ9njBAA=; b=NAUxf41c6sNj5GbMtreoL9ipcly6eUdgECYrk/W8z+N3xodVhV1GUhbqzBD/vQXl3LI4OYZgXbAW0byY+xKjsuXydE8KcGwE47T+HOPiWJPxrGbRHhvUBogXivUFeXUKG5W1Co2cNqNhEaDb3nii/747rxlUBrA4YTE0zzMhjCY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808418; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=/Q/XDxvyF27YMUY+rF0Ic2U07WI7re9M6M1SJ9njBAA=; b=OfbE1njhzn2J48UcERkIMzAGoB3IT0/QhRiINd8gLEAd27YvTnoA67GC7TfLH22L jJQpURFl3ZOyNHTW4mTq+O03+8XYHnB9L3UyVvOE83wz4OVzmDwsGFKFzwoE3OyJgkn pjEjEbUk/7A+iYSJk0fJSzmYNH+92A9z67WcSWFM= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808417673463.7316576804211; Fri, 1 Apr 2022 03:20:17 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 3/5] ARM: dts: BCM5301X: Add rgmii to port@5 of Broadcom switch on Asus RT-AC88U Date: Fri, 1 Apr 2022 13:20:00 +0300 Message-Id: <20220401102002.15765-3-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220401102002.15765-1-arinc.unal@arinc9.com> References: <20220401102002.15765-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032037_709263_7356698B X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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 Define phy-mode of the Broadcom switch's port@5 as rgmii. This doesn't seem to matter but let's explicitly define it since phy-mode as rgmii is defined on the other side which is port@6 of the Realtek switch. Signed-off-by: Arınç ÜNAL --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index cf793c558437..5696dd5fbaf4 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -205,6 +205,7 @@ port@4 { sw0_p5: port@5 { reg = <5>; label = "extsw"; + phy-mode = "rgmii"; fixed-link { speed = <1000>; From patchwork Fri Apr 1 10:20:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798058 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 0D0C5C433EF for ; Fri, 1 Apr 2022 10:22:05 +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:References:In-Reply-To: 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: List-Owner; bh=1x/TtIpK95eHeUOJy09dz8+eBwUAds7PEusrDTRR+S4=; b=3OWG9J3X1wHRJa mMFm5KP7cy0t5l2HWGQHtPjtHIMFuglqLR5xgY8tPZ34IlEw2FozaSV4ErfI4W9waR+4xtqEA1EAq GKJY/RhgPVFxYQ35guqbx4AbmSKXoVAmW7gfFDkavPBdzKewWZK180y5JjkEvVH/kKFEcpyvgYjcK M7+46B8vYS6nmn9PVhMD86V+4yP9dN4JoOow/rsCunbG6oln16HOViZNo5cpYaf7bUywPxqBz8etK uRC4rdQZGLKoc0+2V7vTLQC4QSVlFwMzxrvwqmL6R1ksD3w1GwGm8AjkKH2jXUNDlk8s5662L3lSP vh496/XqHmHwCo4lQ9OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOt-0059Yg-18; Fri, 01 Apr 2022 10:21:03 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOX-0059Tf-OF for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:43 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808422; cv=none; d=zohomail.com; s=zohoarc; b=OPMWESSuAgiGm4y2E7OWi3M7/bdGNyqoTxjLqXIUOJ3GEMguITN2e7li96vCtrP03bS14atkA1wscer6/8olPJsm2EK0MPKW+B86g1B6Ynao1InQ4VqzJDHYD4kKEf2AxvZ/PsodcQ+wbwZJrITTtQMQGn7lOIUU/b/NqLzc/eo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808422; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=N0LsOdjZnLCmPPWAwJCSqDnXkCKgE0jLv9QVEUXcOtg=; b=DdyW+k1h58Q6bX6W5xBIi5vQ5gYn5pKp3mVllrSnbevp+WSFyXkGVKUiUxcqgrydovDjAOTSZ0hIrc5H2+fQT+7RMQ751zKBaJRfLsMIapQJgpuAV9c5zFoq0xLaFDWT4MmIcnzjDYNnFJTMiK5habyuEWrUkw7P+lBYKTzQPfo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808422; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=N0LsOdjZnLCmPPWAwJCSqDnXkCKgE0jLv9QVEUXcOtg=; b=TpBTCYex1Ebro304tl8kyelMQvIPbc4wZ0ntQ7KtlYOvedbD1j99oUUxlo6yGBYS IXgOs4gZLHM0rkIZw1xpCMQ4gGn6YxXNwdtkGQ5ZH68+FND8PZGPBvIuPgMXNEsRdPr UFFURdPxsdVlvWy23Yt/ByTMwJmgFNP90CNDxEFo= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808420168564.6989434315456; Fri, 1 Apr 2022 03:20:20 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 4/5] ARM: dts: BCM5301X: Retrieve gmac1 MAC address from NVRAM on Asus RT-AC88U Date: Fri, 1 Apr 2022 13:20:01 +0300 Message-Id: <20220401102002.15765-4-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220401102002.15765-1-arinc.unal@arinc9.com> References: <20220401102002.15765-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032041_871183_4DDBEC71 X-CRM114-Status: GOOD ( 10.88 ) 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 The et1macaddr NVRAM variable contains a MAC address for gmac1 on Asus RT-AC88U. Add NVMEM cell for it and reference it in the gmac1 node. The Broadcom GBit BCMA driver will issue the MAC address for gmac{0,1,2} retrieved from et{0,1,2}mac from SPROM without this but let's explicitly define it as mac-address on the devicetree. Refer to drivers/net/ethernet/broadcom/bgmac-bcma.c:147. Signed-off-by: Arınç ÜNAL Acked-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index 5696dd5fbaf4..2f944d1c0330 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -25,6 +25,9 @@ memory@0 { nvram@1c080000 { compatible = "brcm,nvram"; reg = <0x1c080000 0x00180000>; + + et1macaddr: et1macaddr { + }; }; leds { @@ -239,6 +242,11 @@ fixed-link { }; }; +&gmac1 { + nvmem-cells = <&et1macaddr>; + nvmem-cell-names = "mac-address"; +}; + &usb2 { vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; }; From patchwork Fri Apr 1 10:20:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 12798059 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 A2323C433EF for ; Fri, 1 Apr 2022 10:22:16 +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:References:In-Reply-To: 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: List-Owner; bh=Er+lfwa+9Qn99PSGmmNNB4fR44rV5u/2onOAj46MdCQ=; b=vsGpU4KcpdQz/W lx+dhO2qgn7GTwYCum0YTxK1rxQxUAp59zYGxvyr2lzxaXMNtBAnW6Qwb31BtNgmsnW15b8pMnu0G 5poP2QNNNeAMRlhC3l5NrLl5EnAzD7LQbVlGq2HElpU1zCXaxG2blmJ5NOlslZasi/j24GbesP3v0 Oiybht8u4Zcu8ZERrFybhzpnXy+VSEyKHsiJ+x3nlzb+Bd0q8HTNtbA4vBLuOKvsGhyqFAH+fNfaZ F+stPYUfRAB2BWwV7hyGDQDKnC/BUWToh3dfZLRm7xNN0fLVJUmcW3nMBZNfvFfEWs/xqazIV10ef 1y2HR3qXa2CDSd5VE0TA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEP1-0059aG-PM; Fri, 01 Apr 2022 10:21:11 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1naEOg-0059Vo-Pl for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2022 10:20:52 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1648808424; cv=none; d=zohomail.com; s=zohoarc; b=gbF8DRnlMKiqBG7cjuqGfiV38CiyUO728tSibN8lKnfnZLY6z2lTuOJcDNO/e9+km+tgYedQ/b5FTjRm2n7WjK2Knjb7N2T1+2UgCtuAVbQotq7pz61cr+ML53eVkt3Gh3PLagmdl8574UCvDhLNwdCIQCNxpXfcn5WU9vFgrO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648808424; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=H4RK2Zq2VE03xf2F/u3m5hIQwlzu1JWJnrVF0kVjHjQ=; b=bsC07HQr7GatD6O1OwEoeBl5M1lKCNkL8mRYYej4Tb0TD4DkSbuEV7pmNXXrFthk/sn9URC+LgumQl2aK+v025VM5ouvLvOzRDchgoiDeky0yg0cKLlFHAr9KkuOnjGzvbQ8yCwvD57OO7DlsNejA8v5gFsY1gGYBAtTrh2wKro= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648808424; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=H4RK2Zq2VE03xf2F/u3m5hIQwlzu1JWJnrVF0kVjHjQ=; b=jent8XBUiOLE/WsHHXN4jWRtCILV8PcKoREhDZ718yOexJOYcOj6UI25f3HjVV1Z PBqgNn1GE8egxA8P83ofiVrRvfV9UTOHgJEDLvwHXccPLLDxmENylm3owmSSW7k4dEV COWu403F/ktKAqqWM3n+394tXBO8wfNShUgedDzw= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1648808422678276.3849561774806; Fri, 1 Apr 2022 03:20:22 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 5/5] ARM: dts: BCM5301X: Disable unused gmac0 and gmac2 on Asus RT-AC88U Date: Fri, 1 Apr 2022 13:20:02 +0300 Message-Id: <20220401102002.15765-5-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220401102002.15765-1-arinc.unal@arinc9.com> References: <20220401102002.15765-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220401_032050_906678_D23044C8 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. 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 Disable gmac0 and gmac2 which are currently not used. This doesn't seem to be implemented yet on drivers/net/ethernet/broadcom/bgmac-bcma.c but this change is harmless, nonetheless. Signed-off-by: Arınç ÜNAL --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index 2f944d1c0330..0f5c5d576814 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -242,11 +242,19 @@ fixed-link { }; }; +&gmac0 { + status = "disabled"; +}; + &gmac1 { nvmem-cells = <&et1macaddr>; nvmem-cell-names = "mac-address"; }; +&gmac2 { + status = "disabled"; +}; + &usb2 { vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>; };