lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190228151337.12176-7-sashal@kernel.org>
Date:   Thu, 28 Feb 2019 10:13:08 -0500
From:   Sasha Levin <sashal@...nel.org>
To:     linux-kernel@...r.kernel.org, stable@...r.kernel.org
Cc:     Zhou Yanjie <zhouyanjie@...estc.edu.cn>,
        Paul Burton <paul.burton@...s.com>,
        linux-mips <linux-mips@...r.kernel.org>,
        devicetree@...r.kernel.org, robh+dt@...nel.org,
        ralf@...ux-mips.org, jhogan@...nel.org, mark.rutland@....com,
        malat@...ian.org, ezequiel@...labora.co.uk, ulf.hansson@...aro.org,
        syq <syq@...ian.org>, "jiaxun . yang" <jiaxun.yang@...goat.com>,
        Sasha Levin <sashal@...nel.org>
Subject: [PATCH AUTOSEL 4.14 07/36] DTS: CI20: Fix bugs in ci20's device tree.

From: Zhou Yanjie <zhouyanjie@...estc.edu.cn>

[ Upstream commit 1ca1c87f91d9dc50d6a38e2177b2032996e7901c ]

According to the Schematic, the hardware of ci20 leads to uart3,
but not to uart2. Uart2 is miswritten in the original code.

Signed-off-by: Zhou Yanjie <zhouyanjie@...estc.edu.cn>
Signed-off-by: Paul Burton <paul.burton@...s.com>
Cc: linux-mips <linux-mips@...r.kernel.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Cc: devicetree@...r.kernel.org
Cc: robh+dt@...nel.org
Cc: ralf@...ux-mips.org
Cc: jhogan@...nel.org
Cc: mark.rutland@....com
Cc: malat@...ian.org
Cc: ezequiel@...labora.co.uk
Cc: ulf.hansson@...aro.org
Cc: syq <syq@...ian.org>
Cc: jiaxun.yang <jiaxun.yang@...goat.com>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
 arch/mips/boot/dts/ingenic/ci20.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts
index a4cc52214dbdb..dad4aa0ebdd8c 100644
--- a/arch/mips/boot/dts/ingenic/ci20.dts
+++ b/arch/mips/boot/dts/ingenic/ci20.dts
@@ -54,7 +54,7 @@
 	status = "okay";
 
 	pinctrl-names = "default";
-	pinctrl-0 = <&pins_uart2>;
+	pinctrl-0 = <&pins_uart3>;
 };
 
 &uart4 {
@@ -174,9 +174,9 @@
 		bias-disable;
 	};
 
-	pins_uart2: uart2 {
-		function = "uart2";
-		groups = "uart2-data", "uart2-hwflow";
+	pins_uart3: uart3 {
+		function = "uart3";
+		groups = "uart3-data", "uart3-hwflow";
 		bias-disable;
 	};
 
-- 
2.19.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ