1 From fd5901a48f68c74f074ea5c490377b7c9f3899f5 Mon Sep 17 00:00:00 2001
2 From: Li Yang <leoyang.li@nxp.com>
3 Date: Fri, 5 Oct 2018 17:52:23 -0500
4 Subject: [PATCH] sdk: arm64: dts: add/update DPAA1 include files for SDK
7 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
8 Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
9 Signed-off-by: Li Yang <leoyang.li@nxp.com>
11 .../boot/dts/freescale/qoriq-bman-portals-sdk.dtsi | 55 +++++++++++++++++
12 arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi | 72 ++++++++++++++++++++++
13 .../boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi | 9 +--
14 .../boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi | 9 +--
15 .../boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi | 5 +-
16 .../boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi | 5 +-
17 .../boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi | 5 +-
18 .../boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi | 5 +-
19 .../boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi | 5 +-
20 .../boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi | 5 +-
21 .../boot/dts/freescale/qoriq-fman3-0-6oh.dtsi | 47 ++++++++++++++
22 arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 52 +++++++++++++++-
23 .../boot/dts/freescale/qoriq-qman-portals-sdk.dtsi | 38 ++++++++++++
24 13 files changed, 291 insertions(+), 21 deletions(-)
25 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
26 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
27 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
28 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
31 +++ b/arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
34 + * QorIQ BMan SDK Portals device tree nodes
36 + * Copyright 2011-2016 Freescale Semiconductor Inc.
37 + * Copyright 2017 NXP
39 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
84 + compatible = "fsl,bpid-range";
85 + fsl,bpid-range = <32 32>;
89 +++ b/arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
92 + * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x400000 ]
94 + * Copyright 2012 - 2015 Freescale Semiconductor Inc.
96 + * Redistribution and use in source and binary forms, with or without
97 + * modification, are permitted provided that the following conditions are met:
98 + * * Redistributions of source code must retain the above copyright
99 + * notice, this list of conditions and the following disclaimer.
100 + * * Redistributions in binary form must reproduce the above copyright
101 + * notice, this list of conditions and the following disclaimer in the
102 + * documentation and/or other materials provided with the distribution.
103 + * * Neither the name of Freescale Semiconductor nor the
104 + * names of its contributors may be used to endorse or promote products
105 + * derived from this software without specific prior written permission.
108 + * ALTERNATIVELY, this software may be distributed under the terms of the
109 + * GNU General Public License ("GPL") as published by the Free Software
110 + * Foundation, either version 2 of that License or (at your option) any
113 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
114 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
115 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
116 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
117 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
118 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
119 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
120 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
121 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
122 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
126 + compatible = "fsl,ls1043a-dpaa", "simple-bus", "fsl,dpaa";
128 + compatible = "fsl,dpa-ethernet";
129 + fsl,fman-mac = <&enet0>;
133 + compatible = "fsl,dpa-ethernet";
134 + fsl,fman-mac = <&enet1>;
138 + compatible = "fsl,dpa-ethernet";
139 + fsl,fman-mac = <&enet2>;
143 + compatible = "fsl,dpa-ethernet";
144 + fsl,fman-mac = <&enet3>;
148 + compatible = "fsl,dpa-ethernet";
149 + fsl,fman-mac = <&enet4>;
153 + compatible = "fsl,dpa-ethernet";
154 + fsl,fman-mac = <&enet5>;
158 + compatible = "fsl,dpa-ethernet";
159 + fsl,fman-mac = <&enet6>;
163 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
164 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
167 fman0_rx_0x10: port@90000 {
169 - compatible = "fsl,fman-v3-port-rx";
170 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
171 reg = <0x90000 0x1000>;
175 fman0_tx_0x30: port@b0000 {
177 - compatible = "fsl,fman-v3-port-tx";
178 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
179 reg = <0xb0000 0x1000>;
181 + fsl,qman-channel-id = <0x800>;
185 + mac9: ethernet@f0000 {
187 compatible = "fsl,fman-memac";
188 reg = <0xf0000 0x1000>;
189 @@ -29,7 +30,7 @@ fman@1a00000 {
190 pcsphy-handle = <&pcsphy6>;
194 + mdio9: mdio@f1000 {
195 #address-cells = <1>;
197 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
198 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
199 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
202 fman0_rx_0x11: port@91000 {
204 - compatible = "fsl,fman-v3-port-rx";
205 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
206 reg = <0x91000 0x1000>;
210 fman0_tx_0x31: port@b1000 {
212 - compatible = "fsl,fman-v3-port-tx";
213 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
214 reg = <0xb1000 0x1000>;
216 + fsl,qman-channel-id = <0x801>;
220 + mac10: ethernet@f2000 {
222 compatible = "fsl,fman-memac";
223 reg = <0xf2000 0x1000>;
224 @@ -29,7 +30,7 @@ fman@1a00000 {
225 pcsphy-handle = <&pcsphy7>;
229 + mdio10: mdio@f3000 {
230 #address-cells = <1>;
232 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
233 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
234 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
237 fman0_rx_0x08: port@88000 {
239 - compatible = "fsl,fman-v3-port-rx";
240 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
241 reg = <0x88000 0x1000>;
244 fman0_tx_0x28: port@a8000 {
246 - compatible = "fsl,fman-v3-port-tx";
247 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
248 reg = <0xa8000 0x1000>;
249 + fsl,qman-channel-id = <0x802>;
253 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
254 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
257 fman0_rx_0x09: port@89000 {
259 - compatible = "fsl,fman-v3-port-rx";
260 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
261 reg = <0x89000 0x1000>;
264 fman0_tx_0x29: port@a9000 {
266 - compatible = "fsl,fman-v3-port-tx";
267 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
268 reg = <0xa9000 0x1000>;
269 + fsl,qman-channel-id = <0x803>;
273 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
274 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
277 fman0_rx_0x0a: port@8a000 {
279 - compatible = "fsl,fman-v3-port-rx";
280 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
281 reg = <0x8a000 0x1000>;
284 fman0_tx_0x2a: port@aa000 {
286 - compatible = "fsl,fman-v3-port-tx";
287 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
288 reg = <0xaa000 0x1000>;
289 + fsl,qman-channel-id = <0x804>;
293 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
294 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
297 fman0_rx_0x0b: port@8b000 {
299 - compatible = "fsl,fman-v3-port-rx";
300 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
301 reg = <0x8b000 0x1000>;
304 fman0_tx_0x2b: port@ab000 {
306 - compatible = "fsl,fman-v3-port-tx";
307 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
308 reg = <0xab000 0x1000>;
309 + fsl,qman-channel-id = <0x805>;
313 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
314 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
317 fman0_rx_0x0c: port@8c000 {
319 - compatible = "fsl,fman-v3-port-rx";
320 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
321 reg = <0x8c000 0x1000>;
324 fman0_tx_0x2c: port@ac000 {
326 - compatible = "fsl,fman-v3-port-tx";
327 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
328 reg = <0xac000 0x1000>;
329 + fsl,qman-channel-id = <0x806>;
333 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
334 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
337 fman0_rx_0x0d: port@8d000 {
339 - compatible = "fsl,fman-v3-port-rx";
340 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
341 reg = <0x8d000 0x1000>;
344 fman0_tx_0x2d: port@ad000 {
346 - compatible = "fsl,fman-v3-port-tx";
347 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
348 reg = <0xad000 0x1000>;
349 + fsl,qman-channel-id = <0x807>;
354 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
357 + * QorIQ FMan v3 OH ports device tree
359 + * Copyright 2012-2015 Freescale Semiconductor Inc.
361 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
366 + fman0_oh1: port@82000 {
368 + compatible = "fsl,fman-port-oh";
369 + reg = <0x82000 0x1000>;
372 + fman0_oh2: port@83000 {
374 + compatible = "fsl,fman-port-oh";
375 + reg = <0x83000 0x1000>;
378 + fman0_oh3: port@84000 {
380 + compatible = "fsl,fman-port-oh";
381 + reg = <0x84000 0x1000>;
384 + fman0_oh4: port@85000 {
386 + compatible = "fsl,fman-port-oh";
387 + reg = <0x85000 0x1000>;
390 + fman0_oh5: port@86000 {
392 + compatible = "fsl,fman-port-oh";
393 + reg = <0x86000 0x1000>;
396 + fman0_oh6: port@87000 {
398 + compatible = "fsl,fman-port-oh";
399 + reg = <0x87000 0x1000>;
403 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
404 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
405 @@ -20,45 +20,95 @@ fman0: fman@1a00000 {
406 fsl,qman-channel-range = <0x800 0x10>;
407 ptimer-handle = <&ptp_timer0>;
410 + compatible = "fsl,fman-cc";
414 compatible = "fsl,fman-muram";
419 + compatible = "fsl,fman-bmi";
420 + reg = <0x80000 0x400>;
424 + compatible = "fsl,fman-qmi";
425 + reg = <0x80400 0x400>;
428 fman0_oh_0x2: port@82000 {
430 compatible = "fsl,fman-v3-port-oh";
431 reg = <0x82000 0x1000>;
432 + fsl,qman-channel-id = <0x809>;
435 fman0_oh_0x3: port@83000 {
437 compatible = "fsl,fman-v3-port-oh";
438 reg = <0x83000 0x1000>;
439 + fsl,qman-channel-id = <0x80a>;
442 fman0_oh_0x4: port@84000 {
444 compatible = "fsl,fman-v3-port-oh";
445 reg = <0x84000 0x1000>;
446 + fsl,qman-channel-id = <0x80b>;
449 fman0_oh_0x5: port@85000 {
451 compatible = "fsl,fman-v3-port-oh";
452 reg = <0x85000 0x1000>;
453 + fsl,qman-channel-id = <0x80c>;
456 fman0_oh_0x6: port@86000 {
458 compatible = "fsl,fman-v3-port-oh";
459 reg = <0x86000 0x1000>;
460 + fsl,qman-channel-id = <0x80d>;
463 fman0_oh_0x7: port@87000 {
465 compatible = "fsl,fman-v3-port-oh";
466 reg = <0x87000 0x1000>;
467 + fsl,qman-channel-id = <0x80e>;
471 + compatible = "fsl,fman-policer";
472 + reg = <0xc0000 0x1000>;
476 + compatible = "fsl,fman-keygen";
477 + reg = <0xc1000 0x1000>;
481 + compatible = "fsl,fman-dma";
482 + reg = <0xc2000 0x1000>;
486 + compatible = "fsl,fman-fpm";
487 + reg = <0xc3000 0x1000>;
491 + compatible = "fsl,fman-parser";
492 + reg = <0xc7000 0x1000>;
496 + compatible = "fsl,fman-vsps";
497 + reg = <0xdc000 0x1000>;
501 @@ -77,7 +127,7 @@ fman0: fman@1a00000 {
504 ptp_timer0: ptp-timer@1afe000 {
505 - compatible = "fsl,fman-ptp-timer";
506 + compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc";
507 reg = <0x0 0x1afe000 0x0 0x1000>;
508 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
509 clocks = <&clockgen 3 0>;
511 +++ b/arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
514 + * QorIQ QMan SDK Portals device tree nodes
516 + * Copyright 2011-2016 Freescale Semiconductor Inc.
517 + * Copyright 2017 NXP
519 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
524 + compatible = "fsl,fqid-range";
525 + fsl,fqid-range = <256 256>;
529 + compatible = "fsl,fqid-range";
530 + fsl,fqid-range = <32768 32768>;
534 + compatible = "fsl,pool-channel-range";
535 + fsl,pool-channel-range = <0x401 0xf>;
539 + compatible = "fsl,cgrid-range";
540 + fsl,cgrid-range = <0 256>;
544 + compatible = "fsl,qman-ceetm";
545 + fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
546 + fsl,ceetm-sp-range = <0 16>;
547 + fsl,ceetm-lni-range = <0 8>;
548 + fsl,ceetm-channel-range = <0 32>;