sdk: ppc: dts: New files for accumulated DPAA1 updates
authorLi Yang <leoyang.li@nxp.com>
Fri, 5 Oct 2018 22:10:23 +0000 (17:10 -0500)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:25:52 +0000 (11:25 +0800)
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
35 files changed:
arch/powerpc/boot/dts/fsl/b4420qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/b4860qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p1023rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p2041rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p3041ds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p4080ds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p5020ds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/p5040ds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-bman-portals-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-dpaa-eth.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman-0-chosen-fifo-resize.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman-0-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman-1-chosen-fifo-resize.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman-1-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-qman1-portals-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-32-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-8-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm1-32-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/qoriq-qman3-portals-sdk.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1023rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1024qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1024rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1040d4rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1040qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1040rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1042d4rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1042qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t1042rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t2080qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t2080rdb-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t2081qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t4240qds-sdk.dts [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/t4240rdb-sdk.dts [new file with mode: 0644]

diff --git a/arch/powerpc/boot/dts/fsl/b4420qds-sdk.dts b/arch/powerpc/boot/dts/fsl/b4420qds-sdk.dts
new file mode 100644 (file)
index 0000000..974838f
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "b4420qds.dts"
diff --git a/arch/powerpc/boot/dts/fsl/b4860qds-sdk.dts b/arch/powerpc/boot/dts/fsl/b4860qds-sdk.dts
new file mode 100644 (file)
index 0000000..d708f9b
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "b4860qds.dts"
diff --git a/arch/powerpc/boot/dts/fsl/p1023rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/p1023rdb-sdk.dts
new file mode 100644 (file)
index 0000000..85ccbfc
--- /dev/null
@@ -0,0 +1,126 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p1023rdb.dts"
+
+&soc {
+       fman0: fman@100000 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               cell-index = <0>;
+               compatible = "fsl,fman", "simple-bus";
+               ranges = <0 0x100000 0x100000>;
+               reg = <0x100000 0x100000>;
+               clock-frequency = <0>;
+               interrupts = <
+               24 2 0 0
+               16 2 0 0>;
+               cc@0 {
+                       compatible = "fsl,fman-cc";
+               };
+               muram@0 {
+                       compatible = "fsl,fman-muram";
+                       reg = <0x0 0x10000>;
+               };
+               bmi@80000 {
+                       compatible = "fsl,fman-bmi";
+                       reg = <0x80000 0x400>;
+               };
+               qmi@80400 {
+                       compatible = "fsl,fman-qmi";
+                       reg = <0x80400 0x400>;
+               };
+               policer@c0000 {
+                       compatible = "fsl,fman-policer";
+                       reg = <0xc0000 0x1000>;
+               };
+               keygen@c1000 {
+                       compatible = "fsl,fman-keygen";
+                       reg = <0xc1000 0x1000>;
+               };
+               dma@c2000 {
+                       compatible = "fsl,fman-dma";
+                       reg = <0xc2000 0x1000>;
+               };
+               fpm@c3000 {
+                       compatible = "fsl,fman-fpm";
+                       reg = <0xc3000 0x1000>;
+               };
+               parser@c7000 {
+                       compatible = "fsl,fman-parser";
+                       reg = <0xc7000 0x1000>;
+               };
+               fman0_rx0: port@88000 {
+                       cell-index = <0>;
+                       compatible = "fsl,fman-port-1g-rx";
+                       reg = <0x88000 0x1000>;
+               };
+               fman0_rx1: port@89000 {
+                       cell-index = <1>;
+                       compatible = "fsl,fman-port-1g-rx";
+                       reg = <0x89000 0x1000>;
+               };
+               fman0_tx0: port@a8000 {
+                       cell-index = <0>;
+                       compatible = "fsl,fman-port-1g-tx";
+                       reg = <0xa8000 0x1000>;
+                       fsl,qman-channel-id = <0x40>;
+               };
+               fman0_tx1: port@a9000 {
+                       cell-index = <1>;
+                       compatible = "fsl,fman-port-1g-tx";
+                       reg = <0xa9000 0x1000>;
+                       fsl,qman-channel-id = <0x41>;
+               };
+               fman0_oh1: port@82000 {
+                       cell-index = <1>;
+                       compatible = "fsl,fman-port-oh";
+                       reg = <0x82000 0x1000>;
+                       fsl,qman-channel-id = <0x43>;
+               };
+               fman0_oh2: port@83000 {
+                       cell-index = <2>;
+                       compatible = "fsl,fman-port-oh";
+                       reg = <0x83000 0x1000>;
+                       fsl,qman-channel-id = <0x44>;
+               };
+               fman0_oh3: port@84000 {
+                       cell-index = <3>;
+                       compatible = "fsl,fman-port-oh";
+                       reg = <0x84000 0x1000>;
+                       fsl,qman-channel-id = <0x45>;
+               };
+               fman0_oh4: port@85000 {
+                       cell-index = <4>;
+                       compatible = "fsl,fman-port-oh";
+                       reg = <0x85000 0x1000>;
+                       fsl,qman-channel-id = <0x46>;
+               };
+               enet0: ethernet@e0000 {
+                       cell-index = <0>;
+                       compatible = "fsl,fman-dtsec";
+                       reg = <0xe0000 0x1000>;
+                       fsl,port-handles = <&fman0_rx0 &fman0_tx0>;
+               };
+               enet1: ethernet@e2000 {
+                       cell-index = <1>;
+                       compatible = "fsl,fman-dtsec";
+                       reg = <0xe2000 0x1000>;
+                       fsl,port-handles = <&fman0_rx1 &fman0_tx1>;
+               };
+               mdio0: mdio@e1120 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "fsl,fman-mdio";
+                       reg = <0xe1120 0xee0>;
+                       interrupts = <26 1 0 0>;
+               };
+       };
+};
+
+&bportals {
+       compatible = "fsl,bpid-range";
+       fsl,bpid-range = <32 32>;
+};
diff --git a/arch/powerpc/boot/dts/fsl/p2041rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/p2041rdb-sdk.dts
new file mode 100644 (file)
index 0000000..4c8371b
--- /dev/null
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p2041rdb.dts"
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-dpaa-eth.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman1-portals-sdk.dtsi"
diff --git a/arch/powerpc/boot/dts/fsl/p3041ds-sdk.dts b/arch/powerpc/boot/dts/fsl/p3041ds-sdk.dts
new file mode 100644 (file)
index 0000000..6f47341
--- /dev/null
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p3041ds.dts"
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-dpaa-eth.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman1-portals-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@2 {
+                       status = "disabled";
+               };
+       };
+};
+
diff --git a/arch/powerpc/boot/dts/fsl/p4080ds-sdk.dts b/arch/powerpc/boot/dts/fsl/p4080ds-sdk.dts
new file mode 100644 (file)
index 0000000..6b2dbfc
--- /dev/null
@@ -0,0 +1,74 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p4080ds.dts"
+
+/ {
+
+       aliases {
+               phy_rgmii = &phyrgmii;
+               phy5_slot3 = &phy5slot3;
+               phy6_slot3 = &phy6slot3;
+               phy7_slot3 = &phy7slot3;
+               phy8_slot3 = &phy8slot3;
+               emi1_slot3 = &p4080mdio2;
+               emi1_slot4 = &p4080mdio1;
+               emi1_slot5 = &p4080mdio3;
+               emi1_rgmii = &p4080mdio0;
+               emi2_slot4 = &p4080xmdio1;
+               emi2_slot5 = &p4080xmdio3;
+       };
+};
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-fman-1-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman1-portals-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+               ethernet@5 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+               };
+               ethernet@6 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet6>;
+               };
+               ethernet@7 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet7>;
+               };
+               ethernet@8 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet8>;
+               };
+               ethernet@9 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet9>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/p5020ds-sdk.dts b/arch/powerpc/boot/dts/fsl/p5020ds-sdk.dts
new file mode 100644 (file)
index 0000000..42240a8
--- /dev/null
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p5020ds.dts"
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman1-portals-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+                       status = "disabled";
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+               ethernet@5 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/p5040ds-sdk.dts b/arch/powerpc/boot/dts/fsl/p5040ds-sdk.dts
new file mode 100644 (file)
index 0000000..d5af499
--- /dev/null
@@ -0,0 +1,68 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "p5040ds.dts"
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-fman-1-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman1-portals-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+                       status = "disabled";
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+               ethernet@5 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+               };
+               ethernet@6 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet6>;
+                       status = "disabled";
+               };
+               ethernet@7 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet7>;
+               };
+               ethernet@8 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet8>;
+               };
+               ethernet@9 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet9>;
+               };
+               ethernet@10 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet10>;
+               };
+               ethernet@11 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet11>;
+               };
+       };
+};
+
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-bman-portals-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-bman-portals-sdk.dtsi
new file mode 100644 (file)
index 0000000..1303930
--- /dev/null
@@ -0,0 +1,80 @@
+/*
+ * QorIQ BMan Portal device tree stub for 10 portals
+ *
+ * Copyright 2011 - 2014 Freescale Semiconductor Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in the
+ *      documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *      names of its contributors may be used to endorse or promote products
+ *      derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&bportals {
+       bman-portal@0 {
+               cell-index = <0>;
+       };
+
+       bman-portal@4000 {
+               cell-index = <1>;
+       };
+
+       bman-portal@8000 {
+               cell-index = <2>;
+       };
+
+       bman-portal@c000 {
+               cell-index = <3>;
+       };
+
+       bman-portal@10000 {
+               cell-index = <4>;
+       };
+
+       bman-portal@14000 {
+               cell-index = <5>;
+       };
+
+       bman-portal@18000 {
+               cell-index = <6>;
+       };
+
+       bman-portal@1c000 {
+               cell-index = <7>;
+       };
+
+       bman-portal@20000 {
+               cell-index = <8>;
+       };
+
+       bman-portal@24000 {
+               cell-index = <9>;
+       };
+
+       bman-bpids@0 {
+               compatible = "fsl,bpid-range";
+               fsl,bpid-range = <32 32>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-dpaa-eth.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-dpaa-eth.dtsi
new file mode 100644 (file)
index 0000000..d12b191
--- /dev/null
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+               ethernet@5 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman-0-chosen-fifo-resize.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman-0-chosen-fifo-resize.dtsi
new file mode 100644 (file)
index 0000000..46189b6
--- /dev/null
@@ -0,0 +1,108 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2018 NXP
+ */
+
+&soc {
+       chosen {
+               name = "chosen";
+               dpaa-extended-args {
+                       fman0-extd-args {
+                               cell-index = <0>;
+                               compatible = "fsl,fman-extended-args";
+                               total-fifo-size = <0x27000>;
+                               fman0_oh1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-op-extended-args";
+                                       fifo-size = <0x800 0x0>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x1 0x4>;
+                               };
+                               fman0_rx0-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_tx0-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_rx1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_tx1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_rx2-extd-args {
+                                       cell-index = <2>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_tx2-extd-args {
+                                       cell-index = <2>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_rx3-extd-args {
+                                       cell-index = <3>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_tx3-extd-args {
+                                       cell-index = <3>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_rx4-extd-args {
+                                       cell-index = <4>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_tx4-extd-args {
+                                       cell-index = <4>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman0_rx8-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-10g-rx-extended-args";
+                                       fifo-size = <0x7000 0x3000>;
+                                       num-dmas = <0x8 0x8>;
+                                       num-tnums = <0x10 0x8>;
+                               };
+                               fman0_tx8-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-10g-tx-extended-args";
+                                       fifo-size = <0x4000 0x0>;
+                                       num-dmas = <0x8 0x0>;
+                                       num-tnums = <0x10 0x8>;
+                               };
+                       };
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman-0-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman-0-sdk.dtsi
new file mode 100644 (file)
index 0000000..41bf8de
--- /dev/null
@@ -0,0 +1,83 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+&fman0 {
+       compatible = "fsl,fman", "simple-bus";
+
+       /* tx - 1g - 0 */
+       port@a8000 {
+               fsl,qman-channel-id = <0x41>;
+       };
+       /* tx - 1g - 1 */
+       port@a9000 {
+               fsl,qman-channel-id = <0x42>;
+       };
+       /* tx - 1g - 2 */
+       port@aa000 {
+               fsl,qman-channel-id = <0x43>;
+       };
+       /* tx - 1g - 3 */
+       port@ab000 {
+               fsl,qman-channel-id = <0x44>;
+       };
+       /* tx - 1g - 4 */
+       port@ac000 {
+               fsl,qman-channel-id = <0x45>;
+       };
+       /* tx - 10g - 0 */
+       port@b0000 {
+               fsl,qman-channel-id = <0x40>;
+       };
+       /* offline 0 */
+       port@81000 {
+               fsl,qman-channel-id = <0x46>;
+       };
+       /* offline 1 */
+       port@82000 {
+               fsl,qman-channel-id = <0x47>;
+       };
+       /* offline 2 */
+       port@83000 {
+               fsl,qman-channel-id = <0x48>;
+       };
+       /* offline 3 */
+       port@84000 {
+               fsl,qman-channel-id = <0x49>;
+       };
+       /* offline 4 */
+       port@85000 {
+               fsl,qman-channel-id = <0x4a>;
+       };
+       /* offline 5 */
+       port@86000 {
+               fsl,qman-channel-id = <0x4b>;
+       };
+
+       policer@c0000 {
+               compatible = "fsl,fman-policer";
+               reg = <0xc0000 0x1000>;
+       };
+
+       keygen@c1000 {
+               compatible = "fsl,fman-keygen";
+               reg = <0xc1000 0x1000>;
+       };
+
+       dma@c2000 {
+               compatible = "fsl,fman-dma";
+               reg = <0xc2000 0x1000>;
+       };
+
+       fpm@c3000 {
+               compatible = "fsl,fman-fpm";
+               reg = <0xc3000 0x1000>;
+       };
+
+       parser@c7000 {
+               compatible = "fsl,fman-parser";
+               reg = <0xc7000 0x1000>;
+       };
+};
+
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman-1-chosen-fifo-resize.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman-1-chosen-fifo-resize.dtsi
new file mode 100644 (file)
index 0000000..90f47c9
--- /dev/null
@@ -0,0 +1,108 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2018 NXP
+ */
+
+&soc {
+       chosen {
+               name = "chosen";
+               dpaa-extended-args {
+                       fman1-extd-args {
+                               cell-index = <1>;
+                               compatible = "fsl,fman-extended-args";
+                               total-fifo-size = <0x27000>;
+                               fman1_oh1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-op-extended-args";
+                                       fifo-size = <0x800 0x0>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x1 0x4>;
+                               };
+                               fman1_rx0-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_tx0-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_rx1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_tx1-extd-args {
+                                       cell-index = <1>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_rx2-extd-args {
+                                       cell-index = <2>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_tx2-extd-args {
+                                       cell-index = <2>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_rx3-extd-args {
+                                       cell-index = <3>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_tx3-extd-args {
+                                       cell-index = <3>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_rx4-extd-args {
+                                       cell-index = <4>;
+                                       compatible = "fsl,fman-port-1g-rx-extended-args";
+                                       fifo-size = <0x2f00 0x2000>;
+                                       num-dmas = <0x1 0x1>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_tx4-extd-args {
+                                       cell-index = <4>;
+                                       compatible = "fsl,fman-port-1g-tx-extended-args";
+                                       fifo-size = <0x2c00 0x0>;
+                                       num-dmas = <0x1 0x0>;
+                                       num-tnums = <0x4 0x4>;
+                               };
+                               fman1_rx8-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-10g-rx-extended-args";
+                                       fifo-size = <0x7000 0x3000>;
+                                       num-dmas = <0x8 0x8>;
+                                       num-tnums = <0x10 0x8>;
+                               };
+                               fman1_tx8-extd-args {
+                                       cell-index = <0>;
+                                       compatible = "fsl,fman-port-10g-tx-extended-args";
+                                       fifo-size = <0x4000 0x0>;
+                                       num-dmas = <0x8 0x0>;
+                                       num-tnums = <0x10 0x8>;
+                               };
+                       };
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman-1-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman-1-sdk.dtsi
new file mode 100644 (file)
index 0000000..cba95e0
--- /dev/null
@@ -0,0 +1,82 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+&fman1 {
+       compatible = "fsl,fman", "simple-bus";
+
+       /* tx - 1g - 0 */
+       port@a8000 {
+               fsl,qman-channel-id = <0x61>;
+       };
+       /* tx - 1g - 1 */
+       port@a9000 {
+               fsl,qman-channel-id = <0x62>;
+       };
+       /* tx - 1g - 2 */
+       port@aa000 {
+               fsl,qman-channel-id = <0x63>;
+       };
+       /* tx - 1g - 3 */
+       port@ab000 {
+               fsl,qman-channel-id = <0x64>;
+       };
+       /* tx - 1g - 4 */
+       port@ac000 {
+               fsl,qman-channel-id = <0x65>;
+       };
+       /* tx - 10g - 0 */
+       port@b0000 {
+               fsl,qman-channel-id = <0x60>;
+       };
+       /* offline 0 */
+       port@81000 {
+               fsl,qman-channel-id = <0x66>;
+       };
+       /* offline 1 */
+       port@82000 {
+               fsl,qman-channel-id = <0x67>;
+       };
+       /* offline 2 */
+       port@83000 {
+               fsl,qman-channel-id = <0x68>;
+       };
+       /* offline 3 */
+       port@84000 {
+               fsl,qman-channel-id = <0x69>;
+       };
+       /* offline 4 */
+       port@85000 {
+               fsl,qman-channel-id = <0x6a>;
+       };
+       /* offline 5 */
+       port@86000 {
+               fsl,qman-channel-id = <0x6b>;
+       };
+
+       policer@c0000 {
+               compatible = "fsl,fman-policer";
+               reg = <0xc0000 0x1000>;
+       };
+
+       keygen@c1000 {
+               compatible = "fsl,fman-keygen";
+               reg = <0xc1000 0x1000>;
+       };
+
+       dma@c2000 {
+               compatible = "fsl,fman-dma";
+               reg = <0xc2000 0x1000>;
+       };
+
+       fpm@c3000 {
+               compatible = "fsl,fman-fpm";
+               reg = <0xc3000 0x1000>;
+       };
+
+       parser@c7000 {
+               compatible = "fsl,fman-parser";
+               reg = <0xc7000 0x1000>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman3-0-sdk.dtsi
new file mode 100644 (file)
index 0000000..a21ae92
--- /dev/null
@@ -0,0 +1,95 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+&fman0 {
+       compatible = "fsl,fman", "simple-bus";
+
+       /* tx - 10g - 2 */
+       port@a8000 {
+               fsl,qman-channel-id = <0x802>;
+       };
+       /* tx - 10g - 3 */
+       port@a9000 {
+               fsl,qman-channel-id = <0x803>;
+       };
+       /* tx - 1g - 2 */
+       port@aa000 {
+               fsl,qman-channel-id = <0x804>;
+       };
+       /* tx - 1g - 3 */
+       port@ab000 {
+               fsl,qman-channel-id = <0x805>;
+       };
+       /* tx - 1g - 4 */
+       port@ac000 {
+               fsl,qman-channel-id = <0x806>;
+       };
+       /* tx - 1g - 5 */
+       port@ad000 {
+               fsl,qman-channel-id = <0x807>;
+       };
+       /* tx - 10g - 0 */
+       port@b0000 {
+               fsl,qman-channel-id = <0x800>;
+       };
+       /* tx - 10g - 1 */
+       port@b1000 {
+               fsl,qman-channel-id = <0x801>;
+       };
+       /* offline - 1 */
+       port@82000 {
+               fsl,qman-channel-id = <0x809>;
+       };
+       /* offline - 2 */
+       port@83000 {
+               fsl,qman-channel-id = <0x80a>;
+       };
+       /* offline - 3 */
+       port@84000 {
+               fsl,qman-channel-id = <0x80b>;
+       };
+       /* offline - 4 */
+       port@85000 {
+               fsl,qman-channel-id = <0x80c>;
+       };
+       /* offline - 5 */
+       port@86000 {
+               fsl,qman-channel-id = <0x80d>;
+       };
+       /* offline - 6 */
+       port@87000 {
+               fsl,qman-channel-id = <0x80e>;
+       };
+
+       policer@c0000 {
+               compatible = "fsl,fman-policer";
+               reg = <0xc0000 0x1000>;
+       };
+
+       keygen@c1000 {
+               compatible = "fsl,fman-keygen";
+               reg = <0xc1000 0x1000>;
+       };
+
+       dma@c2000 {
+               compatible = "fsl,fman-dma";
+               reg = <0xc2000 0x1000>;
+       };
+
+       fpm@c3000 {
+               compatible = "fsl,fman-fpm";
+               reg = <0xc3000 0x1000>;
+       };
+
+       parser@c7000 {
+               compatible = "fsl,fman-parser";
+               reg = <0xc7000 0x1000>;
+       };
+
+       vsps@dc000 {
+               compatible = "fsl,fman-vsps";
+               reg = <0xdc000 0x1000>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-fman3-1-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-fman3-1-sdk.dtsi
new file mode 100644 (file)
index 0000000..397017a
--- /dev/null
@@ -0,0 +1,95 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+&fman1 {
+       compatible = "fsl,fman", "simple-bus";
+
+       /* tx - 1g - 0 */
+       port@a8000 {
+               fsl,qman-channel-id = <0x822>;
+       };
+       /* tx - 1g - 1 */
+       port@a9000 {
+               fsl,qman-channel-id = <0x823>;
+       };
+       /* tx - 1g - 2 */
+       port@aa000 {
+               fsl,qman-channel-id = <0x824>;
+       };
+       /* tx - 1g - 3 */
+       port@ab000 {
+               fsl,qman-channel-id = <0x825>;
+       };
+       /* tx - 1g - 4 */
+       port@ac000 {
+               fsl,qman-channel-id = <0x826>;
+       };
+       /* tx - 1g - 5 */
+       port@ad000 {
+               fsl,qman-channel-id = <0x827>;
+       };
+       /* tx - 10g - 0 */
+       port@b0000 {
+               fsl,qman-channel-id = <0x820>;
+       };
+       /* tx - 10g - 1 */
+       port@b1000 {
+               fsl,qman-channel-id = <0x821>;
+       };
+       /* offline - 1 */
+       port@82000 {
+               fsl,qman-channel-id = <0x829>;
+       };
+       /* offline - 2 */
+       port@83000 {
+               fsl,qman-channel-id = <0x82a>;
+       };
+       /* offline - 3 */
+       port@84000 {
+               fsl,qman-channel-id = <0x82b>;
+       };
+       /* offline - 4 */
+       port@85000 {
+               fsl,qman-channel-id = <0x82c>;
+       };
+       /* offline - 5 */
+       port@86000 {
+               fsl,qman-channel-id = <0x82d>;
+       };
+       /* offline - 6 */
+       port@87000 {
+               fsl,qman-channel-id = <0x82e>;
+       };
+
+       policer@c0000 {
+               compatible = "fsl,fman-policer";
+               reg = <0xc0000 0x1000>;
+       };
+
+       keygen@c1000 {
+               compatible = "fsl,fman-keygen";
+               reg = <0xc1000 0x1000>;
+       };
+
+       dma@c2000 {
+               compatible = "fsl,fman-dma";
+               reg = <0xc2000 0x1000>;
+       };
+
+       fpm@c3000 {
+               compatible = "fsl,fman-fpm";
+               reg = <0xc3000 0x1000>;
+       };
+
+       parser@c7000 {
+               compatible = "fsl,fman-parser";
+               reg = <0xc7000 0x1000>;
+       };
+
+       vsps@dc000 {
+               compatible = "fsl,fman-vsps";
+               reg = <0xdc000 0x1000>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman1-portals-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman1-portals-sdk.dtsi
new file mode 100644 (file)
index 0000000..91266d1
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&qportals {
+       qman-fqids@0 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <256 256>;
+       };
+       qman-fqids@1 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <32768 32768>;
+       };
+       qman-pools@0 {
+               compatible = "fsl,pool-channel-range";
+               fsl,pool-channel-range = <0x21 0xf>;
+       };
+       qman-cgrids@0 {
+               compatible = "fsl,cgrid-range";
+               fsl,cgrid-range = <0 256>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-32-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-32-sdk.dtsi
new file mode 100644 (file)
index 0000000..a6205b1
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 - 2018 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&qportals {
+       qman-ceetm@0 {
+               compatible = "fsl,qman-ceetm";
+               fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
+               fsl,ceetm-sp-range = <0 16>;
+               fsl,ceetm-lni-range = <0 8>;
+               fsl,ceetm-channel-range = <0 32>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-8-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm0-8-sdk.dtsi
new file mode 100644 (file)
index 0000000..779ab5e
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 - 2018 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&qportals {
+       qman-ceetm@0 {
+               compatible = "fsl,qman-ceetm";
+               fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
+               fsl,ceetm-sp-range = <0 16>;
+               fsl,ceetm-lni-range = <0 8>;
+               fsl,ceetm-channel-range = <0 8>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm1-32-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman3-ceetm1-32-sdk.dtsi
new file mode 100644 (file)
index 0000000..2c75f4d
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 - 2018 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&qportals {
+       qman-ceetm@1 {
+               compatible = "fsl,qman-ceetm";
+               fsl,ceetm-lfqid-range = <0xf10000 0x1000>;
+               fsl,ceetm-sp-range = <0 16>;
+               fsl,ceetm-lni-range = <0 8>;
+               fsl,ceetm-channel-range = <0 32>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman3-portals-sdk.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman3-portals-sdk.dtsi
new file mode 100644 (file)
index 0000000..d8cb539
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2012 - 2015 Freescale Semiconductor Inc.
+ * Copyright 2017 NXP
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+&qportals {
+       qman-fqids@0 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <256 512>;
+       };
+       qman-fqids@1 {
+               compatible = "fsl,fqid-range";
+               fsl,fqid-range = <32768 32768>;
+       };
+       qman-pools@0 {
+               compatible = "fsl,pool-channel-range";
+               fsl,pool-channel-range = <0x401 0xf>;
+       };
+       qman-cgrids@0 {
+               compatible = "fsl,cgrid-range";
+               fsl,cgrid-range = <0 256>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1023rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1023rdb-sdk.dts
new file mode 100644 (file)
index 0000000..6a88f1e
--- /dev/null
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1023rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1024qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t1024qds-sdk.dts
new file mode 100644 (file)
index 0000000..a1b812d
--- /dev/null
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1024qds.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "fsl,ls1043a-dpaa", "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1024rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1024rdb-sdk.dts
new file mode 100644 (file)
index 0000000..a49b97d
--- /dev/null
@@ -0,0 +1,28 @@
+#include "t1024rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1040d4rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1040d4rdb-sdk.dts
new file mode 100644 (file)
index 0000000..97439ff
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1040d4rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1040qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t1040qds-sdk.dts
new file mode 100644 (file)
index 0000000..c316c9b
--- /dev/null
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1040qds.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
diff --git a/arch/powerpc/boot/dts/fsl/t1040rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1040rdb-sdk.dts
new file mode 100644 (file)
index 0000000..ef1e80b
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1040rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1042d4rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1042d4rdb-sdk.dts
new file mode 100644 (file)
index 0000000..6c3d636
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1042d4rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t1042qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t1042qds-sdk.dts
new file mode 100644 (file)
index 0000000..e9c68d0
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1042qds.dts"
diff --git a/arch/powerpc/boot/dts/fsl/t1042rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t1042rdb-sdk.dts
new file mode 100644 (file)
index 0000000..38f7032
--- /dev/null
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t1042rdb.dts"
+
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-8-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t2080qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t2080qds-sdk.dts
new file mode 100644 (file)
index 0000000..898ea46
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t2080qds.dts"
+
+/include/ "qoriq-fman-0-sdk.dtsi"
+/include/ "qoriq-dpaa-eth.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-32-sdk.dtsi"
diff --git a/arch/powerpc/boot/dts/fsl/t2080rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t2080rdb-sdk.dts
new file mode 100644 (file)
index 0000000..b3a5d75
--- /dev/null
@@ -0,0 +1,83 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+#include "t2080rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-32-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+               };
+               ethernet@5 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+               };
+               ethernet@6 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet6>;
+               };
+               ethernet@7 {
+                       compatible = "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet7>;
+               };
+       };
+};
+
+&bportals {
+       bman-portal@28000 {
+               cell-index = <0xa>;
+       };
+
+       bman-portal@2c000 {
+               cell-index = <0xb>;
+       };
+
+       bman-portal@30000 {
+               cell-index = <0xc>;
+       };
+
+       bman-portal@34000 {
+               cell-index = <0xd>;
+       };
+
+       bman-portal@38000 {
+               cell-index = <0xe>;
+       };
+
+       bman-portal@3c000 {
+               cell-index = <0xf>;
+       };
+
+       bman-portal@40000 {
+               cell-index = <0x10>;
+       };
+
+       bman-portal@44000 {
+               cell-index = <0x11>;
+       };
+};
diff --git a/arch/powerpc/boot/dts/fsl/t2081qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t2081qds-sdk.dts
new file mode 100644 (file)
index 0000000..2dcec8a
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "t2081qds.dts"
diff --git a/arch/powerpc/boot/dts/fsl/t4240qds-sdk.dts b/arch/powerpc/boot/dts/fsl/t4240qds-sdk.dts
new file mode 100644 (file)
index 0000000..db27e43
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "t4240qds.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-dpaa-eth.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-32-sdk.dtsi"
diff --git a/arch/powerpc/boot/dts/fsl/t4240rdb-sdk.dts b/arch/powerpc/boot/dts/fsl/t4240rdb-sdk.dts
new file mode 100644 (file)
index 0000000..4698f91
--- /dev/null
@@ -0,0 +1,249 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright 2017-2018 NXP
+ */
+
+/include/ "t4240rdb.dts"
+
+/include/ "qoriq-fman3-0-sdk.dtsi"
+/include/ "qoriq-fman3-1-sdk.dtsi"
+/include/ "qoriq-bman-portals-sdk.dtsi"
+/include/ "qoriq-qman3-portals-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm0-32-sdk.dtsi"
+/include/ "qoriq-qman3-ceetm1-32-sdk.dtsi"
+
+&soc {
+       fsldpaa: fsl,dpaa {
+               compatible = "simple-bus", "fsl,dpaa";
+               ethernet@0 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet0>;
+               };
+               ethernet@1 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet1>;
+               };
+               ethernet@2 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet2>;
+               };
+               ethernet@3 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet3>;
+               };
+               ethernet@4 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet4>;
+                       status = "disabled";
+               };
+               ethernet@5 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet5>;
+                       status = "disabled";
+               };
+               ethernet@6 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet6>;
+               };
+               ethernet@7 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet7>;
+               };
+               ethernet@8 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet8>;
+               };
+               ethernet@9 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet9>;
+               };
+               ethernet@10 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet10>;
+               };
+               ethernet@11 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet11>;
+               };
+               ethernet@12 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet12>;
+                       status = "disabled";
+               };
+               ethernet@13 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet13>;
+                       status = "disabled";
+               };
+               ethernet@14 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet14>;
+               };
+               ethernet@15 {
+                       compatible = "fsl,t4240-dpa-ethernet", "fsl,dpa-ethernet";
+                       fsl,fman-mac = <&enet15>;
+               };
+       };
+};
+
+&bportals {
+       bman-portal@28000 {
+               cell-index = <0xa>;
+       };
+
+       bman-portal@2c000 {
+               cell-index = <0xb>;
+       };
+
+       bman-portal@30000 {
+               cell-index = <0xc>;
+       };
+
+       bman-portal@34000 {
+               cell-index = <0xd>;
+       };
+
+       bman-portal@38000 {
+               cell-index = <0xe>;
+       };
+
+       bman-portal@3c000 {
+               cell-index = <0xf>;
+       };
+
+       bman-portal@40000 {
+               cell-index = <0x10>;
+       };
+
+       bman-portal@44000 {
+               cell-index = <0x11>;
+       };
+
+       bman-portal@48000 {
+               cell-index = <0x12>;
+       };
+
+       bman-portal@4c000 {
+               cell-index = <0x13>;
+       };
+
+       bman-portal@50000 {
+               cell-index = <0x14>;
+       };
+
+       bman-portal@54000 {
+               cell-index = <0x15>;
+       };
+
+       bman-portal@58000 {
+               cell-index = <0x16>;
+       };
+
+       bman-portal@5c000 {
+               cell-index = <0x17>;
+       };
+
+       bman-portal@60000 {
+               cell-index = <0x18>;
+       };
+
+       bman-portal@64000 {
+               cell-index = <0x19>;
+       };
+
+       bman-portal@68000 {
+               cell-index = <0x1a>;
+       };
+
+       bman-portal@6c000 {
+               cell-index = <0x1b>;
+       };
+
+       bman-portal@70000 {
+               cell-index = <0x1c>;
+       };
+
+       bman-portal@74000 {
+               cell-index = <0x1d>;
+       };
+
+       bman-portal@78000 {
+               cell-index = <0x1e>;
+       };
+
+       bman-portal@7c000 {
+               cell-index = <0x1f>;
+       };
+
+       bman-portal@80000 {
+               cell-index = <0x20>;
+       };
+
+       bman-portal@84000 {
+               cell-index = <0x21>;
+       };
+
+       bman-portal@88000 {
+               cell-index = <0x22>;
+       };
+
+       bman-portal@8c000 {
+               cell-index = <0x23>;
+       };
+
+       bman-portal@90000 {
+               cell-index = <0x24>;
+       };
+
+       bman-portal@94000 {
+               cell-index = <0x25>;
+       };
+
+       bman-portal@98000 {
+               cell-index = <0x26>;
+       };
+
+       bman-portal@9c000 {
+               cell-index = <0x27>;
+       };
+
+       bman-portal@a0000 {
+               cell-index = <0x28>;
+       };
+
+       bman-portal@a4000 {
+               cell-index = <0x29>;
+       };
+
+       bman-portal@a8000 {
+               cell-index = <0x2a>;
+       };
+
+       bman-portal@ac000 {
+               cell-index = <0x2b>;
+       };
+
+       bman-portal@b0000 {
+               cell-index = <0x2c>;
+       };
+
+       bman-portal@b4000 {
+               cell-index = <0x2d>;
+       };
+
+       bman-portal@b8000 {
+               cell-index = <0x2e>;
+       };
+
+       bman-portal@bc000 {
+               cell-index = <0x2f>;
+       };
+
+       bman-portal@c0000 {
+               cell-index = <0x30>;
+       };
+
+       bman-portal@c4000 {
+               cell-index = <0x31>;
+       };
+};