aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-09-12 09:53:48 -0400
committerShawn Guo <shawnguo@kernel.org>2018-09-25 22:21:47 -0400
commitf2e7398987287ecc55ee60ceeb4617447ea17263 (patch)
tree153608107975dcab6f1a4b79edea08f8af1b27df
parent6656c39a07a3ee409ba6c97493b3b03123ab4e51 (diff)
ARM: dts: imx7: Update coresight binding for hardware ports
Switch to the updated coresight bindings. Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx7d.dtsi14
-rw-r--r--arch/arm/boot/dts/imx7s.dtsi82
2 files changed, 46 insertions, 50 deletions
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index fa675b8d84e9..73c35939e07c 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -64,9 +64,11 @@
64 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 64 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
65 clock-names = "apb_pclk"; 65 clock-names = "apb_pclk";
66 66
67 port { 67 out-ports {
68 etm1_out_port: endpoint { 68 port {
69 remote-endpoint = <&ca_funnel_in_port1>; 69 etm1_out_port: endpoint {
70 remote-endpoint = <&ca_funnel_in_port1>;
71 };
70 }; 72 };
71 }; 73 };
72 }; 74 };
@@ -153,11 +155,13 @@
153 }; 155 };
154}; 156};
155 157
156&ca_funnel_ports { 158&ca_funnel_in_ports {
159 #address-cells = <1>;
160 #size-cells = <0>;
161
157 port@1 { 162 port@1 {
158 reg = <1>; 163 reg = <1>;
159 ca_funnel_in_port1: endpoint { 164 ca_funnel_in_port1: endpoint {
160 slave-mode;
161 remote-endpoint = <&etm1_out_port>; 165 remote-endpoint = <&etm1_out_port>;
162 }; 166 };
163 }; 167 };
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index d3f64882f861..c59ca470f963 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -120,7 +120,7 @@
120 */ 120 */
121 compatible = "arm,coresight-replicator"; 121 compatible = "arm,coresight-replicator";
122 122
123 ports { 123 out-ports {
124 #address-cells = <1>; 124 #address-cells = <1>;
125 #size-cells = <0>; 125 #size-cells = <0>;
126 /* replicator output ports */ 126 /* replicator output ports */
@@ -137,12 +137,11 @@
137 remote-endpoint = <&etr_in_port>; 137 remote-endpoint = <&etr_in_port>;
138 }; 138 };
139 }; 139 };
140 };
140 141
141 /* replicator input port */ 142 in-ports {
142 port@2 { 143 port {
143 reg = <0>;
144 replicator_in_port0: endpoint { 144 replicator_in_port0: endpoint {
145 slave-mode;
146 remote-endpoint = <&etf_out_port>; 145 remote-endpoint = <&etf_out_port>;
147 }; 146 };
148 }; 147 };
@@ -182,28 +181,23 @@
182 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 181 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
183 clock-names = "apb_pclk"; 182 clock-names = "apb_pclk";
184 183
185 ca_funnel_ports: ports { 184 ca_funnel_in_ports: in-ports {
186 #address-cells = <1>; 185 port {
187 #size-cells = <0>;
188
189 /* funnel input ports */
190 port@0 {
191 reg = <0>;
192 ca_funnel_in_port0: endpoint { 186 ca_funnel_in_port0: endpoint {
193 slave-mode;
194 remote-endpoint = <&etm0_out_port>; 187 remote-endpoint = <&etm0_out_port>;
195 }; 188 };
196 }; 189 };
197 190
198 /* funnel output port */ 191 /* the other input ports are not connect to anything */
199 port@2 { 192 };
200 reg = <0>; 193
194 out-ports {
195 port {
201 ca_funnel_out_port0: endpoint { 196 ca_funnel_out_port0: endpoint {
202 remote-endpoint = <&hugo_funnel_in_port0>; 197 remote-endpoint = <&hugo_funnel_in_port0>;
203 }; 198 };
204 }; 199 };
205 200
206 /* the other input ports are not connect to anything */
207 }; 201 };
208 }; 202 };
209 203
@@ -214,9 +208,11 @@
214 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 208 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
215 clock-names = "apb_pclk"; 209 clock-names = "apb_pclk";
216 210
217 port { 211 out-ports {
218 etm0_out_port: endpoint { 212 port {
219 remote-endpoint = <&ca_funnel_in_port0>; 213 etm0_out_port: endpoint {
214 remote-endpoint = <&ca_funnel_in_port0>;
215 };
220 }; 216 };
221 }; 217 };
222 }; 218 };
@@ -227,15 +223,13 @@
227 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 223 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
228 clock-names = "apb_pclk"; 224 clock-names = "apb_pclk";
229 225
230 ports { 226 in-ports {
231 #address-cells = <1>; 227 #address-cells = <1>;
232 #size-cells = <0>; 228 #size-cells = <0>;
233 229
234 /* funnel input ports */
235 port@0 { 230 port@0 {
236 reg = <0>; 231 reg = <0>;
237 hugo_funnel_in_port0: endpoint { 232 hugo_funnel_in_port0: endpoint {
238 slave-mode;
239 remote-endpoint = <&ca_funnel_out_port0>; 233 remote-endpoint = <&ca_funnel_out_port0>;
240 }; 234 };
241 }; 235 };
@@ -243,18 +237,18 @@
243 port@1 { 237 port@1 {
244 reg = <1>; 238 reg = <1>;
245 hugo_funnel_in_port1: endpoint { 239 hugo_funnel_in_port1: endpoint {
246 slave-mode; /* M4 input */ 240 /* M4 input */
247 }; 241 };
248 }; 242 };
243 /* the other input ports are not connect to anything */
244 };
249 245
250 port@2 { 246 out-ports {
251 reg = <0>; 247 port {
252 hugo_funnel_out_port0: endpoint { 248 hugo_funnel_out_port0: endpoint {
253 remote-endpoint = <&etf_in_port>; 249 remote-endpoint = <&etf_in_port>;
254 }; 250 };
255 }; 251 };
256
257 /* the other input ports are not connect to anything */
258 }; 252 };
259 }; 253 };
260 254
@@ -264,20 +258,16 @@
264 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 258 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
265 clock-names = "apb_pclk"; 259 clock-names = "apb_pclk";
266 260
267 ports { 261 in-ports {
268 #address-cells = <1>; 262 port {
269 #size-cells = <0>;
270
271 port@0 {
272 reg = <0>;
273 etf_in_port: endpoint { 263 etf_in_port: endpoint {
274 slave-mode;
275 remote-endpoint = <&hugo_funnel_out_port0>; 264 remote-endpoint = <&hugo_funnel_out_port0>;
276 }; 265 };
277 }; 266 };
267 };
278 268
279 port@1 { 269 out-ports {
280 reg = <0>; 270 port {
281 etf_out_port: endpoint { 271 etf_out_port: endpoint {
282 remote-endpoint = <&replicator_in_port0>; 272 remote-endpoint = <&replicator_in_port0>;
283 }; 273 };
@@ -291,10 +281,11 @@
291 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 281 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
292 clock-names = "apb_pclk"; 282 clock-names = "apb_pclk";
293 283
294 port { 284 in-ports {
295 etr_in_port: endpoint { 285 port {
296 slave-mode; 286 etr_in_port: endpoint {
297 remote-endpoint = <&replicator_out_port1>; 287 remote-endpoint = <&replicator_out_port1>;
288 };
298 }; 289 };
299 }; 290 };
300 }; 291 };
@@ -305,10 +296,11 @@
305 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; 296 clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>;
306 clock-names = "apb_pclk"; 297 clock-names = "apb_pclk";
307 298
308 port { 299 in-ports {
309 tpiu_in_port: endpoint { 300 port {
310 slave-mode; 301 tpiu_in_port: endpoint {
311 remote-endpoint = <&replicator_out_port0>; 302 remote-endpoint = <&replicator_out_port0>;
303 };
312 }; 304 };
313 }; 305 };
314 }; 306 };