From patchwork Thu Mar 7 19:04:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Justin Swartz X-Patchwork-Id: 13586135 Received: from outgoing1.flk.host-h.net (outgoing1.flk.host-h.net [188.40.0.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FAEC84A2B; Thu, 7 Mar 2024 19:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.0.86 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838318; cv=none; b=G3XQx/O3oSuXQCQFFuYEffOCV+jC4vg6nxsE8rHIXMVZlxi1q+xlJuo3/ozWldRHMnAKnhmgwPVvMHfNQNcADhIOAoiJg6ZJSUT9DpuEIXx5P3IhS1Vu0t7Qz6ouSMFxhGaVTWlBntLGeZfm4Th6H0Pswhw9kk8UQxIbEsTOLYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838318; c=relaxed/simple; bh=o/INtSf7uMcj8vPennDZ0N+2MzVAu0gQN1w02VcOF4c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HsZ6b3Uwq+iOV6ALxP+ndci9LA6KImYWJRxyiUid6m0SP0k+igKbRwA+KeAY0m4hME+1hYWTLK9fQsz9WzhcMROLJs8I7EXiP9N3MKy8721Zlv82llmI0FdL6Ce9hq++ibymoNKIw7jKfvjGb50wIRjGV6NGkiv7jZEsV2DYvf8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za; spf=pass smtp.mailfrom=risingedge.co.za; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b=RUnSDqyl; arc=none smtp.client-ip=188.40.0.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b="RUnSDqyl" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=risingedge.co.za; s=xneelo; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:reply-to:sender:bcc :content-type; bh=uNgnMVsULIy7vFE3ILTyIURmP3dMNjG/ZGbjuQtikzw=; b=RUnSDqyl7+r qakUnibDug6JA7EsMfSwcvkkpgmHhWUHr9yNIdu987R1ReBgjLL4tdzpuJkdGUGo1pfaWyex2A4yr j7SC/uUXVyEWA+U3OSCw2g5Br69PWQy7IhE2XGmaJtxIhENJy/C71PeMUXUtr5YWgY2JYDbLwm1+z a5GGpyPLH6GKrXtS95c37/KrwWlsiFOP3vSqoOaMpu0cf4gXzjAQvYuRefq9ed1duoInA7DMlnW2F 9RJNOm8AJoYVo/Zm/3E2v7Un8fWXrQzX31vHA8WhsxTkJgNC3kcEjfYlFkrFIxe7IwrVbaprAxRhI pjpg4VuHeeFR8EAYQGmqtiQ==; Received: from www31.flk1.host-h.net ([188.40.1.173]) by antispam3-flk1.host-h.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ37-00Cs1y-CW; Thu, 07 Mar 2024 21:05:06 +0200 Received: from [41.144.0.96] (helo=localhost.localdomain) by www31.flk1.host-h.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ35-0007Za-Ju; Thu, 07 Mar 2024 21:05:00 +0200 From: Justin Swartz To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno Cc: Justin Swartz , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 1/3] mips: dts: ralink: mt7621: associate uart1_pins with serial0 Date: Thu, 7 Mar 2024 21:04:05 +0200 Message-Id: <20240307190408.23443-1-justin.swartz@risingedge.co.za> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Authenticated-Sender: justin.swartz@risingedge.co.za X-Virus-Scanned: Clear X-SpamExperts-Domain: risingedge.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) smtp.auth=@risingedge.co.za X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.02) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+2dkIiVgdeIwrfJZUlzfSoPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wCPRB8bAzJcv2cv+UqiTTc2+CpNcmBnO4XM3Sck4bwNogU WCl1nkLBzZX0KuJ9bXiS85Z42w/+2OBolTNFbPomXFWCX8oNdggW7HE9XDTdSejrkEpbuUvwMvHx 3T+KSG//gbuP7hnUK8NQdLwsVWKIFDZRrTGv3rxiw9tFrqFSCFNiLZt/QXQnOBRD+jq1HsKsDh/6 Srgk2K3gr1VBfJbChkYH6fbrypLNrde+UooQVNLReLErukdelEOHUIpaBbp5GdnsN8+UvimwMinK 0+Txhz2u9qvrL2PODYgMZQApJXOjDLkqunZ9NcY2bHZn7CfFscMZZf3sCkN20I5vMh4akiObI7Kj vK7X04QEin24qbfMFd8eGjnYW8aSH5qj4ujh/13psIvqSqJFa1CcANErDW/w69saM9prk3jNnHtn nuEt/J9wDZeQfiNOYsLDFBdwYt2XtlLzy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-To: spam@antispamquarantine.host-h.net Add missing pinctrl-name and pinctrl-0 properties to declare that the uart1_pins group is associated with serial0. Signed-off-by: Justin Swartz Acked-by: Sergio Paracuellos Reviewed-by: Arınç ÜNAL --- arch/mips/boot/dts/ralink/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 35a10258f..dca415fdd 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -123,6 +123,9 @@ serial0: serial@c00 { reg-shift = <2>; reg-io-width = <4>; no-loopback-test; + + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; }; spi0: spi@b00 { From patchwork Thu Mar 7 19:04:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Swartz X-Patchwork-Id: 13586137 Received: from outgoing4.flk.host-h.net (outgoing4.flk.host-h.net [188.40.0.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9776135A66; Thu, 7 Mar 2024 19:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.0.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838328; cv=none; b=J0EJkirvVTDnj0Li6NKs4iOg4Lsbu0+DAQRSVH8FvdAUCM6qV/gjvwiBfRzSdMmrDwymby60mpeOd6xIizDCk8V86GgnByeZRYP+yC+7ilnqXXjSGgdg02WRwtiwQzV6ZNptFzboi5agSjs4Vwqd7qDrT3JA8kyS3L1TrGa/QBk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838328; c=relaxed/simple; bh=8aOsQ9dXU/uHaHhbDZiHLR63A2lxD1hCAqIW2LWrACY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NMfQB0t+ApD0q1lCmTm3fs/VeimMuS3dK4eIm+rPNjHI8oEDyp4bCRDZw8DF01IS5A5/d/dDDKXaIRLWmnk/mB3s8owblv8DGvqiTe6QTewt5XOWH9e1ZKHqTiI68WIKhzqo2A+y6s8uGXlmjdKIxQfMyXSyNWSbBhTVRxP12uQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za; spf=pass smtp.mailfrom=risingedge.co.za; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b=YKse3Jvb; arc=none smtp.client-ip=188.40.0.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b="YKse3Jvb" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=risingedge.co.za; s=xneelo; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:reply-to:sender:bcc :content-type; bh=CkkEezkguIbm3o6UtY6xuUlSDLGF/rVfjuM8OlCCJgg=; b=YKse3JvbwQm WFYEl2Gp46CYEfT0nDRnpymPHQziwWe8L/S1NFx2geFLedziV9VS+BXfASiOn8tC7f1Hbxh8KzF8W f2YZfHfU8R/kBaXpHrODTDT3hELwqCcMwLQqSh0F6wH5pxGSAWqze2gFqXpyPGhLDEr2NEDnV+gxr ugnY9zn27M6VhXp2/5sV1U8MTKEdTOEI+bvt1dvlqJMhEebvLQhqL/s04JBpP9/1K+5mlMXh+0fLs T7To7LsazWri9C8o3ieKEulPAdrd4vKz7vG4MwlDcIceVUv2KRzKCNbGL0kBQZZSUgmPCzZflkYZU u/gZ7UUD0f2scyYu5osCs+w==; Received: from www31.flk1.host-h.net ([188.40.1.173]) by antispam1-flk1.host-h.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ3I-00HIFu-VJ; Thu, 07 Mar 2024 21:05:15 +0200 Received: from [41.144.0.96] (helo=localhost.localdomain) by www31.flk1.host-h.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ3E-0007Za-5h; Thu, 07 Mar 2024 21:05:08 +0200 From: Justin Swartz To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno Cc: Justin Swartz , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 2/3] mips: dts: ralink: mt7621: reorder serial0 properties Date: Thu, 7 Mar 2024 21:04:06 +0200 Message-Id: <20240307190408.23443-2-justin.swartz@risingedge.co.za> In-Reply-To: <20240307190408.23443-1-justin.swartz@risingedge.co.za> References: <20240307190408.23443-1-justin.swartz@risingedge.co.za> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Authenticated-Sender: justin.swartz@risingedge.co.za X-Virus-Scanned: Clear X-SpamExperts-Domain: risingedge.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) smtp.auth=@risingedge.co.za X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.01) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+EJWyemKZyVEbbV54WwyIJPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvf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oXPjenLhIOF1oeRYbjF1Hp647mOWoQlc3hL3c ZMexQ8VxpTDmnfa+pzT1vSQKfAk/SzcWdtcr5u4DiPd4u/m4iBmYb1/LCV4/EuVHup06w3Vwxf9C F7D6LKKRTfdjzQ6YC7Heg3Xf7O1TOd6RcY/MXB8eEq3bCN2QohZvyS03iBmgsz450Kmjd3fGV8nM bkxHyXWCxCogb2beJIaKQwoPjGI9+ZGz2GEpaMILIbtf63VNbf0lrvssY+k7AHGi1NevGWTo2+h8 Lhk4HCeZR7ymlGVRtthBJ2y8A5arx6JItKpFaUNPGMMlvbMX0nyK1NiAJ0y2Qvvn6ds6mor35w4f SfHzQbABJfgy21HclcZkPRq7NhoxyMwqi8Q23Rgadfh5T5n5D4OHHpbEIgsllZKWnzc5M5WlNtVJ qo05MS+4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@antispamquarantine.host-h.net Reorder serial0 properties according to the guidelines laid out in Documentation/devicetree/bindings/dts-coding-style.rst Signed-off-by: Justin Swartz Acked-by: Sergio Paracuellos Reviewed-by: AngeloGioacchino Del Regno --- arch/mips/boot/dts/ralink/mt7621.dtsi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) -- diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index dca415fdd..3ad4e2343 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -114,16 +114,12 @@ memc: memory-controller@5000 { serial0: serial@c00 { compatible = "ns16550a"; reg = <0xc00 0x100>; - + reg-io-width = <4>; + reg-shift = <2>; clocks = <&sysc MT7621_CLK_UART1>; - interrupt-parent = <&gic>; interrupts = ; - - reg-shift = <2>; - reg-io-width = <4>; no-loopback-test; - pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>; }; From patchwork Thu Mar 7 19:04:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Swartz X-Patchwork-Id: 13586136 Received: from outgoing6.flk.host-h.net (outgoing6.flk.host-h.net [188.40.0.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C37413665A; Thu, 7 Mar 2024 19:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.0.77 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838327; cv=none; b=A6xFckohsFrRQFLp2Q0+1Bg7upw62qNJE3qNuO6/Fn/i5QLaZq54YllELeDJCsLFKuJ1QGa2roG9nQTE++t9zyKdWxMGdF3bTfPPBIgEqwqnH88HXGEKsi2gl2uiCn8vN6CkBjG7toPBuTg+dIObhYxBI4GpOi8FWt2tyfTe6T4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709838327; c=relaxed/simple; bh=0bSDzDaPcragNuuI7G2snj1vdIhRxSVcud6qL+D5Z8Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IMFGzFkSB9jH4Ce6a6rgYPHWYDRQegnuHV1IgOWrsMkATajufvHkXlLYibpamIUxuXNJ5r34MR/xdSKI2eRYhMRXUv08KrK1V8BDyAVj0vRYeh4EPA5tongBe9MGU41L/ft5JN0tnDKnNXkOBX7AQepIKN78ATAMquoaC1Gxaxw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za; spf=pass smtp.mailfrom=risingedge.co.za; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b=mUCNGpvT; arc=none smtp.client-ip=188.40.0.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=risingedge.co.za Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=risingedge.co.za header.i=@risingedge.co.za header.b="mUCNGpvT" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=risingedge.co.za; s=xneelo; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:reply-to:sender:bcc :content-type; bh=Ez2Ui4nIucDQfrXrUr2kn2Bb9T4WdTODcN4mnUnwnSE=; b=mUCNGpvTxTO 0MEj9mSuC2nUqUkdsfBTJ/e/NRORxM/avNFeJV7l66urV2zT8UNwN0k5uAcwRfX/nQkW2bGgkeHk0 DLEdcscJ/X+6MLOTz7KS+GBK/c7HmyZQifAfrWJsyGVFnZGD+rrs+YG9smpM4c1dk0p9r/NLNG3GM Xb7uDoImJS/FPoqwKey4zOHYI7fDo1DpyA/d0q2w+/V/afDFUjekw5ZHiqaT26LqTWNjEP9ODTM8e VW4REgZDFprLZfHD8KW0wjs/PM0TkcNowc8pAAeX/OVrp2aGQhRGHecb5MTsae/v+aRVmYToxH405 zqF+B8LFZbP4ISJgNuHIgrg==; Received: from www31.flk1.host-h.net ([188.40.1.173]) by antispam2-flk1.host-h.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ3M-003PpE-DT; Thu, 07 Mar 2024 21:05:19 +0200 Received: from [41.144.0.96] (helo=localhost.localdomain) by www31.flk1.host-h.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riJ3K-0007Za-Jj; Thu, 07 Mar 2024 21:05:15 +0200 From: Justin Swartz To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , Matthias Brugger , AngeloGioacchino Del Regno Cc: Justin Swartz , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 3/3] mips: dts: ralink: mt7621: add serial1 and serial2 nodes Date: Thu, 7 Mar 2024 21:04:07 +0200 Message-Id: <20240307190408.23443-3-justin.swartz@risingedge.co.za> In-Reply-To: <20240307190408.23443-1-justin.swartz@risingedge.co.za> References: <20240307190408.23443-1-justin.swartz@risingedge.co.za> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Authenticated-Sender: justin.swartz@risingedge.co.za X-Virus-Scanned: Clear X-SpamExperts-Domain: risingedge.co.za X-SpamExperts-Username: Authentication-Results: host-h.net; auth=pass (login) smtp.auth=@risingedge.co.za X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.01) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9wjgR1O6kmAJP01f/YYNjjPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wCPRB8bAzJcv2cv+UqiTTc2+CpNcmBnO4XM3Sck4bwNogU WCl1nkLBzZX0KuJ9bXiS85Z42w/+2OBolTNFbPomXFWCX8oNdggW7HE9XDTdSejrkEpbuUvwMvHx 3T+KSG//gbuP7hnUK8NQdLwsVWKIFDZRrTGv3rxiw9tFrqFSCFNiLZt/QXQnOBRD+jq1HsKsDh/6 Srgk2K3gr1VBfJbChkYH6fbrypLNrde+UooQVNLReLErukdelEOHUIpaBbp5GdnsN8+UvimwMinK 0+Txhz2u9qvrL2PODYgMZQApJXOjDLkqunZ9NcY2bHZn7CfFscMZZf3sCkN20I5vMh4akiObI7Kj vK7X04QEin24qbfMFd8eGjnYW8aSH5qj4ujh/13psIvqSqJFa1CcANErDW/w69saM9prk3jNnHtn nuEt/J9wDZeQfiNOYsLDFBdwYt2XtlLzy7G7T4kla0JNnAWQx3FS11bh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and serial2 nodes to define the existence of the MT7621's second and third UARTs. Signed-off-by: Justin Swartz Acked-by: Sergio Paracuellos --- arch/mips/boot/dts/ralink/mt7621.dtsi | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) -- diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi index 3ad4e2343..5a89f0b8c 100644 --- a/arch/mips/boot/dts/ralink/mt7621.dtsi +++ b/arch/mips/boot/dts/ralink/mt7621.dtsi @@ -124,6 +124,34 @@ serial0: serial@c00 { pinctrl-0 = <&uart1_pins>; }; + serial1: serial@d00 { + compatible = "ns16550a"; + reg = <0xd00 0x100>; + reg-io-width = <4>; + reg-shift = <2>; + clocks = <&sysc MT7621_CLK_UART2>; + interrupt-parent = <&gic>; + interrupts = ; + no-loopback-test; + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "disabled"; + }; + + serial2: serial@e00 { + compatible = "ns16550a"; + reg = <0xe00 0x100>; + reg-io-width = <4>; + reg-shift = <2>; + clocks = <&sysc MT7621_CLK_UART3>; + interrupt-parent = <&gic>; + interrupts = ; + no-loopback-test; + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pins>; + status = "disabled"; + }; + spi0: spi@b00 { status = "disabled";