blob: c83fad33ab6ef1bdc8552816e500c6239d99dd95 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 2dfd145470894296d70873942ae056340e3fd78d Mon Sep 17 00:00:00 2001
2From: Ran Wang <ran.wang_1@nxp.com>
3Date: Tue, 7 Jul 2020 15:40:31 +0800
4Subject: [PATCH] arm64: dts: ls1043a: update USB nodes status to match board
5 config
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10ls1043a-rdb and ls1043a-qds boards default HW config (such as
11pin mux selection) would not enable some USB controllers
12data path, which causing over-current detected on those
13controllers. This will hit the case of xhci driver prevent bus suspend
14if a root hub port detected over-current condition’, causing system
15failed to be suspended. So disable them in device tree to resolve this
16issue.
17
18Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
19Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20---
21 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 4 ++++
22 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 8 ++++++++
23 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
24 3 files changed, 15 insertions(+)
25
26--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
27+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
28@@ -167,6 +167,10 @@
29 };
30 };
31
32+&usb0 {
33+ status = "okay";
34+};
35+
36 #include "fsl-ls1043-post.dtsi"
37
38 &fman0 {
39--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
40+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
41@@ -212,3 +212,11 @@
42 };
43 };
44 };
45+
46+&usb0 {
47+ status = "okay";
48+};
49+
50+&usb1 {
51+ status = "okay";
52+};
53--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
54+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
55@@ -707,6 +707,7 @@
56 snps,host-vbus-glitches;
57 configure-gfladj;
58 dma-coherent;
59+ status = "disabled";
60 };
61
62 usb1: usb3@3000000 {
63@@ -722,6 +723,7 @@
64 snps,host-vbus-glitches;
65 configure-gfladj;
66 dma-coherent;
67+ status = "disabled";
68 };
69
70 usb2: usb3@3100000 {
71@@ -737,6 +739,7 @@
72 snps,host-vbus-glitches;
73 configure-gfladj;
74 dma-coherent;
75+ status = "disabled";
76 };
77
78 sata: sata@3200000 {