]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: add DPAA QBMan portals
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 15 May 2017 09:21:16 +0000 (12:21 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 16 May 2017 01:38:05 +0000 (09:38 +0800)
Add the DPAA 1.x DPAA QMan and BMan portal nodes.

Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi [new file with mode: 0644]

diff --git a/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi b/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
new file mode 100644 (file)
index 0000000..c3c2be4
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ * QorIQ BMan Portals device tree
+ *
+ * Copyright 2011-2016 Freescale Semiconductor Inc.
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+ */
+
+&bportals {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       compatible = "simple-bus";
+
+       bman-portal@0 {
+               /*
+                * bootloader fix-ups are expected to provide the
+                * "fsl,bman-portal-<hardware revision>" compatible
+                */
+               compatible = "fsl,bman-portal";
+               reg = <0x0 0x4000>, <0x4000000 0x4000>;
+               interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@10000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x10000 0x4000>, <0x4010000 0x4000>;
+               interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@20000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x20000 0x4000>, <0x4020000 0x4000>;
+               interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@30000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x30000 0x4000>, <0x4030000 0x4000>;
+               interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@40000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x40000 0x4000>, <0x4040000 0x4000>;
+               interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@50000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x50000 0x4000>, <0x4050000 0x4000>;
+               interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@60000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x60000 0x4000>, <0x4060000 0x4000>;
+               interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@70000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x70000 0x4000>, <0x4070000 0x4000>;
+               interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+       };
+
+       bman-portal@80000 {
+               compatible = "fsl,bman-portal";
+               reg = <0x80000 0x4000>, <0x4080000 0x4000>;
+               interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi b/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi
new file mode 100644 (file)
index 0000000..2a9aa06
--- /dev/null
@@ -0,0 +1,80 @@
+/*
+ * QorIQ QMan Portals device tree
+ *
+ * Copyright 2011-2016 Freescale Semiconductor Inc.
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+ */
+
+&qportals {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       compatible = "simple-bus";
+
+       qportal0: qman-portal@0 {
+               /*
+                * bootloader fix-ups are expected to provide the
+                * "fsl,bman-portal-<hardware revision>" compatible
+                */
+               compatible = "fsl,qman-portal";
+               reg = <0x0 0x4000>, <0x4000000 0x4000>;
+               interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <0>;
+       };
+
+       qportal1: qman-portal@10000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x10000 0x4000>, <0x4010000 0x4000>;
+               interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <1>;
+       };
+
+       qportal2: qman-portal@20000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x20000 0x4000>, <0x4020000 0x4000>;
+               interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <2>;
+       };
+
+       qportal3: qman-portal@30000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x30000 0x4000>, <0x4030000 0x4000>;
+               interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <3>;
+       };
+
+       qportal4: qman-portal@40000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x40000 0x4000>, <0x4040000 0x4000>;
+               interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <4>;
+       };
+
+       qportal5: qman-portal@50000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x50000 0x4000>, <0x4050000 0x4000>;
+               interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <5>;
+       };
+
+       qportal6: qman-portal@60000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x60000 0x4000>, <0x4060000 0x4000>;
+               interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <6>;
+       };
+
+       qportal7: qman-portal@70000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x70000 0x4000>, <0x4070000 0x4000>;
+               interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <7>;
+       };
+
+       qportal8: qman-portal@80000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x80000 0x4000>, <0x4080000 0x4000>;
+               interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
+               cell-index = <8>;
+       };
+};