From patchwork Wed Sep 14 08:54:42 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: 12975869 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 A3635ECAAD8 for ; Wed, 14 Sep 2022 09:11:03 +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=IRNvo2EmMeg5fcXAa78sJd2rKwbpfPoyH9pH107oiQ0=; b=FtTG1GQtv8rAlx BgbS4J2b3M5ZGk8iRwbBvU+dWPg/RoZBtXpUq1Y8atfOCaaOP5fhhnfz+7nFpuy3sEKSK69TwMTSz u1ZAKoLS0+bRV7yAvf5RPoLi6yy+ka10UUEu95SVOSGZ6udzSFoO7tRHepwWqO0RUmC7RFhJg855a JveERtnIvp62G4h+69AJ8PWvbCieXcqP/0ZswfDG79ackI61deb1A1j50ld/xDPTCPVXCSr+3wppn sF5bVTo6EOpVaYDS5DVjLRMp16otpNhwlA5njA9svSpDEayBiAZVK734CGChkIqkXtuAgPw8gIbUW j8wd6rO9yau7KaZh1/fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOOy-00DwTj-Hy; Wed, 14 Sep 2022 09:09:49 +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 1oYOB9-00Dkrx-JV; Wed, 14 Sep 2022 08:55:34 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145710; cv=none; d=zohomail.com; s=zohoarc; b=N7z0aGEDn+0EwDA/Ajf3aOtLqdY5lJjAnszbXSoNbjDcezB8GBf5rBpa7uosirgbDyWSY3LykMOw3ELlDbgxnTb79lnhWFTrL5QuaYheaN4pHaK2bsl6vfEpf35LMlznqQ29mAQQNc205vGighBBW5+mjKkEIL320wNgG0yMqp8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145710; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=X/Wt+Y94rMwALGSEACdcswFA6kDWzirCzDRw4TCsfoc=; b=cCcXaAgU27pO/7t3PgKvWrnmg86uyGJrOF5E8F9lHKPKGS18hZOroRgr8EkcOAfEV/kdeZsNch1hSYnZhaH4yzyRnK/wdVNdoMY0Lf/oVTPM8YvBxC+s3QmFKuIiD1APnIN5T1rPXHgWZSvygDWdKIHFeGO4LOA/F4wfetVFXPI= 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=1663145710; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=X/Wt+Y94rMwALGSEACdcswFA6kDWzirCzDRw4TCsfoc=; b=LYyKqjUsaA8jZaKODD58+cY+MUE+CWTCXZMiGnkwmEm5CQ4YxVICll0S/87yQwz1 mC3LQ4i+p3A//oSNLTJpl5hudeOIr7tlxvY3XAEwlF3woUiPfo5z+4eY4TGeYATet6o yY+x4c7t8M1jMuAY/bPiLlHD7SSo9xK+UOXk6Fvk= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145707927783.0802898179184; Wed, 14 Sep 2022 01:55:07 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 01/10] dt-bindings: net: drop old mediatek bindings Date: Wed, 14 Sep 2022 11:54:42 +0300 Message-Id: <20220914085451.11723-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015531_784095_1C4140BA X-CRM114-Status: GOOD ( 15.17 ) 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 these old mediatek bindings which are not used. Signed-off-by: Arınç ÜNAL Acked-by: Rob Herring --- .../bindings/net/mediatek,mt7620-gsw.txt | 24 -------- .../bindings/net/ralink,rt2880-net.txt | 59 ------------------- .../bindings/net/ralink,rt3050-esw.txt | 30 ---------- 3 files changed, 113 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt delete mode 100644 Documentation/devicetree/bindings/net/ralink,rt2880-net.txt delete mode 100644 Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt diff --git a/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt b/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt deleted file mode 100644 index 358fed2fab43..000000000000 --- a/Documentation/devicetree/bindings/net/mediatek,mt7620-gsw.txt +++ /dev/null @@ -1,24 +0,0 @@ -Mediatek Gigabit Switch -======================= - -The mediatek gigabit switch can be found on Mediatek SoCs (mt7620, mt7621). - -Required properties: -- compatible: Should be "mediatek,mt7620-gsw" or "mediatek,mt7621-gsw" -- reg: Address and length of the register set for the device -- interrupts: Should contain the gigabit switches interrupt -- resets: Should contain the gigabit switches resets -- reset-names: Should contain the reset names "gsw" - -Example: - -gsw@10110000 { - compatible = "ralink,mt7620-gsw"; - reg = <0x10110000 8000>; - - resets = <&rstctrl 23>; - reset-names = "gsw"; - - interrupt-parent = <&intc>; - interrupts = <17>; -}; diff --git a/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt b/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt deleted file mode 100644 index 9fe1a0a22e44..000000000000 --- a/Documentation/devicetree/bindings/net/ralink,rt2880-net.txt +++ /dev/null @@ -1,59 +0,0 @@ -Ralink Frame Engine Ethernet controller -======================================= - -The Ralink frame engine ethernet controller can be found on Ralink and -Mediatek SoCs (RT288x, RT3x5x, RT366x, RT388x, rt5350, mt7620, mt7621, mt76x8). - -Depending on the SoC, there is a number of ports connected to the CPU port -directly and/or via a (gigabit-)switch. - -* Ethernet controller node - -Required properties: -- compatible: Should be one of "ralink,rt2880-eth", "ralink,rt3050-eth", - "ralink,rt3050-eth", "ralink,rt3883-eth", "ralink,rt5350-eth", - "mediatek,mt7620-eth", "mediatek,mt7621-eth" -- reg: Address and length of the register set for the device -- interrupts: Should contain the frame engines interrupt -- resets: Should contain the frame engines resets -- reset-names: Should contain the reset names "fe". If a switch is present - "esw" is also required. - - -* Ethernet port node - -Required properties: -- compatible: Should be "ralink,eth-port" -- reg: The number of the physical port -- phy-handle: reference to the node describing the phy - -Example: - -mdio-bus { - ... - phy0: ethernet-phy@0 { - phy-mode = "mii"; - reg = <0>; - }; -}; - -ethernet@400000 { - compatible = "ralink,rt2880-eth"; - reg = <0x00400000 10000>; - - #address-cells = <1>; - #size-cells = <0>; - - resets = <&rstctrl 18>; - reset-names = "fe"; - - interrupt-parent = <&cpuintc>; - interrupts = <5>; - - port@0 { - compatible = "ralink,eth-port"; - reg = <0>; - phy-handle = <&phy0>; - }; - -}; diff --git a/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt b/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt deleted file mode 100644 index 87e315856efa..000000000000 --- a/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt +++ /dev/null @@ -1,30 +0,0 @@ -Ralink Fast Ethernet Embedded Switch -==================================== - -The ralink fast ethernet embedded switch can be found on Ralink and Mediatek -SoCs (RT3x5x, RT5350, MT76x8). - -Required properties: -- compatible: Should be "ralink,rt3050-esw" -- reg: Address and length of the register set for the device -- interrupts: Should contain the embedded switches interrupt -- resets: Should contain the embedded switches resets -- reset-names: Should contain the reset names "esw" - -Optional properties: -- ralink,portmap: can be used to choose if the default switch setup is - llllw or wllll -- ralink,led_polarity: override the active high/low settings of the leds - -Example: - -esw@10110000 { - compatible = "ralink,rt3050-esw"; - reg = <0x10110000 8000>; - - resets = <&rstctrl 23>; - reset-names = "esw"; - - interrupt-parent = <&intc>; - interrupts = <17>; -}; From patchwork Wed Sep 14 08:54:43 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: 12975883 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 6CFADECAAD3 for ; Wed, 14 Sep 2022 09:14:13 +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=/XfdSWz6KO9JabBj37PNLDVXOPF6y07xP+195TzW77Q=; b=D45IBuZMz6eDDa aBUz2qVxdKQrN2x4Yp1QmQ6CUhrrrCQQkJEAL3qX8KT0HOc0U4c78jePYx0kJ0uCNXRw30vf/FSXC y0rtDDwMACJlUYs2Y+VZ8S7ogo7n7GLqxUVd2uIYQ6nYVmGcRqV62wwARlp9mKVlB8tTb6vZJ6td6 VUnpAjwzw4qsp36wAapuA8KUPjHf+QaxokLabER3d/lRaQ00HB5+vqwa2kGg0Pwi0OaKYq3Q+v2Fw ++jlwnhvxzHUtyiejrYEIxfDNCMNL+i0up/6ZJ5n1NHEMbsUsEZiSCi242n2R/7DN6ZCyX7LmC8jt lgN7W4XpN21E0MHrvEXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOS5-00E09z-8U; Wed, 14 Sep 2022 09:13:01 +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 1oYOBT-00Dl4M-11; Wed, 14 Sep 2022 08:55:52 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145716; cv=none; d=zohomail.com; s=zohoarc; b=dnIFahyM0IisMC8N0DtTazUfCcWYsEENXNGipecNC6GPYrLsfm5DKi8z2ig/iEh/pLaZgjTpFgHvcPzwjR1AgF56RLjmvGR5g/dadAkzrDyBzjEsFHvm/dyeudS2kBX1CjDRynOzskVVOjBazN5i9Vxvki5ny7eKXrzUwd+dal4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145716; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gW2h2omwaqsEc8eIL1oqekJ7kF0Gj5PZa7ThxS1nMEo=; b=WrUpT0z2dmZpiUr2xkzUIhLL9aLMqqnmxTABawtER015c0tFbu2UAiT1i3gbVQYuVtyqwf/FRQa9oo2FuI6oF0hgsKgu4c2ycM4cpnRfbMI6Lvx3aqWhrcKkKnb1louGsor0yQgkO/JWJwZf54yJ3kqFMeJD8D0OmA9L5Rpy83c= 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=1663145716; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=gW2h2omwaqsEc8eIL1oqekJ7kF0Gj5PZa7ThxS1nMEo=; b=BRaCg04LH58aSEuT68+BF4QrsDJKoxjONHtarrYBpGDcIvNfHnk5lZ8pypIT3msD LQvgODEuAUhGFrVXi6IRvs0BPUvYBAyAaVElWenD6oNVwWtmS+1xcgwyFuNmrBjn4KD 7S9Jv8NiJ7TgFv8lBWLJc8q4eDtJO3gr90BkOMOk= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145713714881.9487168174912; Wed, 14 Sep 2022 01:55:13 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= , Sungbo Eo Subject: [PATCH 02/10] dt-bindings: net: dsa: mediatek,mt7530: change mt7530 switch address Date: Wed, 14 Sep 2022 11:54:43 +0300 Message-Id: <20220914085451.11723-3-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015551_165223_F62122C5 X-CRM114-Status: GOOD ( 11.32 ) 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 In the case of muxing phy0 of the MT7530 switch, the switch and the phy will have the same address on the mdio bus, 0. This causes the ethernet driver to fail since devices on the mdio bus cannot share an address. Any address can be used for the switch, therefore, change the switch address to 0x1f. Suggested-by: Sungbo Eo Signed-off-by: Arınç ÜNAL Acked-by: Rob Herring --- .../bindings/net/dsa/mediatek,mt7530.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index f9e7b6e20b35..2c73d13adf14 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -294,9 +294,9 @@ examples: #address-cells = <1>; #size-cells = <0>; - switch@0 { + switch@1f { compatible = "mediatek,mt7530"; - reg = <0>; + reg = <0x1f>; reset-gpios = <&pio 33 0>; @@ -356,9 +356,9 @@ examples: #address-cells = <1>; #size-cells = <0>; - switch@0 { + switch@1f { compatible = "mediatek,mt7530"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <ðsys MT2701_ETHSYS_MCM_RST>; @@ -486,9 +486,9 @@ examples: #address-cells = <1>; #size-cells = <0>; - switch@0 { + switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; @@ -573,9 +573,9 @@ examples: reg = <4>; }; - switch@0 { + switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; @@ -664,9 +664,9 @@ examples: phy-mode = "rgmii"; }; - switch@0 { + switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; @@ -745,9 +745,9 @@ examples: phy-mode = "rgmii"; }; - switch@0 { + switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; From patchwork Wed Sep 14 08:54:44 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: 12975870 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 7E9BDECAAD8 for ; Wed, 14 Sep 2022 09:11: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: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=iYzQwmzSsZwvJvYgq1mCAryt/3Zswk6QON0xpYBuFA0=; b=e++vVA2g5cyUTm hM0ceukPcUpuoTijAY4Fk+3UlQzqZv/V8eGph4RUXL2UHHnl6ykiBh65iv9FyNG0a4zjlYmLl/M8P dbrFNUmThP1/nrVTg9LsNMBRyLOFsfn6sPksZfPFrVpHCpNV4Vn3Cc+AEgAtIsQTOcNRGItOWtGkW 144VOjJre072CXdPG++IwI0ZQgUbzQJFvcS6CZtZRngTgL4lPYjY08lxwV9IytTWEMObpi2HMrjgz QkEJ5JBzwBNXj6fsUa7I6wpsd8aySMrjEEdu5mrFh8NJpq/BhyhA8JAt3LY38KiK8vxbOyfNA3tyB M0x5thF3Bufhz4LCWcNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOPd-00DxEO-Eu; Wed, 14 Sep 2022 09:10:30 +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 1oYOBH-00Dkxc-Er; Wed, 14 Sep 2022 08:55:41 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145720; cv=none; d=zohomail.com; s=zohoarc; b=agcuuF3mWDPU110LEP0IFmUH9nGR+C2iIgWwzM2wWCMZERVpiWXz6VLzjUessI3mNube8XYZoUnIkAJA7CY/IzAKBqDlZElD+py3qcIUAKTPQcpzp3hP+/kmBHlFQK1tZv8c5xdhzeocfNQ9qBoiZISvA4u8idtSWOqXUAOlgGc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145720; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=wLYBPygnnLliGka60fg9i7wMdcBY+h75qIvfjVPo2mU=; b=gpiJzQjAkZqcNt2oArpK+gsFedt42w82O/FZxK8ZiqU9uZJsMKUx0d93aNXAicmtccoWoLpQ24h/eJrbotGga22G5klxw2xCOWRk+rRTp+rjx56jHp8uIMCDP9G8c4CvyW4ePrTJ2C1ao7gjBVxsFwJEoeKk4mSU0R/vbvTWar4= 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=1663145720; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=wLYBPygnnLliGka60fg9i7wMdcBY+h75qIvfjVPo2mU=; b=TEJhvi81a/KYLbwu0kFzkKEIfiekXzyiG4bPDssqGEQCB0k/3odwkaKonzPxPejv 22hh3n/txeb2QuAbBYAKPpucdPdYtEXaTK1Nm5mItnNF4EUiOwBPgvgZSxlXlayUFIW Hhu7tJzL/vpPplrPaLP0MqkPLSwgZ4bw9oX/llew= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145719219338.22706013659763; Wed, 14 Sep 2022 01:55:19 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 03/10] dt-bindings: net: dsa: mediatek,mt7530: expand gpio-controller description Date: Wed, 14 Sep 2022 11:54:44 +0300 Message-Id: <20220914085451.11723-4-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015539_710418_728D03F1 X-CRM114-Status: GOOD ( 10.08 ) 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 Expand the description of the gpio-controller property to include the controllable pins of the MT7530 switch. The gpio-controller property is only used for the MT7530 switch. Therefore, invalidate it for the MT7531 switch. Signed-off-by: Arınç ÜNAL Acked-by: Rob Herring --- .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml index 2c73d13adf14..3ec4fffec780 100644 --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml @@ -104,7 +104,14 @@ properties: gpio-controller: type: boolean description: - If defined, MT7530's LED controller will run on GPIO mode. + If defined, LED controller of the MT7530 switch will run on GPIO mode. + + There are 15 controllable pins. + port 0 LED 0..2 as GPIO 0..2 + port 1 LED 0..2 as GPIO 3..5 + port 2 LED 0..2 as GPIO 6..8 + port 3 LED 0..2 as GPIO 9..11 + port 4 LED 0..2 as GPIO 12..14 "#interrupt-cells": const: 1 @@ -272,6 +279,7 @@ allOf: then: $ref: "#/$defs/mt7531-dsa-port" properties: + gpio-controller: false mediatek,mcm: false - if: From patchwork Wed Sep 14 08:54:45 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: 12975881 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 DA8D7ECAAD8 for ; Wed, 14 Sep 2022 09:12:39 +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=seF65kPy23UvXYo2YZa2gyKPMYhfG8fF4PJrZmE6RpI=; b=pqTKl4T1GEGnfu yAgWST0cx8V/9QKcA5u5IEqkQO2OpDCM3pmUpGomJFoqmsy2hH3E47waclaEJybLCRFSmEK4WMkd/ DRJcHu0lUIWcYlCnIymSux5JHoKvWIIXruJ4ttg12mIi1awWEq1uPWZK0GmNig9SZvcyA8XvXhArA +/uEqbXNVopjQNuXrrgHny8HlOnAbD6seAyT7Ht7yjsm42f4sOz2FcZEzemMBmNPe6OAhXw0Ol8H0 SOuZTJgmn2maQzl8IUGOvHbk1ClEFjvElxk+ryrcz1wVXTtyXXyIzQccz/CD9YC953eY+S/DSSuM+ O6QXXmy5i/Ibpd7FzhrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOQV-00DyBn-7U; Wed, 14 Sep 2022 09:11:25 +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 1oYOBL-00DkzW-QG; Wed, 14 Sep 2022 08:55:45 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145726; cv=none; d=zohomail.com; s=zohoarc; b=ICKDQjUAhOLFVv/HjDOGzmAJz6nF18Dq9PkHoQt4pYdWNPez4NLWFh88k5jwCziRBSRdsCwZLvBnAL1ba/w/b4dxtYZxgPxUD2DkN72aZcjr835MlqGmR7lvXxpI4Ilvt1cm6bzpqsB949WMcBn/PLq0XLGwrp6P4HuwOJ5CiVg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145726; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OKLAhyPIS7u1j1ZgI5worLlV8YgMFCXUQ3FS/Nhbktk=; b=X3Z9AKHQasC8oyW2Otbfa5qt27yEtJO0gz4lT/uOUHipUFG59BdIg3PuzUwDbvmhGmAnyX2CwuaOCbrqXimmlR1SChO7VkHcGptDX2SD+uZuBQxt2/jdhnpfRqYqvNp7TvQBn+O0J/vLbQmky0kP+jp+eql/AwtFk8BRupJRumU= 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=1663145726; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=OKLAhyPIS7u1j1ZgI5worLlV8YgMFCXUQ3FS/Nhbktk=; b=QgbkSiplZPCP5/i+0PAkspRCysqPKZ/m76m0QSaJE6NKg9expeaAspAGyp45rwX+ 2foXHjCVmkXjsRVZezz6xN3Sn4SCILHrL6zjjACJPhOtea88jjf3RH0aVIEFt6t1Teh UBGgCG4R29+ZKBBd9VklQd144DIWYMT+0Q4WB/fE= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 16631457251941006.247763449766; Wed, 14 Sep 2022 01:55:25 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 04/10] dt-bindings: memory: mt7621: add syscon as compatible string Date: Wed, 14 Sep 2022 11:54:45 +0300 Message-Id: <20220914085451.11723-5-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015543_975313_C4A2BED4 X-CRM114-Status: GOOD ( 10.64 ) 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 Add syscon as a constant string on the compatible property as it's required for the SoC to work. Update the example accordingly. Fixes: 5278e4a181ff ("dt-bindings: memory: add binding for Mediatek's MT7621 SDRAM memory controller") Signed-off-by: Arınç ÜNAL Acked-by: Sergio Paracuellos --- .../bindings/memory-controllers/mediatek,mt7621-memc.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml b/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml index 85e02854f083..6ccdaf99c778 100644 --- a/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: mediatek,mt7621-memc + items: + - const: mediatek,mt7621-memc + - const: syscon reg: maxItems: 1 @@ -25,6 +27,6 @@ additionalProperties: false examples: - | memory-controller@5000 { - compatible = "mediatek,mt7621-memc"; + compatible = "mediatek,mt7621-memc", "syscon"; reg = <0x5000 0x1000>; }; From patchwork Wed Sep 14 08:54:46 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: 12975882 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 22C43ECAAD8 for ; Wed, 14 Sep 2022 09:13: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: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=EskVeEpmWYIdEmKsc28zGDUUediRSpeLKVLh3SMfWus=; b=3HhKLwOAeyaITy u6oAUONfX1q+J676d702Y7y6V2o+WN/7Y0oNKqKlIQ+7cag8TTFD5SCYh++/4AZOob/GRem7z8/nw 1MUzTELTW5Z0g9ovjyOMBWT8xSNZHaoUYB8CLt3D51NlvDJvkdIUrnjy1kl2IP8dR/fUxk4hMG4M5 IHwUbBtVw2AozLm0R5Oe1PRZTWYWWqrgJkYlvo9xWeQSvzRqjhvCHpmWTLs3knUHkSsrbqsrCC9yd OUJtlndf8ppGtMR/sa+lgUaTcHUsfidQXiQ4sN2pGeqVFDhNMrTu7+WyRuI2Sk+rm127pGg+hfzh+ 2DYTQ4Z1V3WloXbwXTFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYORX-00DzKf-FU; Wed, 14 Sep 2022 09:12:28 +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 1oYOBT-00Dl4L-EL; Wed, 14 Sep 2022 08:55:53 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145733; cv=none; d=zohomail.com; s=zohoarc; b=AoSBTWqQ39jMdawJUMN6V+Cl0FF7bMWFRIG/oEatTajK1kuQv5lExZHNStFm2XkU+acTYJekrJWKSYKraA+UHM4mAItRFHuuGSwzIfUHmd8QL2y4CxcngLL0/fsQk12cDISrDhlZrky3R1AASXZDS8VCXBL4by+XYBWHRUlQIBo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145733; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=yAKjMq/uUK9WZ8CnisN9As4Pk+9tXhXvBVyYrH2ZjnQ=; b=RG+PoUpkaGGxECzyQrpf4ygLaoiqPxbkQMWDS91pZ36b32x929DxFmwNtL08kUmHtq7FXvbTKLODWN7fJXsUUnTCodomomy8IakRMthiGeUpP7xHIhMD9wdj2QXbDl4qwVafjQpbXNF2b5UEAyrlak+UuqbHBzI/+2bCM/tvGto= 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=1663145733; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=yAKjMq/uUK9WZ8CnisN9As4Pk+9tXhXvBVyYrH2ZjnQ=; b=jfKnSJunLzTND9Hq/5TTo8MGc0iZZZwSXwE5/eMNAIoD5pVSpJfIXEnnA05CuGxW a44/hv0XiVKmkMl6jFeBs5c1s2LHOsFrnAsDhWv8AvEBnTRA94K5KlDYCY9/ltdBrcT eW7fUQqZPxMENUirNlVCXcRRWCl/y6lmCsfK7SSs= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145731156740.504015969723; Wed, 14 Sep 2022 01:55:31 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 05/10] mips: dts: ralink: mt7621: fix some dtc warnings Date: Wed, 14 Sep 2022 11:54:46 +0300 Message-Id: <20220914085451.11723-6-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015551_607189_67B96EF2 X-CRM114-Status: GOOD ( 12.80 ) 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 Fix the dtc warnings below. /cpus/cpu@0: failed to match any schema with compatible: ['mips,mips1004Kc'] /cpus/cpu@1: failed to match any schema with compatible: ['mips,mips1004Kc'] uartlite@c00: $nodename:0: 'uartlite@c00' does not match '^serial(@.*)?$' From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/serial/8250.yaml uartlite@c00: Unevaluated properties are not allowed ('clock-names' was unexpected) From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/serial/8250.yaml sdhci@1e130000: $nodename:0: 'sdhci@1e130000' does not match '^mmc(@.*)?$' From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/mmc/mtk-sd.yaml sdhci@1e130000: Unevaluated properties are not allowed ('bus-width', 'cap-mmc-highspeed', 'cap-sd-highspeed', 'disable-wp', 'max-frequency', 'vmmc-supply', 'vqmmc-supply' were unexpected) From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/mmc/mtk-sd.yaml xhci@1e1c0000: $nodename:0: 'xhci@1e1c0000' does not match '^usb(@.*)?' From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml xhci@1e1c0000: compatible: ['mediatek,mt8173-xhci'] is too short From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml switch0@0: $nodename:0: 'switch0@0' does not match '^(ethernet-)?switch(@.*)?$' From schema: /home/arinc9/Documents/linux/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml port@1: status:0: 'off' is not one of ['okay', 'disabled', 'reserved'] From schema: /home/arinc9/.local/lib/python3.10/site-packages/dtschema/schemas/dt-core.yaml port@2: status:0: 'off' is not one of ['okay', 'disabled', 'reserved'] From schema: /home/arinc9/.local/lib/python3.10/site-packages/dtschema/schemas/dt-core.yaml port@3: status:0: 'off' is not one of ['okay', 'disabled', 'reserved'] From schema: /home/arinc9/.local/lib/python3.10/site-packages/dtschema/schemas/dt-core.yaml - Remove "mips,mips1004Kc" compatible string from the cpu nodes. This doesn't exist anywhere. - Change "memc: syscon@5000" to "memc: memory-controller@5000". - Change "uartlite: uartlite@c00" to "serial0: serial@c00" and remove the aliases node. - Remove "clock-names" from the serial0 node. The property doesn't exist on the 8250.yaml schema. - Change "sdhci: sdhci@1e130000" to "mmc: mmc@1e130000". - Change "xhci: xhci@1e1c0000" to "usb: usb@1e1c0000". - Add "mediatek,mtk-xhci" as the second compatible string on the usb node. - Change "switch0: switch0@0" to "switch0: switch@0" - Change "off" to "disabled" for disabled nodes. Remaining warnings are caused by the lack of json-schema documentation. /cpuintc: failed to match any schema with compatible: ['mti,cpu-interrupt-controller'] /palmbus@1e000000/wdt@100: failed to match any schema with compatible: ['mediatek,mt7621-wdt'] /palmbus@1e000000/i2c@900: failed to match any schema with compatible: ['mediatek,mt7621-i2c'] /palmbus@1e000000/spi@b00: failed to match any schema with compatible: ['ralink,mt7621-spi'] /ethernet@1e100000: failed to match any schema with compatible: ['mediatek,mt7621-eth'] Signed-off-by: Arınç ÜNAL --- .../boot/dts/ralink/mt7621-gnubee-gb-pc1.dts | 2 +- .../boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 2 +- arch/mips/boot/dts/ralink/mt7621.dtsi | 32 +++++++------------ 3 files changed, 14 insertions(+), 22 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts index 24eebc5a85b1..6ecb8165efe8 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts @@ -53,7 +53,7 @@ system { }; }; -&sdhci { +&mmc { status = "okay"; }; diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts index 34006e667780..2e534ea5bab7 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts @@ -37,7 +37,7 @@ key-reset { }; }; -&sdhci { +&mmc { status = "okay"; }; diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index ee46ace0bcc1..9302bdc04510 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -15,13 +15,11 @@ cpus { cpu@0 { device_type = "cpu"; - compatible = "mips,mips1004Kc"; reg = <0>; }; cpu@1 { device_type = "cpu"; - compatible = "mips,mips1004Kc"; reg = <1>; }; }; @@ -33,11 +31,6 @@ cpuintc: cpuintc { compatible = "mti,cpu-interrupt-controller"; }; - aliases { - serial0 = &uartlite; - }; - - mmc_fixed_3v3: regulator-3v3 { compatible = "regulator-fixed"; regulator-name = "mmc_power"; @@ -110,17 +103,16 @@ i2c: i2c@900 { pinctrl-0 = <&i2c_pins>; }; - memc: syscon@5000 { + memc: memory-controller@5000 { compatible = "mediatek,mt7621-memc", "syscon"; reg = <0x5000 0x1000>; }; - uartlite: uartlite@c00 { + serial0: serial@c00 { compatible = "ns16550a"; reg = <0xc00 0x100>; clocks = <&sysc MT7621_CLK_UART1>; - clock-names = "uart1"; interrupt-parent = <&gic>; interrupts = ; @@ -236,7 +228,7 @@ pinmux { }; }; - sdhci: sdhci@1e130000 { + mmc: mmc@1e130000 { status = "disabled"; compatible = "mediatek,mt7620-mmc"; @@ -262,8 +254,8 @@ sdhci: sdhci@1e130000 { interrupts = ; }; - xhci: xhci@1e1c0000 { - compatible = "mediatek,mt8173-xhci"; + usb: usb@1e1c0000 { + compatible = "mediatek,mt8173-xhci", "mediatek,mtk-xhci"; reg = <0x1e1c0000 0x1000 0x1e1d0700 0x0100>; reg-names = "mac", "ippc"; @@ -338,7 +330,7 @@ fixed-link { gmac1: mac@1 { compatible = "mediatek,eth-mac"; reg = <1>; - status = "off"; + status = "disabled"; phy-mode = "rgmii-rxid"; }; @@ -346,7 +338,7 @@ mdio: mdio-bus { #address-cells = <1>; #size-cells = <0>; - switch0: switch0@0 { + switch0: switch@0 { compatible = "mediatek,mt7621"; reg = <0>; mediatek,mcm; @@ -362,31 +354,31 @@ ports { #size-cells = <0>; port@0 { - status = "off"; + status = "disabled"; reg = <0>; label = "lan0"; }; port@1 { - status = "off"; + status = "disabled"; reg = <1>; label = "lan1"; }; port@2 { - status = "off"; + status = "disabled"; reg = <2>; label = "lan2"; }; port@3 { - status = "off"; + status = "disabled"; reg = <3>; label = "lan3"; }; port@4 { - status = "off"; + status = "disabled"; reg = <4>; label = "lan4"; }; From patchwork Wed Sep 14 08:54:47 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: 12975884 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 37D65ECAAD8 for ; Wed, 14 Sep 2022 09:15:21 +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=snNF4ex58M9pcPlccduggYQekdFleii50XywIhPe9RQ=; b=aqqUQ92D8BneIS pUojdgGgB36wpA53XlCqflDCyJ5HkPsGvQA7G+77ZxX5O9dSowgR7yI3gE//5kyRVq949cm9QMgZa uiXUdyvNwsqkTpptsKAoVEf+5LTlLZ9LjffjumYdR78SCkLIgrg7Z+GMqD4MEESQUUH5JfKPZGxVs SuHFk7RBBOD3Mh41ImykmOLAclvO3E5oiWjdmWl1q8RMb75Z0Lxah8tfOxZ5C1vug8iLZw3+E/ncN j6uH90aEtd24Cy5tfzk4egTRhm0v7Y+KJF2JiSX7BwKi/g9CW4Yz3haICIk/b5//whU0CLwCvFxdL Igx2YtSGcAHiIKoy9uDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOT8-00E1Cg-7y; Wed, 14 Sep 2022 09:14:06 +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 1oYOBb-00Dl9S-Oi; Wed, 14 Sep 2022 08:56:01 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145739; cv=none; d=zohomail.com; s=zohoarc; b=ltoEjcbZu+opUCeFag1Q3m7T+Wvgafb9HBaXi1x0kMcJXQCpqDkknwg/Sz+n4EDN5wBPEsYgwyiJtOuevJOU66maHNCz13IqUuQ+JDY9k3NfACIuZTkXDTatC1RzpRlpVvQobtJ/059fc1iMyKdTk832yVA1HwM2IKVc4oMoggQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145739; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=NobuUIDGzyuidvw+6ptTtuOVjxh1cmrEHK3JsUmEAlI=; b=D6YppVTMq1IKIFBBHO51zYCXPUDbmljIhtc+W+2ghJGl8pkjUgv+wE5s3Hjy8cPIBxA9p3WuObaZmRdPckABcjTYRWpadUxMMeet8PuSCymiOQFkt88lFFrBpmaeJcFlDJ5wqZ+mA7h9W2xtTmX+dKlEy8DJL48usAdJbWBubmo= 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=1663145739; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=NobuUIDGzyuidvw+6ptTtuOVjxh1cmrEHK3JsUmEAlI=; b=d9d6wRiqyFYSNwC13megxI0ulVgIr/OK5BuklH6+pELdxYqUZ6cw9DAjGb7ICG/i KDsGKbl2SDDvS3/ruCcef+IFCpyeZNAAfUUXadlJdi7ro2hwBxoxrjQT2So9ZKVLzB4 +O+sE0g7VcVBW71Y3AaliQylY+wE21VxB7NIswYg= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145736632721.7554876765212; Wed, 14 Sep 2022 01:55:36 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 06/10] mips: dts: ralink: mt7621: remove interrupt-parent from switch node Date: Wed, 14 Sep 2022 11:54:47 +0300 Message-Id: <20220914085451.11723-7-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015600_023506_07D25B14 X-CRM114-Status: UNSURE ( 9.35 ) 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 The interrupt-parent property is inherited from the ethernet node as it's a parent node of the switch node. Therefore, remove the unnecessary interrupt-parent property from the switch node. Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- arch/mips/boot/dts/ralink/mt7621.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 9302bdc04510..e9203fec3fdf 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -346,7 +346,6 @@ switch0: switch@0 { reset-names = "mcm"; interrupt-controller; #interrupt-cells = <1>; - interrupt-parent = <&gic>; interrupts = ; ports { From patchwork Wed Sep 14 08:54:48 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: 12975885 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 2DF3CECAAD3 for ; Wed, 14 Sep 2022 09:16:12 +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=RiKPfbj5XLe2eZd29d3O7xGOdMuDdKZf9fnGxoZgyhg=; b=jfWNoSN5ozbSU/ kkygJr9W4UBidZ6Wf3f6lnkbUObkgfgZvU+xAjLzN+CgU4YRBXalcOG7SLum0v5Y/tCvRvjwFVbs0 yATmqlSIJVUGV9MB75XJwozRgJsonX9Ft7wyBi7En+kXeCOcId7xSrQnDy07IAHMgcgGPSFR7IZuD eHzSVZP9bxE2gFTAHrqAoaAt4GI4mFIHKRSWqTX/MNQL9bP5YrRfh+hNspi5GlAukuylMEJtifiHs eAA7VvzuwVmpay2+njTahTia9dna8tuVdG7OjMyn6OklIUJOQYwXDzrEJI9/bKbUwhcCjT6nke6SN pL2N1hb3pw/e8ASQUhnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOTx-00E1t4-5w; Wed, 14 Sep 2022 09:14:58 +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 1oYOBf-00DlBy-MU; Wed, 14 Sep 2022 08:56:05 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145743; cv=none; d=zohomail.com; s=zohoarc; b=GjnD/y1nylC/ssjzFpVpPgdfXJVt4IOmCh4dphXfnj1utdaw0Y5tZeUvKcrkoWrnzqtUibI/Z6DQwrNPZCPGHbvaN9XGc86T4cFIkAWjFXiWPyaR9x8R4n3xkKYD9rJ6/4//9APerL8OAL7gJDZwfqrUUUYyYBTw+Ni1EtB6rcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145743; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=R4ALxyq+RBO+GV4tDQQ/4ssUEgJ4SrRXCbUkyXnabqQ=; b=ZzI6c/QZK60dvXNtj+mJtMSP5z4Rl4zsYvPDN7MZo/slVfN4cCXcT0VkeIyUpwzn8PR+EMpIQhUTjI4ruzv+6rHvnLP6UnzHQ/eg0FxCvRVWT4nNWTpEHlt89rgg630T3bOj1UeqDs99UhLrMqD8x2L3bOIKTClutF2COiAU2k8= 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=1663145743; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=R4ALxyq+RBO+GV4tDQQ/4ssUEgJ4SrRXCbUkyXnabqQ=; b=VPs+Zc6RO2GsjBVWKHAqCOqXgRK8rB77QUJ289Xy0zX7RZhXSdVqAE7EPTI9iGKd dfO8w//p0+cgI+FKhViuOr2FcwElL5zCRdQsfIIKK20EhWEmK+LP9kE0hQ9D9jHiupW p0+W9Iaz/80cLz8eLrvuf3G1eAg4EbPtQ7WVywaI= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145742438887.9640433477236; Wed, 14 Sep 2022 01:55:42 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 07/10] mips: dts: ralink: mt7621: change phy-mode of gmac1 to rgmii Date: Wed, 14 Sep 2022 11:54:48 +0300 Message-Id: <20220914085451.11723-8-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015603_928284_FB36EDEF X-CRM114-Status: GOOD ( 11.32 ) 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 Change phy-mode of gmac1 to rgmii on mt7621.dtsi. Same code path is followed for delayed rgmii and rgmii phy-mode on mtk_eth_soc.c. Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- arch/mips/boot/dts/ralink/mt7621.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index e9203fec3fdf..50799bb1cc5d 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -331,7 +331,7 @@ gmac1: mac@1 { compatible = "mediatek,eth-mac"; reg = <1>; status = "disabled"; - phy-mode = "rgmii-rxid"; + phy-mode = "rgmii"; }; mdio: mdio-bus { From patchwork Wed Sep 14 08:54:49 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: 12975895 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 1BB8AECAAD8 for ; Wed, 14 Sep 2022 09:17: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: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=IdERitgqyXBKn8e3hKiCHJ/zZx0wartZYfNT0O7wwqg=; b=CSxs0sXHVBRuYT KxQvMM251y3NOLna2tlSrljyQWYGktJVE5vvS9bB5xP6SYA/vcNV8JqcSEXhLbkCM2sszrUw3URkt EThiixX4CwJ/qAWnLY6r0jeAposGrQvlPGi9UWNtrgHyS5LRGaQUBn/+vcCEDBpEcZji/vgn6ihIE Z7GQ0VBCOwoAEBd7fX5gOgKXNci+HptiKFyz1Kjy9sfEh62SoPr6lJTzD+jrqr9eAg8eIEv95IVif vrqjPYX3WSRuJDB+R1KjNJDMoZ/ZtP+pFqbwa5OH94tCbEP5eVm6o3DNnEs+yeCemHiLyOjO3JT8O iuD0nZ+bfk5yW+JQf53w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOVf-00E3T8-Rf; Wed, 14 Sep 2022 09:16:44 +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 1oYOBr-00DlFo-EK; Wed, 14 Sep 2022 08:56:16 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145749; cv=none; d=zohomail.com; s=zohoarc; b=mHfjN647zj3jluXInpvQq24rjh9/t1GQPh7RyL8u36AgIbtLxoLOJow5agnK2dtoSV88w8Sh8JJYDQLCMkIHcecxX7+WXDemC/urtjR5qxdzRCrq6fY/K18GMMywNAwk0dwkD3nBoivERY8vKHRNeMJWaBqOYaMhWqLfc8Y+ItA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145749; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7DlB2p/FOQtGMjYXmLdhrWgW0oQFWSLLmhIHeOWpKoY=; b=KQEcwTkNW58NM6GNKLY9wPOV3t6QJHYtOvotC0owouLUivEKfJO4R7fxEfzbqsZAwx2nrUEs2pcfrWYu/7XSQAu6IUemBPB8T+FKGBWdpflAYwHcS8L2NeQzM5MAGZ8UE9yMNNcOHn7+eYHNOjPEY7K5b13h3Ce/t7o4lh6cvww= 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=1663145749; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=7DlB2p/FOQtGMjYXmLdhrWgW0oQFWSLLmhIHeOWpKoY=; b=eTcBj5/w6kgPIPJdO6DazqtUoSSzpPtGfckUfcqre1VI/c14AiTz0+IL9tIIWZCl TxVckcqDKleqZlmZCP0sPeMsqKVZsFPzG8iQuU6iyyXZT0NmougZuBhtJZhrWLlBuFe s3JGPmFvlPmK85JCBhhKj+ATaEt8NXIEwHbo3Qvg= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145748228839.2714814543557; Wed, 14 Sep 2022 01:55:48 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= , Sungbo Eo Subject: [PATCH 08/10] mips: dts: ralink: mt7621: change mt7530 switch address Date: Wed, 14 Sep 2022 11:54:49 +0300 Message-Id: <20220914085451.11723-9-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015615_602429_F9392C59 X-CRM114-Status: GOOD ( 12.55 ) 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 In the case of muxing phy0 of the MT7530 switch, the switch and the phy will have the same address on the mdio bus, 0. This causes the ethernet driver to fail since devices on the mdio bus cannot share an address. Any address can be used for the switch, therefore, change the switch address to 0x1f. Suggested-by: Sungbo Eo Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- arch/mips/boot/dts/ralink/mt7621.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 50799bb1cc5d..206078bd2284 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -338,9 +338,9 @@ mdio: mdio-bus { #address-cells = <1>; #size-cells = <0>; - switch0: switch@0 { + switch0: switch@1f { compatible = "mediatek,mt7621"; - reg = <0>; + reg = <0x1f>; mediatek,mcm; resets = <&sysc MT7621_RST_MCM>; reset-names = "mcm"; From patchwork Wed Sep 14 08:54:50 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: 12975886 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 B3FF6ECAAD3 for ; Wed, 14 Sep 2022 09:17:18 +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=GuD+lNGgDSUfj4O/11jVf+Yb7RSZXOQ5CAloa58sLlU=; b=xQcGVnpxfDH5UP w+eXhP0NAhG+Rl+6AIymqo4YretYFD7P1y8FFTTxTtFZ8Oh4ZhdaJhC14JIvH0une2uM25grul411 Rhej80cemLwUCOm3bTtGvTMjTmSpfPUGCetV/aph7nPf+G0MRGQPzx7uVs/hqOAf7R0mOzL359Xdw +34oBZr7yfSrI72AEzcv7P9p1yEjz6Ns0tGLlMF6xl3nxLK1bI7rpyaqAuj0ZVoNWYZqQ8uIYe9Is ppGHpazCaFGfEaGlVFgeNfWBVP7HN0f9XbamN4z/0sKFKBwZsi0plLAvzsmZ/Nr+Ns86/VK3uv8jX TDRIF01iFDa1tjRVoqHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOV0-00E2n0-2Z; Wed, 14 Sep 2022 09:16:02 +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 1oYOBq-00DlFc-UW; Wed, 14 Sep 2022 08:56:16 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145755; cv=none; d=zohomail.com; s=zohoarc; b=drNCMGnpaC1O37wVgp0Xcj2fLvoJG6WtISIPFVBgUFu+EfM7j6kmXmKSPDt9tOP7d5W1LG0XWaDQhnB8Zez74AanYcZZ4bhHl09kCF/FUuCJt5/a/DDyHbFV863D+b2Lx6YR7e1EaSeHXywU8IMUF6z8GmTmEb0A4gWrIjfA6V8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145755; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=cN/vVpd4kMo1dSKFcVUlYwkahGokSNXVTYI2UGNTrT8=; b=S+WXaArXB6gBrMvUlgGZhNILYDWedLz6iofh0M4Uf8E97EI0VP5TlIm7NjRiYlaozIYzWkQuGXE1lzlLPJyKllq4RZaCFGLILkmVOgd7vb2tX1jWjfXlKEz9ydkm/UmI0mHUpk5tLB5mp9cnwEqrKNByu4JQ4juB0ET9A3kR3j4= 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=1663145755; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=cN/vVpd4kMo1dSKFcVUlYwkahGokSNXVTYI2UGNTrT8=; b=MdOzQnoHOS3Cp0dljo2jMIBss584fLWC2inX5ArH+RWOhjOj1BzvLoaxrcMtdsGz yHPd3XapxmBU465Ndd1iBcmr1CO2Kv/U4y6ZoGnWhnd9NQ2PkzHeRdYFTy3zl58dBq5 oGEoyrvnhfljUy3e9InHFmD0O7Kz4EUERk7tgWds= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145753702140.0435409651668; Wed, 14 Sep 2022 01:55:53 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= Subject: [PATCH 09/10] mips: dts: ralink: mt7621: fix external phy on GB-PC2 Date: Wed, 14 Sep 2022 11:54:50 +0300 Message-Id: <20220914085451.11723-10-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015615_069874_F0D38A9C X-CRM114-Status: GOOD ( 11.01 ) 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 address of the external phy on the mdio bus is 5. Update the devicetree for GB-PC2 accordingly. Fixes: 5bc148649cf3 ("staging: mt7621-dts: fix GB-PC2 devicetree") Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts index 2e534ea5bab7..5f52193a4c37 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts @@ -83,12 +83,12 @@ &pcie { &gmac1 { status = "okay"; - phy-handle = <ðphy7>; + phy-handle = <ðphy5>; }; &mdio { - ethphy7: ethernet-phy@7 { - reg = <7>; + ethphy5: ethernet-phy@5 { + reg = <5>; phy-mode = "rgmii-rxid"; }; }; From patchwork Wed Sep 14 08:54:51 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: 12975896 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 02649ECAAD3 for ; Wed, 14 Sep 2022 09:19:07 +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=lCmF/rIK8q6VeYb5OKEtoyK9B8JivlGR7DnD++wNawg=; b=mlSv1j9o51ZHTK J3SuJ5/B2/Cxym6IIe+Pr2i1noUAdTzIGgsQKJQKckLs20an2yB2pbM3dDTq1jMXr3LwRyEn1hPBK HeO0t+7CljH07CUR/oEsmf00PeMlY9+68NJs8X7UfVQT/rqGa5BOrlAzubwo1eqKYES19C+pyzZSj FJGrqK2YnRkC2e+MBr980/Y/kbY9bfzCh7cDrr85MDlS7aS/crbGpvOasBTRf2q1bO64b1PzhQXK8 PxLJJILKweneAB4qupPUJftZt9x2RXuFmoDL39z5WruWM6+cBvsiAHnUPrQYBd3xYxt1u/z5ukjR1 d9Y5rUhR9nLMmKeJmxpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYOWj-00E4dN-6V; Wed, 14 Sep 2022 09:17:49 +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 1oYOBz-00DlIv-IT; Wed, 14 Sep 2022 08:56:25 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663145761; cv=none; d=zohomail.com; s=zohoarc; b=nZqifLZ/aXwKwsRNtbTiOD0tRfbk/Jo2ZiU+Ara/YqJ+GtgHiTANuipj4valKISwtuFoObgJxnvDST9IastTACE8w6j1ItD9TcpsCccIhYw3ozBCI/NI31y3uYmWLrIFBB8TefS2l25FXX/iiyd5JOgnp6AJEneVoUrajoqQ3OE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663145761; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OYuadvYwRoufJELqxg3IBnXQhwEEDyuwwHMx2BKxeC4=; b=CS2h+QmHaYqWaBTeWLeMsIShjn3h0TKJ2RnK79J2WkMVGuyw5NQOFxbQcsHjnYx+er73fwBgW/4n/cRTxvUOj8KtruApup9l1GL66RZ8p2Yi+yrJkCgOaSNkxnHttgwwaBN/fUaNyjyxGpGKhXa+gPbmbthba55dPb8nDvny8KM= 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=1663145761; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Reply-To; bh=OYuadvYwRoufJELqxg3IBnXQhwEEDyuwwHMx2BKxeC4=; b=OMlMOcK9l+h0geJ+/xhKCHDTFQU2x8tACsSPg/voz8Aq9/9JjDK9KRFH32MzLzrs LI1f4ljxr5eFofm3e86RPKrskYI0Qzg6hMl4JFlg4RxajtRdGTX8vYJcR+qZ8AgAISw IylcbphHclwU1aWTPrDcpXGlkFVCw4RRGYEtwE0Q= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663145759484287.7612353661906; Wed, 14 Sep 2022 01:55:59 -0700 (PDT) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Greg Kroah-Hartman , Sean Wang , Landen Chao , DENG Qingfang , Sergio Paracuellos , erkin.bozoglu@xeront.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?utf-8?b?QXI=?= =?utf-8?b?xLFuw6cgw5xOQUw=?= , Petr Louda Subject: [PATCH 10/10] mips: dts: ralink: mt7621: add GB-PC2 LEDs Date: Wed, 14 Sep 2022 11:54:51 +0300 Message-Id: <20220914085451.11723-11-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914085451.11723-1-arinc.unal@arinc9.com> References: <20220914085451.11723-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-20220914_015623_703001_E9E924E2 X-CRM114-Status: GOOD ( 11.44 ) 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 Add the missing LEDs for GB-PC2. The ethblack-green, ethblue-green, power and system LEDs weren't added previously, because they don't exist on the device schematics. Tests on a GB-PC2 by me and Petr proved otherwise. The i2c bus cannot be used on GB-PC2 as its pins are wired to LEDs instead, and GB-PC1 does not use it. Therefore, do not enable it on both devices. Link: https://github.com/ngiger/GnuBee_Docs/blob/master/GB-PCx/Documents/GB-PC2_V1.1_schematic.pdf Tested-by: Petr Louda Signed-off-by: Arınç ÜNAL Reviewed-by: Sergio Paracuellos --- .../boot/dts/ralink/mt7621-gnubee-gb-pc1.dts | 6 --- .../boot/dts/ralink/mt7621-gnubee-gb-pc2.dts | 42 ++++++++++++++++--- 2 files changed, 36 insertions(+), 12 deletions(-) diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts index 6ecb8165efe8..0128bd8fa7ed 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc1.dts @@ -20,12 +20,6 @@ chosen { bootargs = "console=ttyS0,57600"; }; - palmbus: palmbus@1e000000 { - i2c@900 { - status = "okay"; - }; - }; - gpio-keys { compatible = "gpio-keys"; diff --git a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts index 5f52193a4c37..7515555388ae 100644 --- a/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts +++ b/arch/mips/boot/dts/ralink/mt7621-gnubee-gb-pc2.dts @@ -20,12 +20,6 @@ chosen { bootargs = "console=ttyS0,57600"; }; - palmbus: palmbus@1e000000 { - i2c@900 { - status = "okay"; - }; - }; - gpio-keys { compatible = "gpio-keys"; @@ -35,6 +29,42 @@ key-reset { linux,code = ; }; }; + + gpio-leds { + compatible = "gpio-leds"; + + ethblack-green { + label = "green:ethblack"; + gpios = <&gpio 3 GPIO_ACTIVE_LOW>; + }; + + ethblue-green { + label = "green:ethblue"; + gpios = <&gpio 4 GPIO_ACTIVE_LOW>; + }; + + ethyellow-green { + label = "green:ethyellow"; + gpios = <&gpio 15 GPIO_ACTIVE_LOW>; + }; + + ethyellow-orange { + label = "orange:ethyellow"; + gpios = <&gpio 13 GPIO_ACTIVE_LOW>; + }; + + power { + label = "green:power"; + gpios = <&gpio 6 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + system { + label = "green:system"; + gpios = <&gpio 8 GPIO_ACTIVE_LOW>; + linux,default-trigger = "disk-activity"; + }; + }; }; &mmc {