63f4372d4e102b5c1a25790c071bc5a7ab7bb44a
[openwrt/staging/zorun.git] /
1 From 4cb6a451112308b2679c567ac680bc74ab93a92a Mon Sep 17 00:00:00 2001
2 From: Ran Wang <ran.wang_1@nxp.com>
3 Date: Fri, 22 Nov 2019 14:18:49 +0800
4 Subject: [PATCH] LF-387-5 arm64: dts: layerscape: add chip-specific compatible
5 string to usb nodes
6
7 To allow USB dwc3 driver to conduct some chip-scpeific configuring.
8 Cover all arm64 based Layerscape SoCs.
9
10 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
11 Reviewed-by: Jun Li <jun.li@nxp.com>
12 Reviewed-by: Leo Li <leo.li@nxp.com>
13 ---
14 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 2 +-
15 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 6 +++---
16 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 +++---
17 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 4 ++--
18 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 4 ++--
19 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 4 ++--
20 6 files changed, 13 insertions(+), 13 deletions(-)
21
22 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
23 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
24 @@ -443,7 +443,7 @@
25 };
26
27 usb0: usb3@2f00000 {
28 - compatible = "snps,dwc3";
29 + compatible = "fsl,ls1012a-dwc3", "snps,dwc3";
30 reg = <0x0 0x2f00000 0x0 0x10000>;
31 interrupts = <0 60 0x4>;
32 dr_mode = "host";
33 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
34 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
35 @@ -694,7 +694,7 @@
36 dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
37
38 usb0: usb3@2f00000 {
39 - compatible = "snps,dwc3";
40 + compatible = "fsl,ls1043a-dwc3", "snps,dwc3";
41 reg = <0x0 0x2f00000 0x0 0x10000>;
42 interrupts = <0 60 0x4>;
43 dr_mode = "host";
44 @@ -708,7 +708,7 @@
45 };
46
47 usb1: usb3@3000000 {
48 - compatible = "snps,dwc3";
49 + compatible = "fsl,ls1043a-dwc3", "snps,dwc3";
50 reg = <0x0 0x3000000 0x0 0x10000>;
51 interrupts = <0 61 0x4>;
52 dr_mode = "host";
53 @@ -722,7 +722,7 @@
54 };
55
56 usb2: usb3@3100000 {
57 - compatible = "snps,dwc3";
58 + compatible = "fsl,ls1043a-dwc3", "snps,dwc3";
59 reg = <0x0 0x3100000 0x0 0x10000>;
60 interrupts = <0 63 0x4>;
61 dr_mode = "host";
62 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
63 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
64 @@ -593,7 +593,7 @@
65 dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
66
67 usb0: usb@2f00000 {
68 - compatible = "snps,dwc3";
69 + compatible = "fsl,ls1046a-dwc3", "snps,dwc3";
70 reg = <0x0 0x2f00000 0x0 0x10000>;
71 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
72 dr_mode = "host";
73 @@ -606,7 +606,7 @@
74 };
75
76 usb1: usb@3000000 {
77 - compatible = "snps,dwc3";
78 + compatible = "fsl,ls1046a-dwc3", "snps,dwc3";
79 reg = <0x0 0x3000000 0x0 0x10000>;
80 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
81 dr_mode = "host";
82 @@ -619,7 +619,7 @@
83 };
84
85 usb2: usb@3100000 {
86 - compatible = "snps,dwc3";
87 + compatible = "fsl,ls1046a-dwc3", "snps,dwc3";
88 reg = <0x0 0x3100000 0x0 0x10000>;
89 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
90 dr_mode = "host";
91 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
92 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
93 @@ -394,7 +394,7 @@
94 };
95
96 usb0: usb3@3100000 {
97 - compatible = "snps,dwc3";
98 + compatible = "fsl,ls1088a-dwc3", "snps,dwc3";
99 reg = <0x0 0x3100000 0x0 0x10000>;
100 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
101 dr_mode = "host";
102 @@ -406,7 +406,7 @@
103 };
104
105 usb1: usb3@3110000 {
106 - compatible = "snps,dwc3";
107 + compatible = "fsl,ls1088a-dwc3", "snps,dwc3";
108 reg = <0x0 0x3110000 0x0 0x10000>;
109 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
110 dr_mode = "host";
111 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
112 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
113 @@ -730,7 +730,7 @@
114
115 usb0: usb3@3100000 {
116 status = "disabled";
117 - compatible = "snps,dwc3";
118 + compatible = "fsl,ls2088a-dwc3", "snps,dwc3";
119 reg = <0x0 0x3100000 0x0 0x10000>;
120 interrupts = <0 80 0x4>; /* Level high type */
121 dr_mode = "host";
122 @@ -742,7 +742,7 @@
123
124 usb1: usb3@3110000 {
125 status = "disabled";
126 - compatible = "snps,dwc3";
127 + compatible = "fsl,ls2088a-dwc3", "snps,dwc3";
128 reg = <0x0 0x3110000 0x0 0x10000>;
129 interrupts = <0 81 0x4>; /* Level high type */
130 dr_mode = "host";
131 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
132 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
133 @@ -864,7 +864,7 @@
134 };
135
136 usb0: usb@3100000 {
137 - compatible = "snps,dwc3";
138 + compatible = "fsl,lx2160a-dwc3", "snps,dwc3";
139 reg = <0x0 0x3100000 0x0 0x10000>;
140 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
141 dr_mode = "host";
142 @@ -878,7 +878,7 @@
143 };
144
145 usb1: usb@3110000 {
146 - compatible = "snps,dwc3";
147 + compatible = "fsl,lx2160a-dwc3", "snps,dwc3";
148 reg = <0x0 0x3110000 0x0 0x10000>;
149 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
150 dr_mode = "host";