From patchwork Mon Oct 25 21:39:25 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: 12583043 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 C70E8C433EF for ; Mon, 25 Oct 2021 21:41:29 +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 8879160F22 for ; Mon, 25 Oct 2021 21:41:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8879160F22 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=WE201rFxe01jMhRvc+jqLD2WtJd2r1GhxS6uBexaQ1o=; b=u3BEEZLd5PY0uo EHpmTk1a0WMER4gITdZUPgePT5H+FXzberrB2JmoJUhd/RCNbUt1tYYeYqBQAqJkBKNq+ANjBfIvA tSPwXtwx1KGxZc2yMtHDZfF2cI7LK4Hq4KqPEfAp8L/9L7W9BidCGOySU2oMFXPz3bdaFdl3ftVTG 0GV6Jw7oT7fMd7NNw8u6VfA8yJr4RoYILkeCGjLvaix80BlpbLAI6juzKQoDfCuvejbH10GnTXgW1 xND49XskFJG5goGmgdrQJoHhwDfkwLEoi9PsJ3jo+wBFya4pH8CX+031Au+I/w8OAq+0OgA/DrHYH qmppyX+ypvC8tA/W0hXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mf7hW-0008u3-K7; Mon, 25 Oct 2021 21:40:14 +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 1mf7hS-0008tH-Ah for linux-arm-kernel@lists.infradead.org; Mon, 25 Oct 2021 21:40:11 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1635197997; cv=none; d=zohomail.com; s=zohoarc; b=dWhId5zMv14we7gAdU55V83Xu2r1tcE2d/baDqsDoMf/PoUHIqhCW0IS4VW6h//dvt0yXSkwfYg5083hasf34SSD9rFSUnO3MgTi59OLmw5g2u1AVwLL6fNa6p3FZ3eNnhVSTQoFvnMXF5XArfbm2wRk9L3HIHPB1G0ogsu87To= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635197997; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=ocrEj3niA0VDGWM5qb+N33ooo6RnRaWSK4gccFn8a6k=; b=kSxCBV2GkWuQI0U5iV9fYD9c9o07BbcIwJ0JO5WzUWmycs7juGDOBJuXsx++FXlEN5GrD/INUBAMQbEBF4G2WaGmZHPS91EvaLyBa17s4zif+C2LuLjvtTYAFrvzv9tCFvEX5jNovuioYJ2xTAGtctPqZav3rbzzfpISK2D1vwc= 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=1635197997; 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=ocrEj3niA0VDGWM5qb+N33ooo6RnRaWSK4gccFn8a6k=; b=kPDdH3l41ckWY7HGXiWV2QBdQ6/zm3WZtVXvw8iIKo+42wQuDteFJjpMOQMQzFMO QH5EbUaaL9e0BOe1abjYchW+25AniAIhfXoxbXgRMA5qzvkB9IVxWUAyzm0Z+xG/y2y Ar/ShfAzCaK+W8b7CQMUFPZgjSdn4pEZ0I0miuGw= Received: from localhost.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1635197996472841.2262249596893; Mon, 25 Oct 2021 14:39:56 -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/2] ARM: dts: BCM5301X: remove unnecessary address & size cells from Asus RT-AC88U Date: Tue, 26 Oct 2021 05:39:25 +0800 Message-Id: <20211025213926.21203-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-20211025_144010_428028_0779A792 X-CRM114-Status: UNSURE ( 9.37 ) 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 Acked-by: Rafał Miłecki --- 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 Mon Oct 25 21:39:26 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: 12583045 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 EA94BC4332F for ; Mon, 25 Oct 2021 21:41:46 +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 A1AF7610D2 for ; Mon, 25 Oct 2021 21:41:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A1AF7610D2 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=6Y0KRc2ErwYWkUVtuPY1QwfSwicci1xK51L2bn1yfgU=; b=WwX0SM7jrGm2Yb U3/xqC8qtLg0969x19P+11QwWaK6HDkd5MKWa2fO7TV7B7ti68Hi0q3TSO6Rk113t2ibOiuQB1ssD QuuK7p7KnD4mkRvogzKCVYuYEmiYO8WTXNct/W2prKDFpfj7R+HjO8LjXVii+X5yAEnTnwV/LaIUC rikLCd1IfEynhtLS7nl0ABX40/W89wPyd2BMm7iQzoeIrdVxzsgBTRiqsR3p5FE2sPiQDjXBF5Hmo +LEMyXu42F2n0PJKQR5MwbazlpQ1N83HF03DAOAwgjclzA1RBeBA9ad8s2n/MfTFKnuuRHiTaE2Tk OBpVXgnPNLXlO8goXioQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mf7hj-0008xG-Ou; Mon, 25 Oct 2021 21:40:27 +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 1mf7hY-0008uk-MB for linux-arm-kernel@lists.infradead.org; Mon, 25 Oct 2021 21:40:18 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1635198000; cv=none; d=zohomail.com; s=zohoarc; b=PAw8CWZ1nRMudmBgGRIn23UT/ozM8YnoVVSeaHz/ckfxeBKPyH5MEHl1b3JqtARfZPEYMkAAg+09FShIMRD73j8Im7NhyqgpnlkK6uuNutxgDDUfLcC0V7rOP1NS/Vs53FDPQSmspA7gdwfrDDZ8va4aWGz/xjhXlN8adyH/RdI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635198000; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=SnkSxvFgrsCV7TvMgmJS/PEAPDNNADsb4ITAS/yR1ro=; b=Bg9tMlOA2R+ydA0u3dSRLi93HeBHx1Mo79RFvIBCF9TMtUSMWV4djdW2WvxL2HtYdV6D+kJeVgwXoVq/D5VlnC2u55pJGMehLukJxSChj90nQrIEafBQLBqnKcKE1tf9DBXQTFhYUp0YAnkCandtMh9+VOcafAWwLtow/q4K8HU= 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=1635198000; 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=SnkSxvFgrsCV7TvMgmJS/PEAPDNNADsb4ITAS/yR1ro=; b=dDvlbkYEAw0b0n1en03UwVE543MNOy34mN8Ual20Gw0udVPQ3I0pfqsCodgh339p PYJ4zAuUB7GsfSr7vtFQXqZredzAYy/MK/ovlFh6HR5Vqo9FQ1Z9g4/lXEls0c6vAAy 3SbjM8q+jwNr5frv0v6Bj0xzxE0QW0WX+GLQYoFA= Received: from localhost.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1635197999128579.5127046827745; Mon, 25 Oct 2021 14:39:59 -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/2] ARM: dts: BCM5301X: define RTL8365MB switch on Asus RT-AC88U Date: Tue, 26 Oct 2021 05:39:26 +0800 Message-Id: <20211025213926.21203-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211025213926.21203-1-arinc.unal@arinc9.com> References: <20211025213926.21203-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-20211025_144016_824472_616AFE8C X-CRM114-Status: UNSURE ( 9.43 ) 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 --- 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..6562ee435f88 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: phy@0 { + reg = <0>; + }; + + ethphy1: phy@1 { + reg = <1>; + }; + + ethphy2: phy@2 { + reg = <2>; + }; + + ethphy3: phy@3 { + reg = <3>; + }; + }; + }; }; &srab {