From patchwork Mon Feb 7 19:30:09 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: 1589553 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=UppnVYcR; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=arinc9.com header.i=arinc.unal@arinc9.com header.a=rsa-sha256 header.s=zmail header.b=hbCrjxfi; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JsxDz0RB4z9sFt for ; Tue, 8 Feb 2022 06:35:14 +1100 (AEDT) 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=B5zXT5e8uVKUhtsznlUPAO0qtRcXv/MIb+ekElamGEA=; b=UppnVYcRFMopGL IUWQGLHA5DFsO+z2bCVUsWU+Jh+1wZJvPDN6xp9zzW7SvfKHpPfP0ug6otElxjeLUX5GNrw8W08P+ ndTdrUMQs95mXN6J00luo8VDRFL3xSHz/vFCBtgGvkmXRU814lNDD0FKu+79/MBwMc1gcx1MRBjnG 6hmmEjfN8+9MTrKaZ+WDtVE3zWvWMMTiFDHqJq0CMf7j5b9yP6gE4KVsoPgvDCG7bQGAdJf5hS4wx zzww4cINsqsXF8RjiYGaUlyk0cK+HaqFwntrw7RmaevqxqJVIhwHIgc792VSoV9dcf3ix3INZxSz3 Lf0rOefmUktgHdbDjaVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH9j4-00BX5U-VC; Mon, 07 Feb 2022 19:31:03 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH9iy-00BX3G-QM for openwrt-devel@lists.openwrt.org; Mon, 07 Feb 2022 19:30:58 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1644262239; cv=none; d=zohomail.com; s=zohoarc; b=liPMCbtucpxCpx8gGJKPIOLS+WGX2JswkyOkxRjOiY2XesbuE4PHFTooTcDFTGH5iR84u+eZyIYshMpRMWw96PvtyYGJurWk4KYAad0/7VQcg3e8lmIcWFqKnrnBwHH5IbV1vC03SBc4S+BQD8Tji5GbslPdgn26jeSN7mtvkQM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644262239; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=At7ZJcuDWNi/UuTBmEbHDWrb20JuYkyzKClogwkUMyU=; b=EPe91jvKhBKDG3M9Hi6NiZ0uGZbktfX32SxnkDnIaweVKheUYR0K5u0FOcgqeWO4kNj1pAZqR7dTPdeba3+s9AYDwMftckUww8QheKhdcEWNdwByWVx6nigQKFfRul1NR6U4HrJQhzU2+sj4zNBAjT27QFuaH8kRyM3md85wEnw= 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=1644262239; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=At7ZJcuDWNi/UuTBmEbHDWrb20JuYkyzKClogwkUMyU=; b=hbCrjxfiUeHi3quU1Ox82I2b4hH7jHbPFCS6qwLsEVtBxm/DG6+19Fiog278nyzd aGwRDQwlYnqPy3zgC/4duP9kRMkgm148ovKaCoKJLC/7MXcI2Yb0hJ4M4vL0zSxxGVm Y9KoG5tqM/0q5HkR56pc8Sfhl82eY6IZ+eDfaDMg= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1644262237371653.8027257520885; Mon, 7 Feb 2022 11:30:37 -0800 (PST) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: DENG Qingfang , Sander Vanheule , Stijn Tintel , Hauke Mehrtens , Adrian Schmutzler , erkin.bozoglu@xeront.com Cc: openwrt-devel@lists.openwrt.org, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 1/3] ramips: mt7621-dts: fix switch@1f warnings Date: Mon, 7 Feb 2022 22:30:09 +0300 Message-Id: <20220207193011.16389-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220207193011.16389-1-arinc.unal@arinc9.com> References: <20220207193011.16389-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-20220207_113056_933263_14FF35E7 X-CRM114-Status: UNSURE ( 6.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Remove reg property from ports node to fix this warning: Warning (unit_address_vs_reg): /ethernet@1e100000/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name Another warning surfaces afterwards. Remove #address-cells and #size-cells from switch@1f node to fix this warning: Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.14 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Remove reg property from ports node to fix this warning: Warning (unit_address_vs_reg): /ethernet@1e100000/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name Another warning surfaces afterwards. Remove #address-cells and #size-cells from switch@1f node to fix this warning: Warning (avoid_unnecessary_addr_size): /ethernet@1e100000/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 4a3327a364..0d08c120d0 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -481,8 +481,6 @@ switch0: switch@1f { compatible = "mediatek,mt7621"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x1f>; mediatek,mcm; resets = <&rstctrl 2>; @@ -491,7 +489,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - reg = <0>; port@0 { status = "disabled"; From patchwork Mon Feb 7 19:30:10 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: 1589554 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=WfSUp+Jr; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=arinc9.com header.i=arinc.unal@arinc9.com header.a=rsa-sha256 header.s=zmail header.b=cWAT842x; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JsxDz052Wz9sFn for ; Tue, 8 Feb 2022 06:35:14 +1100 (AEDT) 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=q5ddjUmNt7ABwQq6EXyNlHeV8DiqooemOhVp2qvVLVY=; b=WfSUp+JrQ6UpJ4 ++UGYmnJJTjobvdhcP6HeQm3C+gTdL/4fDyVEsoxoC2G/fiCgCcjHj9XLzdbxtpkump+4MrIOoYhc NUG5bm5gy6cEwy3hwqq+k3Az/8QDTcZGh2gPwn9dPq81epJAlyY0O/mTkmfORH4sUVhLePG+SEqoJ L1nxFLIkqbnc3AqrPfOvwCfaN1wMbT0WuVxbsqhrsj6UqJaEkozJM4axU4z2ioxqFFNo/8oCzufD3 sSqNiymGraJ3Ugh56sKp9MW3LLXhWcBFEyK12N4n0do5niFoWVYe7U5kcQ6Fja/7jmnqeURz00SEs zmxkbd8UCtJfUm7tmHhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH9js-00BXMh-HW; Mon, 07 Feb 2022 19:31:53 +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 1nH9iz-00BX4P-QC for openwrt-devel@lists.openwrt.org; Mon, 07 Feb 2022 19:30:59 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1644262241; cv=none; d=zohomail.com; s=zohoarc; b=GE/SH6RvXiPBKNhP5DYMIWrxxd/6G73zAbw9x9tSAYZ8VWXr24TshOLtYiKSh1d06UEOcdfGtGFzB4SLSvp46qIK0akpazOvXhfNf6e8Cd27ssU9Euc+QfzIUiMKQaMC24qn6jXIFCXCuBNo4Ez7M+X/ubkTx3A/HMJGN5QXGrk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644262241; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=B3o4G15WvlL28WbcIkIHvuwngne8xbfpRNK4Fwke0wQ=; b=TnWxAEMmITxFnIFzBn9aOzDCDoLpNM5z4T7cXOcIDZuFHmRPKufyOOApupsZM/qk4NJkIPMuSL6UW6FypEDyroEYOtUKbLq+XC/mbX2WNRY7n7zo42Wscelx0g5UDWpf2xHsxMpMfz4UzyniLF4xSoHCTVaV0V7XRDhqa8c7vjw= 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=1644262241; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=B3o4G15WvlL28WbcIkIHvuwngne8xbfpRNK4Fwke0wQ=; b=cWAT842xetlCWA/xRZDh/QjfchkWJJQks8G9G9qE8PjV7y91pkS5mfM1SSHg+g5Z 4lUnCTuv9i2h1vnhGhMc11bavSAb8WB1nU9IlI7sFV3A69IxcKcNZKkORYkogV7e2Q2 BShqQeX9GTnrNrWvL40xEWF1RnBYaT7wqDXLSYw0= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1644262239864582.6798259260548; Mon, 7 Feb 2022 11:30:39 -0800 (PST) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: DENG Qingfang , Sander Vanheule , Stijn Tintel , Hauke Mehrtens , Adrian Schmutzler , erkin.bozoglu@xeront.com Cc: openwrt-devel@lists.openwrt.org, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 2/3] ramips: mt7621-dts: enable flow control on port@6 Date: Mon, 7 Feb 2022 22:30:10 +0300 Message-Id: <20220207193011.16389-3-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220207193011.16389-1-arinc.unal@arinc9.com> References: <20220207193011.16389-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-20220207_113057_919001_D7D9F251 X-CRM114-Status: UNSURE ( 7.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Flow_control_needs_to_be_enabled_on_bo?= =?unknown-8bit?q?th_sides_to_work=2E_It?= =?unknown-8bit?q?_is_already_enabled_on_gmac0=2C_enable_it_on_port=406_too?= =?unknown-8bit?q?=2E_Signed-off-by=3A_Ar=C4=B1n=C3=A7?= =?unknown-8bit?q?_=C3=9CNAL_=3Carinc=2Eunal=40arinc9=2Ecom=3E_---_target/lin?= =?unknown-8bit?q?ux/ramips/dts/mt7621=2Edtsi_=7C_1?= =?unknown-8bit?q?_+_1_file_changed=2C_1_insertion=28+=29_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E2_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E0_RCVD=5FIN=5FDNSWL=5FNONE_____RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_no_trust?= =?unknown-8bit?q?_=5B136=2E143=2E188=2E14_listed_in_list=2Ednswl=2Eorg=5D?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_author=27s_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Flow control needs to be enabled on both sides to work. It is already enabled on gmac0, enable it on port@6 too. Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 0d08c120d0..9256e118e4 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -529,6 +529,7 @@ fixed-link { speed = <1000>; full-duplex; + pause; }; }; }; From patchwork Mon Feb 7 19:30:11 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: 1589556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Lt+yaCqA; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=arinc9.com header.i=arinc.unal@arinc9.com header.a=rsa-sha256 header.s=zmail header.b=cBilTFua; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JsxGM2Sk1z9sFn for ; Tue, 8 Feb 2022 06:36:27 +1100 (AEDT) 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=RHTD9nyVaKdd5AVcQIhCSibPRIWMY0t50nflWZ0qPLE=; b=Lt+yaCqA1YRMgI uL4jyDtyHFTJuln3PcKDUEo/4w7rSBuHoubUbX49k3qTpQZjqqP9V8b1rw80R6DDMLh6RzDVUpPvi tsBwmrvTKWIYL5XuccOv8g1kykHs2EkwK03SriaEUtwRD6UNNmU8VbL2tHAm0oumRCS1koN+FpvUW Bpq0ygZmfgGnx01tEu95WoEEz1AlP/fgJQHdiXN8AcrCaKJCxT8FiDS6IpSNFCkfdtd1EmE/NpWta cApRJZamzZsYYELESTdD+uTTyfYZdhWwvT3cMAQX6M34LNO4+ejNgRnZYrKt3pLTqC63ZXKOCZ4rC mddioFNwYniMX5B9/s1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nH9kH-00BXU2-7F; Mon, 07 Feb 2022 19:32:17 +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 1nH9j1-00BX5W-T0 for openwrt-devel@lists.openwrt.org; Mon, 07 Feb 2022 19:31:01 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1644262243; cv=none; d=zohomail.com; s=zohoarc; b=ewvA8EId2oL9JeRndB289PWFP1u3ULUvRLn8+axAoeZiu6zyM0JogwB7AlORQgEqIkb5Ay2am53/8RX84eyQbxwq3pC6yXa4VSXOa7SKX0eFkRmsyJWemGMUTBjN8q37ldpbjbCNl0sjzefm0bbGiUkvJSckvteBd1zcUYC5r20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644262243; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ra+2IBNnZdnzaROjKZT+AQyp1EWo89Md1GX1tv7XMI8=; b=Gbka2fsS3RaDFhG03RfY4lZwjMduY5MSE0NU/vpiZufRX3pN5BAxL00woqP3PgIjDeH+59X8Z1YrvO8cDdVWqaqurhDLu31WSkIf5cX0fwn44wrrTaGyS+8DnFEcp83w08BiZ/ozgWw7Ppw7TgjsDZlu1DOJq5LgiSNJnOgCtSU= 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=1644262243; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ra+2IBNnZdnzaROjKZT+AQyp1EWo89Md1GX1tv7XMI8=; b=cBilTFuaJ+4SluxKuSR6iuT2eHSydtT8BWvSJTYOBLRAdZJAiDOcplmAqsgIreMU FaCuC5a3iqambfo3FF4qpSv0W9yaWi79lCGBc4KX0XLjBy1vciU4ZKWHJAOoFLhiUJa iNEHi10TU9WaVg/HZf8+vxa1tBktu7eFy9Mlz78Q= Received: from arinc9-PC.localdomain (85.117.236.245 [85.117.236.245]) by mx.zohomail.com with SMTPS id 1644262242242429.40969184994674; Mon, 7 Feb 2022 11:30:42 -0800 (PST) From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: DENG Qingfang , Sander Vanheule , Stijn Tintel , Hauke Mehrtens , Adrian Schmutzler , erkin.bozoglu@xeront.com Cc: openwrt-devel@lists.openwrt.org, =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= Subject: [PATCH 3/3] ramips: mt7621-dts: add pinctrl properties for ethernet Date: Mon, 7 Feb 2022 22:30:11 +0300 Message-Id: <20220207193011.16389-4-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220207193011.16389-1-arinc.unal@arinc9.com> References: <20220207193011.16389-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-20220207_113100_032431_EDCF4BFD X-CRM114-Status: UNSURE ( 6.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__Add_the_missing_pinctrl_properties_on_?= =?unknown-8bit?q?the_ethernet_node=2E_GMAC1?= =?unknown-8bit?q?_will_start_working_with_this_change=2E_Link=3A_https=3A//l?= =?unknown-8bit?q?ore=2Ekernel=2Eorg/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbc?= =?unknown-8bit?q?d8c8=40arinc9=2Ecom/?= =?unknown-8bit?q?_Signed-off-by=3A_Ar=C4=B1n=C3=A7_=C3=9CNAL_=3Carinc=2Eunal?= =?unknown-8bit?q?=40arinc9=2Ecom=3E_---_target/linux/ramips/dts/mt7621=2Edt?= =?unknown-8bit?q?si?= =?unknown-8bit?q?_=7C_3_+++_1_file_changed=2C_3_insertions=28+=29_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E2_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_-0=2E0_RCVD=5FIN=5FDNSWL=5FNONE_____RBL=3A_Sender_listed_a?= =?unknown-8bit?q?t_https=3A//www=2Ednswl=2Eorg/=2C?= =?unknown-8bit?q?_no_trust?= =?unknown-8bit?q?_=5B136=2E143=2E188=2E14_listed_in_list=2Ednswl=2Eorg=5D?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_author=27s_domain?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily?= =?unknown-8bit?q?_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Add the missing pinctrl properties on the ethernet node. GMAC1 will start working with this change. Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd8c8@arinc9.com/ Signed-off-by: Arınç ÜNAL --- target/linux/ramips/dts/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 9256e118e4..95113d4e11 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -456,6 +456,9 @@ mediatek,ethsys = <&sysc>; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; + gmac0: mac@0 { compatible = "mediatek,eth-mac"; reg = <0>;