c2b7e1fde2c3f25c27ec3e9b3d698b364ec67d6b
[openwrt/staging/jow.git] /
1 From 0c7e3f6f557c2a68527980e940e6a605da1f9e12 Mon Sep 17 00:00:00 2001
2 From: Ran Wang <ran.wang_1@nxp.com>
3 Date: Wed, 16 Jan 2019 15:40:33 +0800
4 Subject: [PATCH] arm64: dts: Fix DWC3 IP VBUS glitch issue on Layerscape
5 platforms
6
7 Cover LS1012A, LS1043A, LS1046A, LS1088A, LS208xA, LX2160A
8
9 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
10 ---
11 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
12 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++
13 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
14 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 2 ++
15 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 ++
16 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 ++
17 6 files changed, 13 insertions(+)
18
19 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
20 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
21 @@ -443,6 +443,7 @@
22 snps,quirk-frame-length-adjustment = <0x20>;
23 snps,dis_rxdet_inp3_quirk;
24 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
25 + snps,host-vbus-glitches;
26 };
27
28 sata: sata@3200000 {
29 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
30 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
31 @@ -713,6 +713,7 @@
32 usb3-lpm-capable;
33 snps,dis-u1u2-when-u3-quirk;
34 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
35 + snps,host-vbus-glitches;
36 configure-gfladj;
37 };
38
39 @@ -726,6 +727,7 @@
40 usb3-lpm-capable;
41 snps,dis-u1u2-when-u3-quirk;
42 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
43 + snps,host-vbus-glitches;
44 configure-gfladj;
45 };
46
47 @@ -739,6 +741,7 @@
48 usb3-lpm-capable;
49 snps,dis-u1u2-when-u3-quirk;
50 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
51 + snps,host-vbus-glitches;
52 configure-gfladj;
53 };
54
55 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
56 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
57 @@ -611,6 +611,7 @@
58 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
59 usb3-lpm-capable;
60 snps,dis-u1u2-when-u3-quirk;
61 + snps,host-vbus-glitches;
62 };
63
64 usb1: usb@3000000 {
65 @@ -623,6 +624,7 @@
66 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
67 usb3-lpm-capable;
68 snps,dis-u1u2-when-u3-quirk;
69 + snps,host-vbus-glitches;
70 };
71
72 usb2: usb@3100000 {
73 @@ -635,6 +637,7 @@
74 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
75 usb3-lpm-capable;
76 snps,dis-u1u2-when-u3-quirk;
77 + snps,host-vbus-glitches;
78 };
79
80 sata: sata@3200000 {
81 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
82 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
83 @@ -452,6 +452,7 @@
84 snps,quirk-frame-length-adjustment = <0x20>;
85 snps,dis_rxdet_inp3_quirk;
86 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
87 + snps,host-vbus-glitches;
88 status = "disabled";
89 };
90
91 @@ -463,6 +464,7 @@
92 snps,quirk-frame-length-adjustment = <0x20>;
93 snps,dis_rxdet_inp3_quirk;
94 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
95 + snps,host-vbus-glitches;
96 status = "disabled";
97 };
98
99 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
100 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
101 @@ -820,6 +820,7 @@
102 snps,quirk-frame-length-adjustment = <0x20>;
103 snps,dis_rxdet_inp3_quirk;
104 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
105 + snps,host-vbus-glitches;
106 };
107
108 usb1: usb3@3110000 {
109 @@ -831,6 +832,7 @@
110 snps,quirk-frame-length-adjustment = <0x20>;
111 snps,dis_rxdet_inp3_quirk;
112 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
113 + snps,host-vbus-glitches;
114 };
115
116 serdes1: serdes@1ea0000 {
117 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
118 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
119 @@ -845,6 +845,7 @@
120 snps,quirk-frame-length-adjustment = <0x20>;
121 snps,dis_rxdet_inp3_quirk;
122 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
123 + snps,host-vbus-glitches;
124 status = "disabled";
125 };
126
127 @@ -856,6 +857,7 @@
128 snps,quirk-frame-length-adjustment = <0x20>;
129 snps,dis_rxdet_inp3_quirk;
130 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
131 + snps,host-vbus-glitches;
132 status = "disabled";
133 };
134