2018-01-29 21:08:27

by Roy Pledge

[permalink] [raw]
Subject: [PATCH] arm64: dts: Add DPAA QBMan portal 9

ARM DPAA1 (LS1043 and LS1046) have 10 QBMan portals (indexed 0-9)
Enable the one that is missing in the device trees.

Signed-off-by: Roy Pledge <[email protected]>
---
arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi | 6 ++++++
arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi | 7 +++++++
2 files changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi b/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
index c3c2be4..ae15307 100644
--- a/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
+++ b/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
@@ -68,4 +68,10 @@
reg = <0x80000 0x4000>, <0x4080000 0x4000>;
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
};
+
+ bman-portal@90000 {
+ compatible = "fsl,bman-portal";
+ reg = <0x90000 0x4000>, <0x4090000 0x4000>;
+ interrupts = <GIC_SPI 191 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
index 2a9aa06..6a93a4a 100644
--- a/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi
+++ b/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi
@@ -77,4 +77,11 @@
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
cell-index = <8>;
};
+
+ qportal9: qman-portal@90000 {
+ compatible = "fsl,qman-portal";
+ reg = <0x90000 0x4000>, <0x4090000 0x4000>;
+ interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
+ cell-index = <9>;
+ };
};
--
2.7.4



2018-02-05 08:16:04

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: Add DPAA QBMan portal 9

On Mon, Jan 29, 2018 at 04:07:21PM -0500, Roy Pledge wrote:
> ARM DPAA1 (LS1043 and LS1046) have 10 QBMan portals (indexed 0-9)
> Enable the one that is missing in the device trees.
>
> Signed-off-by: Roy Pledge <[email protected]>

Applied, thanks.