]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.20.16/dts-ci20-fix-bugs-in-ci20-s-device-tree.patch
Linux 4.20.16
[thirdparty/kernel/stable-queue.git] / releases / 4.20.16 / dts-ci20-fix-bugs-in-ci20-s-device-tree.patch
1 From d81f84a0c8499ebca6608a9d900794acbe5a25f3 Mon Sep 17 00:00:00 2001
2 From: Zhou Yanjie <zhouyanjie@cduestc.edu.cn>
3 Date: Fri, 25 Jan 2019 02:22:15 +0800
4 Subject: DTS: CI20: Fix bugs in ci20's device tree.
5
6 [ Upstream commit 1ca1c87f91d9dc50d6a38e2177b2032996e7901c ]
7
8 According to the Schematic, the hardware of ci20 leads to uart3,
9 but not to uart2. Uart2 is miswritten in the original code.
10
11 Signed-off-by: Zhou Yanjie <zhouyanjie@cduestc.edu.cn>
12 Signed-off-by: Paul Burton <paul.burton@mips.com>
13 Cc: linux-mips <linux-mips@vger.kernel.org>
14 Cc: linux-kernel <linux-kernel@vger.kernel.org>
15 Cc: devicetree@vger.kernel.org
16 Cc: robh+dt@kernel.org
17 Cc: ralf@linux-mips.org
18 Cc: jhogan@kernel.org
19 Cc: mark.rutland@arm.com
20 Cc: malat@debian.org
21 Cc: ezequiel@collabora.co.uk
22 Cc: ulf.hansson@linaro.org
23 Cc: syq <syq@debian.org>
24 Cc: jiaxun.yang <jiaxun.yang@flygoat.com>
25 Signed-off-by: Sasha Levin <sashal@kernel.org>
26 ---
27 arch/mips/boot/dts/ingenic/ci20.dts | 8 ++++----
28 1 file changed, 4 insertions(+), 4 deletions(-)
29
30 diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts
31 index 50cff3cbcc6d..4f7b1fa31cf5 100644
32 --- a/arch/mips/boot/dts/ingenic/ci20.dts
33 +++ b/arch/mips/boot/dts/ingenic/ci20.dts
34 @@ -76,7 +76,7 @@
35 status = "okay";
36
37 pinctrl-names = "default";
38 - pinctrl-0 = <&pins_uart2>;
39 + pinctrl-0 = <&pins_uart3>;
40 };
41
42 &uart4 {
43 @@ -196,9 +196,9 @@
44 bias-disable;
45 };
46
47 - pins_uart2: uart2 {
48 - function = "uart2";
49 - groups = "uart2-data", "uart2-hwflow";
50 + pins_uart3: uart3 {
51 + function = "uart3";
52 + groups = "uart3-data", "uart3-hwflow";
53 bias-disable;
54 };
55
56 --
57 2.19.1
58