From patchwork Tue Oct 26 16:57:03 2021 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: 12585219 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E8A1C433EF for ; Tue, 26 Oct 2021 16:59:12 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 231E060F90 for ; Tue, 26 Oct 2021 16:59:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 231E060F90 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arinc9.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=rsedP09FgRMeaUm8e2qziU5Iq4gRmcq3rXR98T3d27U=; b=UiimOi598h3k+t NtArhJ8jvKpzgjvyv0cHfmR9jyuN08UdAb6WN0TExPcwRRkmdkJMht7rt+GqioPwwStDZsyp53FlI FVA4m49dIgxbTFX+xS2sskMhzXGkvqle3iBbw6x96zwaG/YbTz8tJE/zlFCYVHiHWNEdc9E2IYcVP YD+dV5Ze+ZwQseLyShkz5UFd6JLsF1DkgKsVvCKWWRrPqfSSa1aafsT7yg/m1DAqz+usIdOnD/JPE 7buq2oo5ZSLmiL3NkAROG7h9N0zfedGNLFDu5d4Vrtsy5tQ58zIBAniFcbAoj2lbgXBaeuWOMGIek YXbs2UdsLqomFcEDBOFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfPlv-002Xyd-P1; Tue, 26 Oct 2021 16:57:59 +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 1mfPls-002Xxo-CV for linux-arm-kernel@lists.infradead.org; Tue, 26 Oct 2021 16:57:57 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1635267457; cv=none; d=zohomail.com; s=zohoarc; b=FyCIGTpYBKOelFK4UjKj7RYoydXjTQjg4rqaYZz1kAtuiLmT915EtJ++vUrP5sX9wIv+S6GOhDBp/NLyjvF62Tcqmb4dZwL15aZSO3bGp7gKYZr/pIFkiler4VZDNcISfb8AtIiA+6/VgIoRY2Z8oj4KEgWONLAkR/GbMBVYSr4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635267457; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=XxLCRbNpLu8h/WBroB7AjAPtqrIBeRIhh+m81mDDH0A=; b=MB703Opxm3kFU+2iCB/oCu+zmege6TRXpzQrdk/tqCKw+oVWk3vtrTlmQsE2Kq9Lnm2BjPlrgI5wy7iqvsFiHoElI9MBmfBrFnuDM8iZaVpZMujU//xTNWH1aHmmCi8TYaQDokXG2CKhddJoUzQxBUhZJanwjOvkBHSAl5G8Qag= 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=1635267457; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=XxLCRbNpLu8h/WBroB7AjAPtqrIBeRIhh+m81mDDH0A=; b=EOf5NwnyvwdpB4PB+CREg6aM6Y8yLAOcaV5fq3AsbTvsxMSfBpd6jN3YdXncJVJQ W4sTPB+1xMzKkusqKtbjjCEjgrMyub6r/qGFrHK5oawhMzWqNisQdiB1d1b7gGgEynw 0+G4aSyLYdUBS+4p+Wn21aWd3WNPclYlopjASziA= Received: from localhost.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1635267454908711.4948663344269; Tue, 26 Oct 2021 09:57:34 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?q?Alvin_=C5=A0ipraga?= , =?utf-8?b?UmFm?= =?utf-8?b?YcWCIE1pxYJlY2tp?= , 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 v2 1/2] ARM: dts: BCM5301X: remove unnecessary address & size cells from Asus RT-AC88U Date: Wed, 27 Oct 2021 00:57:03 +0800 Message-Id: <20211026165703.17997-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-20211026_095756_497735_DC68B8B2 X-CRM114-Status: UNSURE ( 9.38 ) 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 & #size-cells in the gpio-keys node from the device tree of Asus RT-AC88U. Signed-off-by: Arınç ÜNAL --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index 448060561cd0..b0cee1d87600 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -68,8 +68,6 @@ wps { gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; wps { label = "WPS"; From patchwork Tue Oct 26 16:57:06 2021 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: 12585221 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92F90C433EF for ; Tue, 26 Oct 2021 16:59:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 597EF60F56 for ; Tue, 26 Oct 2021 16:59:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 597EF60F56 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arinc9.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=SlSl1VrvfTirNUwqszqJReIyTogf4DyTpNOgh09pbUM=; b=aLw5T8AOJoFUOM cKakH4x6JX88YoaZnRVsTbJ3tN7XCg4ml2/SaVH/Prc1XXbjFBBJWTZjspqFv80tYtWG/iYVs5Ml3 f1mUgMH+0kskt9xlXzLs8nSKI28cZNMq5UG3gKTVdLmwLuEVKEbvl8tGl1Ek7TitHzee+z9pz8bOo JXk1VM737Yu/tToW+qS+vKzbRU7Qdn6VC9kJQW6Mzb5upF0lrncS5RmcoNrOlXHfWeCguzy1oXzsm r2zetAP4NClLBb5oTknmL5GnPQdslt/tyfHDdR33CyBxk+zGMhugBW7f4kEvOjS/GexC9zISAslcu u1K6CnKfdCr3CwaCj7IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfPmG-002Y10-Ii; Tue, 26 Oct 2021 16:58:20 +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 1mfPmC-002Y0Q-Oy for linux-arm-kernel@lists.infradead.org; Tue, 26 Oct 2021 16:58:18 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1635267481; cv=none; d=zohomail.com; s=zohoarc; b=lHpt+GaMRmXCRxplYnIB4QqjnsfCft559K1H7iQuwgfBRAzUs/wDB9wkx64I+bIxfoDn/1WPG1eeajXu3IVoWN5Ni8GXwt5Omf6cZ6h03KoCChLv4111AUc/ucSavp/HGjfx2u+gBXoNB4v/7q3G9Ev0gP3k7m3j+yHTns5Yxb0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635267481; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XG4QsWNyPHY2fduXtILPq08OZPqVb7ztgcflG/Q/poo=; b=OwuIO0wgx5F4+6df/9N1g8XQ3sjsuEEF4RHv+RPGaBXJQnVUn9T3fvWUEXQew/uP2aGBnNcNxGMOTPB2bFZGi4lJI28tVlaLkHlZCbkBjMDiQDfq0uVVksRBfJZXY6ZFY0oBUoE/ymexi1UJYTnlwdDEseB32c+nKwdC0PiksFo= 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=1635267481; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=XG4QsWNyPHY2fduXtILPq08OZPqVb7ztgcflG/Q/poo=; b=fsGhuMKPmbLI6MvODq1SBbjEsYtkOUgr1GIvD40LuA3+GAv+4i36Qhzmo6O9DX+0 hAa/OT5pj8K3i1rT6tvyvD3nTPcaUpZAjsv5qr3XPLDE9f2rZo5WQN4Lnt1cNCwatEL GOwjiukOKx98K7GpAfPBrtKlgVV4YF0un/f33q8I= Received: from localhost.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 16352674801441012.238494578255; Tue, 26 Oct 2021 09:58:00 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Florian Fainelli Cc: =?utf-8?q?Alvin_=C5=A0ipraga?= , =?utf-8?b?UmFm?= =?utf-8?b?YcWCIE1pxYJlY2tp?= , 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 v2 2/2] ARM: dts: BCM5301X: define RTL8365MB switch on Asus RT-AC88U Date: Wed, 27 Oct 2021 00:57:06 +0800 Message-Id: <20211026165703.17997-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211026165703.17997-1-arinc.unal@arinc9.com> References: <20211026165703.17997-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-20211026_095816_882521_60CCF1F1 X-CRM114-Status: UNSURE ( 9.41 ) 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 the Realtek RTL8365MB switch without interrupt support on the device tree of Asus RT-AC88U. Signed-off-by: Arınç ÜNAL Acked-by: Alvin Šipraga --- arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts | 77 ++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts index b0cee1d87600..16dea851719f 100644 --- a/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts +++ b/arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts @@ -93,6 +93,83 @@ led { gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; }; }; + + switch { + compatible = "realtek,rtl8365mb"; + /* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */ + mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>; + mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; + reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; + realtek,disable-leds; + dsa,member = <1 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + port@0 { + reg = <0>; + label = "lan5"; + phy-handle = <ðphy0>; + }; + + port@1 { + reg = <1>; + label = "lan6"; + phy-handle = <ðphy1>; + }; + + port@2 { + reg = <2>; + label = "lan7"; + phy-handle = <ðphy2>; + }; + + port@3 { + reg = <3>; + label = "lan8"; + phy-handle = <ðphy3>; + }; + + port@6 { + reg = <6>; + label = "cpu"; + ethernet = <&sw0_p5>; + phy-mode = "rgmii"; + tx-internal-delay-ps = <2000>; + rx-internal-delay-ps = <2000>; + + fixed-link { + speed = <1000>; + full-duplex; + pause; + }; + }; + }; + + mdio { + compatible = "realtek,smi-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; + + ethphy2: ethernet-phy@2 { + reg = <2>; + }; + + ethphy3: ethernet-phy@3 { + reg = <3>; + }; + }; + }; }; &srab {