From patchwork Thu Sep 15 06:55:33 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: 12976889 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 9F5A6ECAAA1 for ; Thu, 15 Sep 2022 06:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=vXrJMHWZBZIFJYtKNziRCM6Wm5cnqBcTTG0li//8+DQ=; b=muHSlxh51vc7amnZD+3fZ2pEY2 v8VYKW/Ck4H3a4RlHgMbDayXDErEkOxjLUiZZjns0JU7KOdTPtsA113xzra+k1ud+uZW4R+LAbirF vuYy4meatMcMJiCf4bkOUgHMODERSgE1tXzXvm36CUoPeew1105KC3EjsbnhQyW6fQyVYXEbXtaWX zN7PWjHleNK8MzAknRnq+b5Bm4jhI5dQs5p/veNxm1E0fnhk/2U5vFJvDoo6WO5uQMp7nxw1rT8qv bEhxBN+aYsapafhVTLJB8v4zf+5E0XTMz2T6cihOpNy+M4GlpAr6xw6WKy4IMUBVBOXUQKP4tXila Hj+r/CLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYioC-002KNM-5z; Thu, 15 Sep 2022 06:57:12 +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 1oYinS-002Jf7-Pe; Thu, 15 Sep 2022 06:56:28 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224968; cv=none; d=zohomail.com; s=zohoarc; b=e2icKsUf0wsB4KaBVYsC6A+gIk7g+pPtiEvh0YXRNUYdnW2ZEbzgU0Te2MxDPC9OJUED5zRF4jSw9bkqGtFwPTOtbgfj4d/sdrftmU9hAkx5aYuWUtZ5wMi4FU/Fa4ffZLa+xdWhHPTTeBRMk4S2XwD06scgB6gwSZBtncL2NZc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224968; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vXrJMHWZBZIFJYtKNziRCM6Wm5cnqBcTTG0li//8+DQ=; b=WWpqvc9yombtXGqiSeINkfT7epzViVXWtRzG+qQdp/+Y6tj/Lh8IkfBylFGh8feEt3cOaXe0HU3XskVtMaABePb4j+R+Pil3ZQka6XJuJ0QO157BARTSSVEe0ATzQ01Z4idKgCXCXSC3zjc+kG1V/39/wVgiycqFN0h+pRbtKC0= 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=1663224968; 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=vXrJMHWZBZIFJYtKNziRCM6Wm5cnqBcTTG0li//8+DQ=; b=cxHBea2p48/+6xnFIEI+BsYirW6x/RF7bH4t/WNm3JCNpWYhThSzewu8v5h4yX5Y XRQ2Z0Khmq8tr3LpmZKGkpIPP4fPSNLZgmoTfaKEhv6dsf2jaB79rmcl80Rz4wkqO/G Rk2/gKrMfcxC2Y98BWi0u7InAd/7UdVqzZCyH7PQ= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663224967540538.0025409946992; Wed, 14 Sep 2022 23:56: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=?= , Rob Herring Subject: [PATCH v2 net-next 01/10] dt-bindings: net: drop old mediatek bindings Date: Thu, 15 Sep 2022 09:55:33 +0300 Message-Id: <20220915065542.13150-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235626_899341_C7479CBB X-CRM114-Status: GOOD ( 15.04 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Thu Sep 15 06:55:34 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: 12976915 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 C4ED5ECAAD3 for ; Thu, 15 Sep 2022 06:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=mv8wnCQI8K+FkvB2ZahCjYMMUvp+WpG/VEtG06Ocnio=; b=TZCPN93eBPx9QJL882hACPI7yK SEcLjzSHOkEZFX04c8oc5gQTBIF2EhKWlN9nzk4HWkId1vSAR4Vky5oYX+nwyse87F9ILBcKBK2Mr pD7N7UWvnoLc1FcvuuNIefvQKsUmJfrsGe11Ie9ZbMIuSeUcmSpaUAPRRMjaNuf8DKFfrVSjVHtBi v9X9BZc4S+u8YgQm9ALYnFGO7/kBOn5jwRfJ2knv2owdWHmDb+Vkv7m8lYU987v2tXlRMac+edTvT 5Zb9PkIQ4MdGqFK/AiqRND85EPdAenFE8PPdVXcGBzsvRlq7WNaKnTOkdqBriS1DKyo2d3bvHbLCw PpTVg4rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiq8-002LvE-GZ; Thu, 15 Sep 2022 06:59:12 +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 1oYinj-002K0S-FM; Thu, 15 Sep 2022 06:56:45 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224976; cv=none; d=zohomail.com; s=zohoarc; b=lmVH3MHzUFx3hmWfHOG3JTjPnXejGHWQzBS8HbgvFs6BB5iitXRgjjZpdkPP1Hj8m+E5wVIutC22QMvbXL1mvoxWhg1GAevnjYko5QKQc5IjC+VfFnAVvMchIugqPiDH+kAMfRl90fWq+AB0cDWpdPy+sHsz57lGifTNd8V2Aho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224976; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=mv8wnCQI8K+FkvB2ZahCjYMMUvp+WpG/VEtG06Ocnio=; b=Dkoy5QQBL8mofBomNSpbWWan0i1Yb7iJfP7i6OCgTWj6Mxqiz+jWRaYFLIF+2K6+ED26NJnFxRQ1oj9oF19polLj4xz4yBOIXXgPQJ9JovDAsZopX150+htGeW9YBmdWcXu4IUsy17m0krEjKppeB3xXU31WJAwB8SE5OQKTdi4= 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=1663224976; 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=mv8wnCQI8K+FkvB2ZahCjYMMUvp+WpG/VEtG06Ocnio=; b=UHdQSE2yvWww0kqVUZt1ddrBkdtv5ahRT+DZNhqEmPfa7AnjE7cuS8qDRnv7DaTv e7rviHdl15eAJHm3lEm8eO46Evginm+B30ejwnUaxy3DW6qOMYzG3AAwCMB/bS+hHFC qiFVH5iYtuQCyzOw9ck9xcsP6NoJnTG+2oPrnvG8= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663224973944582.5029729294455; Wed, 14 Sep 2022 23:56: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 , Rob Herring Subject: [PATCH v2 net-next 02/10] dt-bindings: net: dsa: mediatek,mt7530: change mt7530 switch address Date: Thu, 15 Sep 2022 09:55:34 +0300 Message-Id: <20220915065542.13150-3-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235643_578313_56FDB8D2 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Thu Sep 15 06:55:35 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: 12976914 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 208A4ECAAD3 for ; Thu, 15 Sep 2022 06:59:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=08pH7piTGTvh/ZeXP1Swxz+oCzEd8UkwdY3/1IA2wBY=; b=rGocLrQABH9r+Vna+NJem65302 xr+yzJSTiWT7fjLHhC5Iq9NNYDs0dtFkJGCjWf5nWbUwtn8qKSPgImvCoJ1z2dcDTYGzZOvQlWfzU vphIAU7s7ztLELRoeJaHctd62UQSW4Lm6frIBuFWpo7CDlOL/OVMGb76nE2DMeoosINDfkdWqAfyK nZqLWZhlxVdXR0hn9L/AHtyz4JqgFr1MSEenqcQXlCVOXDpDKWl8ky7wzntW4nXTYBFYYDA8VSaUO vTVgA6yAj56Yq4Gqrqdof64F2gKruUvG26AyOLoYR530Fr5EfBvYp7Y6/i+bCUSfxOQbLXv1FIyJ3 M0OdX9wQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiq2-002Lsa-O0; Thu, 15 Sep 2022 06:59: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 1oYini-002JwZ-Vc; Thu, 15 Sep 2022 06:56:44 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224982; cv=none; d=zohomail.com; s=zohoarc; b=R24zklqrI9qIqxk3259K6ZKoTBYLv5VUriWjfbj650S0zuD1nevO4jD144ZZQIO5nickNvvcShcsxjc5Wb4oah4SU3353GFzvSZvaLnC5enQZXQYIDBuGSgONCgTnak6TLx4JzHzotbiPZfoQLFnSOVaNsZP5JwcSV13QP1Ad68= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224982; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=08pH7piTGTvh/ZeXP1Swxz+oCzEd8UkwdY3/1IA2wBY=; b=k/5mYhqkjlHVaLB7S88jbmeY6ThLdTkUfv/NO5xbg4UUrZPlxASz8pEJ7ZVvG5Nxgu45NK4MNfN+/lcZ4sAtqOGGtHNUYl5iZSaNQyR1oVCch75/mdny36edeFsIJHCXECsmBs1WS61Ui24CUtECkVYMtYTyfFcuIBGmoM3cTtg= 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=1663224982; 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=08pH7piTGTvh/ZeXP1Swxz+oCzEd8UkwdY3/1IA2wBY=; b=dC3xBg86CXJrIBN8TVnijgnUioa+94YiC/h1Tvg1cx6l6uOLJSjhHCbdvsIarbo0 SdJTMoqTcppaXrMuAzI5Y791TAPdThaC/xokX/2E07osJpYN+gqpPEZj0fgsHHq8ALr ZuQZbOciurjQIKyeZ1Y20fdOe//zftAd6NlBrRXI= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 16632249800711018.5785289818914; Wed, 14 Sep 2022 23:56:20 -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=?= , Rob Herring Subject: [PATCH v2 net-next 03/10] dt-bindings: net: dsa: mediatek,mt7530: expand gpio-controller description Date: Thu, 15 Sep 2022 09:55:35 +0300 Message-Id: <20220915065542.13150-4-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235643_117635_5D90F478 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Thu Sep 15 06:55:36 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: 12976916 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 5C9D1C6FA86 for ; Thu, 15 Sep 2022 06:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=uxq9y3bsFrsASdnzwwwd9DFyyq4MC9dAYxIHLkGs7pw=; b=fDhIrDsUOVzT/2oAlqekYBRWhO KBVEssQr1B0UyzrOMUjuzCOoeoeIlmgS8IiC+F49KY/qguaTbuEi2J/2+mZLzHp4gQTfj0z4/8MKQ dn6OVe/G4vBaPRle4KLjL7laxUbkkCmeGPX0ztRVc+v7xBwljvnzYSDy/b4qLlaUbPr5sCffnuFQ9 lhoJ1MJaGkyMKHeSUpX2YLsceTgrOvqAbYYJtteTKjLeyVpORZwKkKBMVjbLwxAu812gNV/3GOD25 bYtP2k3Kv3oo+iE2HlyOE3LYOyacRfhooCDllyuHcg3Zamu7GvDl/QQSGTG+qJ02GPzW10+1ptOge tdI8Q/SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiqi-002Mf9-66; Thu, 15 Sep 2022 06:59:48 +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 1oYinn-002K3m-Ak; Thu, 15 Sep 2022 06:56:48 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224988; cv=none; d=zohomail.com; s=zohoarc; b=DtkLVanyqdqnMijdcJ8E8I+HH26K+7kPnzMjhzUt9BgtGLE+7vvxo2MqXLjtly+TtwJk6j2BRSG9Pez7mX2ctKDQSIXNhrBBFGruf+L1V/WkGZYR+Yk+dg/qZkClIEsoc+5eiRXHkoaCKotaAZbd8DoVx3B8yvWrTO8zx4g4YeA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224988; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=uxq9y3bsFrsASdnzwwwd9DFyyq4MC9dAYxIHLkGs7pw=; b=lto9vRj1jqIxv5q2LfGU8F6FD448a8B9TRgER/47a7KMwCga4fx8kiilDj+y1j3Xy3jpieGPD5dqLM3hlKr+rgpTyf5gFyTzeZAAvao/yFEF04U+aAW7FbWNH7Lo6f8Y3yFAmNx86HIrxApgITnzFHNAOMUIXHyiSsqmfznpvdI= 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=1663224988; 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=uxq9y3bsFrsASdnzwwwd9DFyyq4MC9dAYxIHLkGs7pw=; b=LzA02yfItoiCAOQbFbdQKT0Gc3NzlVR5uGf+TpnWu2KorA8b10yITZWPCdwHsoAz VIegVrRkuCfWMDF/0SePWLb2jPtq1DofPadzRga3ORM4uzTzglr28+dGR2DNh/E0/zl R+mUBC0imljpNEqn9T2mqHBhfdI04KVnWGQA98Jo= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663224985900288.02172322388776; Wed, 14 Sep 2022 23:56: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 v2 net-next 04/10] dt-bindings: memory: mt7621: add syscon as compatible string Date: Thu, 15 Sep 2022 09:55:36 +0300 Message-Id: <20220915065542.13150-5-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235647_478879_5A367F11 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 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..ba8cd6d81d08 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 @@ -24,7 +26,7 @@ additionalProperties: false examples: - | - memory-controller@5000 { - compatible = "mediatek,mt7621-memc"; + syscon@5000 { + compatible = "mediatek,mt7621-memc", "syscon"; reg = <0x5000 0x1000>; }; From patchwork Thu Sep 15 06:55:37 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: 12976917 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 71AACECAAA1 for ; Thu, 15 Sep 2022 07:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=7MdWHhUIpIB9hPCMMkKR9TwMkQ/sOhJeKEYE0tGzfSg=; b=PSeeFSVcWtFKD1duGHmZeyeVgN rIBMUCHyQ6bmTOsJBiGwDciV+YSsHAoiXeA7suhGBrZc3NMmFEGxcNaJ94TTz7MaAjExCyZw15cvd xH1sLtX0BY3zwqZSB+uY37qxxzG/AD2Fdx5s7DitCmGVvmPNrh0Z1okVCQjHkxEh1qnAyf2boNHTC veGGipIQJq/CT+bgK/fF1sCQ87j7MmmIJRBHaDcLUNx4MAlcNydy1p41A4ohs4FnK+zloK3lReAdv VEwMrt88BaHzrwGcnVT/XKYeFDDaBEjCvefl2kHiM6bOo8VvO7MznQZbBTDPGTm+1LXQrlV7/aEvK gQUhwtgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiri-002Neg-GZ; Thu, 15 Sep 2022 07:00:50 +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 1oYinq-002K8A-VH; Thu, 15 Sep 2022 06:56:52 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224992; cv=none; d=zohomail.com; s=zohoarc; b=KWeiKzwG637uAuaPUl94m19QwtulB0qJ8y7zeOGLQ6dI8IDTs3WVWF0iB8jffE54D2eLko8VGtlhTc0/pbYSbo0QeUq24UCJ7h5ZnX7Mr0UgB7yrddaxhTEkFC7szH5mPbAEShofRLhYSw8kVh8oN+r7foFmMjqol+qQSF1Y/1Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224992; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=7MdWHhUIpIB9hPCMMkKR9TwMkQ/sOhJeKEYE0tGzfSg=; b=BRVahBgPGruZqEB4M54+5VjMnR+hUxeIe6ndWN4j5PGqwCp5s8jfhvur6UDANofYU+SHvgEI1OX6HhbGxTToOPd7uD+DTuDxcBufxkPG/fFiS5oND9jmAECUvcFv9/f/X5ZsOkOBnukUmNMDsiFV36ZQOW/qYsuUvZlotdRzN/o= 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=1663224992; 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=7MdWHhUIpIB9hPCMMkKR9TwMkQ/sOhJeKEYE0tGzfSg=; b=ezbX7NbRrmC8q7DfAFaxfw3lYQcI9yba6B3jT0jUM9AW6dIFoTHmsOZuG1lXIFiF d/OHaLP/BunTUTbsrDa+xUpgkJjIpHhZaNBRH4+H1QNV7Fhl8apI8aCIyHkiSgonlIO 8vUo4Uhd4WcGunM54ChDwk1X9QhR0y56KtBS3xIc= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663224991758487.7064324186276; Wed, 14 Sep 2022 23:56: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 v2 net-next 05/10] mips: dts: ralink: mt7621: fix some dtc warnings Date: Thu, 15 Sep 2022 09:55:37 +0300 Message-Id: <20220915065542.13150-6-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235651_074476_E80613DB X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Fix the dtc warnings below. 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 - 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 Reviewed-by: Sergio Paracuellos --- .../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 | 28 ++++++++----------- 3 files changed, 13 insertions(+), 19 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..294ee453ec36 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -33,11 +33,6 @@ cpuintc: cpuintc { compatible = "mti,cpu-interrupt-controller"; }; - aliases { - serial0 = &uartlite; - }; - - mmc_fixed_3v3: regulator-3v3 { compatible = "regulator-fixed"; regulator-name = "mmc_power"; @@ -115,12 +110,11 @@ memc: syscon@5000 { 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 +230,7 @@ pinmux { }; }; - sdhci: sdhci@1e130000 { + mmc: mmc@1e130000 { status = "disabled"; compatible = "mediatek,mt7620-mmc"; @@ -262,8 +256,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 +332,7 @@ fixed-link { gmac1: mac@1 { compatible = "mediatek,eth-mac"; reg = <1>; - status = "off"; + status = "disabled"; phy-mode = "rgmii-rxid"; }; @@ -346,7 +340,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 +356,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 Thu Sep 15 06:55:38 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: 12976918 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 A89C9ECAAA1 for ; Thu, 15 Sep 2022 07:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=LyKKSIaUWUL8B9tj8IvHXWbgygrP25IoTaLgYk3F3Cw=; b=43SoZikE/la7fscPHyTspKy1rj inmDWKwnXAujfqC2jcrnzB2ToXWzwnhIfCiYSV/zddltns9oR+8ZKQ8OtBYhuVSS0rhRnfsJqyp81 43lFxzbg8TJSlH6rdhp4nuDAIvqTP0feW+8ipYF2kYFkFLN/pjGLZKwSNCFDO+z+qxMh1aq1AtLq5 QWfpJdVO26F2ybRziK79tieu02SlO7cUUIEYUDeiG/OZaFFVJ2XcsnS8LpbzP2XI8cSBXpZCnZCEe 42KRkELb3RjJz0LgYE0I/7Thd1DCWo2H5bS9FmUY34SckNte6L2J/PSYJJH/4C1RC60YCbpM/DvuP W8Mg6daw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYisD-002O4p-Au; Thu, 15 Sep 2022 07:01:21 +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 1oYinz-002KD1-6T; Thu, 15 Sep 2022 06:57:00 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663224998; cv=none; d=zohomail.com; s=zohoarc; b=F/v+rbLNG6Wkuqk6FbO0JtWWStX2hycLgNIUJh0NaMaAnblHckGrlR/BfFw32OSD260Zte/3ZmTVHbk8mT2AmWni0XHW/sGGQEl4byey/4qcWUU69qolMroJZ8PoAm9pp9BYaIa4X0JuL5gF8pN3yKgU09bR10IO1QLEuinkIC8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663224998; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=LyKKSIaUWUL8B9tj8IvHXWbgygrP25IoTaLgYk3F3Cw=; b=h5LeeE0nMCHBjFUHjas8IAO0zA7FxsP8mAgMrM7xNf7htTLon2V/hBBqAVBNMW0lQSmyxqiuQAaX2dFKUzRCVOIO8YpQhHy4LGkHqfpGPqHWw5sXpyMaB70jgNNsVs9NfMkE6vaFHobEIoH3UrcoyCQ6RSSwFaj3v0iBrNhDmJw= 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=1663224998; 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=LyKKSIaUWUL8B9tj8IvHXWbgygrP25IoTaLgYk3F3Cw=; b=cD7DyaSoOB8Q2ji6c8YbA65YTDry1LZhGoPCYH0/Ilw2HxU6OjwKFQWCJ1z1ZClT p7WiV8A2dlNzK+GLchckr2s6+VMaIlAlEJ8m3vZ3rYNj/843J+JWOBlA2MXIW9zLk2Y 7Mu9nYHlDw0LhNnbuQUyJ6r/rdL6FWUceHYUzASI= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663224997559782.071024962817; Wed, 14 Sep 2022 23:56:37 -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 v2 net-next 06/10] mips: dts: ralink: mt7621: remove interrupt-parent from switch node Date: Thu, 15 Sep 2022 09:55:38 +0300 Message-Id: <20220915065542.13150-7-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235659_365760_DD5FE1C9 X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 294ee453ec36..c0529e939a31 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -348,7 +348,6 @@ switch0: switch@0 { reset-names = "mcm"; interrupt-controller; #interrupt-cells = <1>; - interrupt-parent = <&gic>; interrupts = ; ports { From patchwork Thu Sep 15 06:55:39 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: 12976919 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 E86D2ECAAA1 for ; Thu, 15 Sep 2022 07:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=O2yms1NUcTx1ATzzwCxouyoVgYhixhkktLfolcgVszw=; b=aALPSdESsfQHceXHPEZqB9KYU8 z31PVtOdtDEO1TC3fF7nq6ps6nGhKaY/1X1FpRYXuuDT09vnVe50UgxZCH6UPU94x9EKtKJ1kyi77 xwvyc0Jk9UAbEiliLZ8IjkPX4gB6A8vW5M7TLwp/RMIYjmvdpHBKQiEBkOOe93MXkzMKl9qhUbyuh eDN26TMRYDPsOCZZU+L4emdhMNhCxsgBrDaPJRhjHHujpGz4s4Jiwy86de8ySWHd925NrDZP1oBTm FyXNkLg2aRSUPtTIzCK3rR51Cv8yVCsnb9ZqjDRTyOMIws4V1FJgjZmxgAjcBP/OVP8xyosWlGHuq 6C79jVSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYit9-002OtI-Qg; Thu, 15 Sep 2022 07:02:19 +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 1oYio2-002KHF-GU; Thu, 15 Sep 2022 06:57:05 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663225004; cv=none; d=zohomail.com; s=zohoarc; b=TI4xidh+Nz2urx2vgEI0lS//TIt0F1p0otmw+JPJ989Wg+Ox8KJ362ZRiWcInjV8hzSc8KRGPj8tUACym4A0YAa5hg5/B7J3/cD9JV3PtcLESlTpNztuxgCyJzCST6YzbITS1F6Oee3S0jjYWskasjHt2lcSXr6BO34Dtw09Tf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663225004; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=O2yms1NUcTx1ATzzwCxouyoVgYhixhkktLfolcgVszw=; b=iFn2e5BZG7nklaf0EMz9kssRcGgTzRKdX2b97doryo4OhfPV+rF/fnz/ikwsmsWskh6dtWLEAWgUXYePEq+UhtQ2/DPKiaGCQOJ0I0zIStGjv2o/wIIVw2CYx/L7ixwJbDQE2B6i124BeD7taHNvMM9Hcsctcesfctc4QYc16gk= 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=1663225004; 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=O2yms1NUcTx1ATzzwCxouyoVgYhixhkktLfolcgVszw=; b=bqibvVYYEVgMEURPAOTJJLqb1xBX9XBQyep3ay/NVehtPJ1kd+Q2R/o5u2kuzEw/ SNQzPmnUkKXFEYokdtq9zV+RymzSkTBiRyobuM9i0HpjaMQBjmb2db40yxscXFqqJsk 2jxq0PoMmKKGWAtC8gaJNnB/I9gFhqWsTxGo77aE= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663225003719405.3234978885682; Wed, 14 Sep 2022 23:56:43 -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 v2 net-next 07/10] mips: dts: ralink: mt7621: change phy-mode of gmac1 to rgmii Date: Thu, 15 Sep 2022 09:55:39 +0300 Message-Id: <20220915065542.13150-8-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235702_660160_B1C7D977 X-CRM114-Status: GOOD ( 11.32 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 c0529e939a31..3d4a8e4bd4f8 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -333,7 +333,7 @@ gmac1: mac@1 { compatible = "mediatek,eth-mac"; reg = <1>; status = "disabled"; - phy-mode = "rgmii-rxid"; + phy-mode = "rgmii"; }; mdio: mdio-bus { From patchwork Thu Sep 15 06:55:40 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: 12976926 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 1AE60ECAAD3 for ; Thu, 15 Sep 2022 07:05:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=Sk44jnot7uocJ4arpLBcXWdU4CoMjGzCainAQsmuR8w=; b=qRpckXtrmGeuS+/qqn19RN0KHM t1tqTF89w2XekGkYpURocMW9WCqzz1eKRan96q9+SEjZxA5xPJwqrcdrdbUKTAE9uIkdFCDywR4XR G/eDbU3dsq5xDaQgUg3Z242Wd3mctJ/zKPUj7ejjE3XktKuNDEoITe7MqgARUlUK33XqHrRn5Sn/p wv6kEz0OJ9iZwwzlBEboEHSDbqKIoSFdK8aWY2jtAOZnlKPEHOX8IUDvk5kzBUNCZhkZT4FzidEWZ dM6Wq5M86fauEXEc+X5dfuag/HXMAALSfa9uFxTnH7QJ0lPt6n9Oi1cX7xb6gJuVXan38TenkWy9j 4Y3G6ikQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiwF-002RWs-DA; Thu, 15 Sep 2022 07:05:31 +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 1oYioP-002KWL-Im; Thu, 15 Sep 2022 06:57:27 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663225010; cv=none; d=zohomail.com; s=zohoarc; b=ehPnzbvvznPAATqgIdoYPe9uBLvUR+z7YQFXY3VJXxe5YjgULocelK8YbsbR9H7aQkF1JK7ZC2doS6oB6v9rVQR3Qg/xidtUh4rmTJa/k0xdlKL6oNzH/2eiTnszVwyggVGc1v/z619I1uji3Nx9E0+6mrecKVxnKwyMmPfPp8I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663225010; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Sk44jnot7uocJ4arpLBcXWdU4CoMjGzCainAQsmuR8w=; b=gNWC6R9qgN+Rbfhzrx/y76P7jgPqypybPsUzKQuLw70QY1XB0PQRRc0ncWO5ysJQv84q82S3mqu/BzbqLwyjHIHiWyO0FzQjzO2jOh+yhQ3JrVMVqaJEDzjMYtb3bKMwC7o8NRqF95RCyTyEbDyVxSW3cjHcjN3g1V46rIwAVbI= 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=1663225010; 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=Sk44jnot7uocJ4arpLBcXWdU4CoMjGzCainAQsmuR8w=; b=AbTuLrbc/qnVwI2zMprNbk+fyhKlwKdG1IMs8l98deHvgWKTjiQLPZv8Yrwzt/t9 QQtzQmICz8d4HSCVqnhvJ48ouXAODqFTN8XpqpU6ZqGV8lhPbx5JJFEwr2xEPka0G8o pNS0agLgxYXVgll+lKmXfMx/9iNM1WO46qkORpgU= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663225009736593.0930673821944; Wed, 14 Sep 2022 23:56:49 -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 v2 net-next 08/10] mips: dts: ralink: mt7621: change mt7530 switch address Date: Thu, 15 Sep 2022 09:55:40 +0300 Message-Id: <20220915065542.13150-9-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235725_727891_1EA47140 X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 3d4a8e4bd4f8..7900760212c9 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -340,9 +340,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 Thu Sep 15 06:55:41 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: 12976925 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 3A237ECAAA1 for ; Thu, 15 Sep 2022 07:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=WnMkSdF0tA1GdTHDMgmHnwzHooD42TxLI0BpN/jcsQw=; b=tPv0umcdVjedsrY8mzMCWVkQNJ vXkUhHQJtLcJRufSwrZxLxrxDYzDBWG1+37bhDWVkOrJFLgCMzNBXbx9glo5jlvAIOFQqGMJrr95k vO6gQqPUzTq+zkr0msyrndlLuUNO86pb7VmP9N15d465TBpo3bFFgT8joRSCGYxlOIjN8LgY/ClS8 nNjPoQg9ieozmtiKh/QQykEVedMEeqD1nwrtcSlX5Uhcb8CK9DK4LXJ8qx6iTEPBd5uI+qv+5pO4B 6WOVGAOisVA7B6s7l4tZZ3LckdlWNBr91ERs1UK9UEs+HWsLpwTYFKiLZvplBrneNyCBsIqKtO/je EiydR35A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiuF-002PnY-JJ; Thu, 15 Sep 2022 07:03: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 1oYioG-002KPZ-Q2; Thu, 15 Sep 2022 06:57:19 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663225016; cv=none; d=zohomail.com; s=zohoarc; b=TtWO6PLW4SUpFhDMz3hkFFlosX/a721Nj4rS3YGhLVoINHBJNZ1EEF8iKJe0TyJyz3qoGCoy1Ik1hGexqUMS1m/4wN9pQ5INopKOG8K7qlmcWfM7lIuKzBl7OfF4BWW4r6gUSUwkZ+QLx/2v/3WN2KWWb1/fVPAShPZ3Rhs40oo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663225016; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=WnMkSdF0tA1GdTHDMgmHnwzHooD42TxLI0BpN/jcsQw=; b=NdjRD+dSr8uv5jAhQeS4GbkbtA1L+PBteRnvQlx6eMmY7kzGh59Y+Vsm6V+M1BPfMlSOMXo1Mc3iFcyTjA41f4tCbzgXHYYKJixFbwbeCL6//Mxo8S9bVcit/rhOYd0vVr11QPJlnzFw/K+YRcBWZlBbfqwsjJV3/Bi1E2Tun8E= 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=1663225016; 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=WnMkSdF0tA1GdTHDMgmHnwzHooD42TxLI0BpN/jcsQw=; b=fqpaSq1yoQkjf2qCh3uRmN45HiAQk7lMwuO843BE/QH5WXcUDJc8L5a2xx4V5NXL Edc/FYZnMWQVyM4f2B7fCr3mWr5gcZTLYstcbfhbJzLtrJjOCksGjr5ejvap71PQDyY phM+ESa1q4YswbBtgRYdZYT/Ojpg6ZXLuQ0IvJ/w= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 16632250155511013.2099089559351; Wed, 14 Sep 2022 23:56:55 -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 v2 net-next 09/10] mips: dts: ralink: mt7621: fix external phy on GB-PC2 Date: Thu, 15 Sep 2022 09:55:41 +0300 Message-Id: <20220915065542.13150-10-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235716_987097_6B96702D X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Thu Sep 15 06:55: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: 12976927 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 2D0E1ECAAD3 for ; Thu, 15 Sep 2022 07:05:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=8AjFH1BLUb+TXyGp2qTPrkMzOdVeStVDjagqGC2aBMo=; b=G/TU1vVvthKdVc6muKImTSfkY2 N/MQ0DYgg1LVHs+IOL1/uwsRAcrPIWwsbMA/5rJkMVqMgrQNMzbSg5DW9Wx5CsTHMN5Tk+e4UK0sY 3IjIiTENSfhC44sGrUYWUVMNqA+yCuX+MdJNXalPVFFM9I5Ggt+k2v5kC8DMW/umo2Agc2BJnrRWN Ecf74lyH7+Oye0B16FNe+eHGby4/Zq/sxOdo3y5MwHQplLdvADz30mHXm0i8UN2WeSZDZDe59qiXH ZSX8wS41yXxKsj1ozs9mH+3VveSCiXFDJx0q06vvnmno3LiBrNW5WS5J3uFQii6NY4I51IoYa0vDI V7cTUIeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYiwI-002RYg-Tp; Thu, 15 Sep 2022 07:05:34 +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 1oYioP-002KWI-DG; Thu, 15 Sep 2022 06:57:27 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1663225023; cv=none; d=zohomail.com; s=zohoarc; b=CNs2AW5H4dDTvLgtu1vUQG1bb73GF6bE+bOEQBsMVWZRL2WoCXmnDTSPc6YZxGHlVIwsOpbIX8ZFtltmgUFfgPgTbriFQ5rY97Xv+IEixeni9CI1OiBt+qKmHMb0UqSc01XZRJFFtkt9HOq3HyG04f86Xzs3h59A86tGE6iCPtg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663225023; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8AjFH1BLUb+TXyGp2qTPrkMzOdVeStVDjagqGC2aBMo=; b=KFrs9OqcYngQLSqvrsxRho9ER6yge/e+FxIpzdncakgKvKAuEzT43yZGB5c3EerFB/1XsdrVHioxv5U80dt1VJTmOGQS7xns0aVACyt7QtW8VGQ1odSpptTs3LJE06513v8eQsM2BTmYHIqcyEv0Y1qy+Wx6lq4U9He/GytkoOc= 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=1663225023; 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=8AjFH1BLUb+TXyGp2qTPrkMzOdVeStVDjagqGC2aBMo=; b=HULaQFufMOYqyloyhleYocI3EGw4XMQ7STyt3LItSPi30fSCSpnREeuMEau+syLa RMhVxHt93VwCjyjbXtssfvuoR7eg91xvX9+Woqbu+TVt/J/gJumrqyeO9FIF1K5GNWB bJRl3VZXIJ6tcham161/6QUDVygYtVC941e/+H40= Received: from arinc9-PC.lan (37.120.152.236 [37.120.152.236]) by mx.zohomail.com with SMTPS id 1663225021653925.7003964608373; Wed, 14 Sep 2022 23:57:01 -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 v2 net-next 10/10] mips: dts: ralink: mt7621: add GB-PC2 LEDs Date: Thu, 15 Sep 2022 09:55:42 +0300 Message-Id: <20220915065542.13150-11-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220915065542.13150-1-arinc.unal@arinc9.com> References: <20220915065542.13150-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_235725_547241_FF9DBF6E X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 {