Commit 90945593 authored by Madalin Bucur's avatar Madalin Bucur Committed by Shawn Guo

arm64: dts: add LS1043A DPAA QBMan nodes

Add the DPAA 1.x QMan and BMan nodes in the LS1043A device tree.
Signed-off-by: default avatarRoy Pledge <roy.pledge@nxp.com>
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4f768595
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
*/ */
#include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
/ { / {
compatible = "fsl,ls1043a"; compatible = "fsl,ls1043a";
...@@ -106,6 +107,33 @@ memory@80000000 { ...@@ -106,6 +107,33 @@ memory@80000000 {
/* DRAM space 1, size: 2GiB DRAM */ /* DRAM space 1, size: 2GiB DRAM */
}; };
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
bman_fbpr: bman-fbpr {
compatible = "shared-dma-pool";
size = <0 0x1000000>;
alignment = <0 0x1000000>;
no-map;
};
qman_fqd: qman-fqd {
compatible = "shared-dma-pool";
size = <0 0x400000>;
alignment = <0 0x400000>;
no-map;
};
qman_pfdr: qman-pfdr {
compatible = "shared-dma-pool";
size = <0 0x2000000>;
alignment = <0 0x2000000>;
no-map;
};
};
sysclk: sysclk { sysclk: sysclk {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;
...@@ -334,6 +362,28 @@ map0 { ...@@ -334,6 +362,28 @@ map0 {
}; };
}; };
qman: qman@1880000 {
compatible = "fsl,qman";
reg = <0x0 0x1880000 0x0 0x10000>;
interrupts = <0 45 0x4>;
memory-region = <&qman_fqd &qman_pfdr>;
};
bman: bman@1890000 {
compatible = "fsl,bman";
reg = <0x0 0x1890000 0x0 0x10000>;
interrupts = <0 45 0x4>;
memory-region = <&bman_fbpr>;
};
bportals: bman-portals@508000000 {
ranges = <0x0 0x5 0x08000000 0x8000000>;
};
qportals: qman-portals@500000000 {
ranges = <0x0 0x5 0x00000000 0x8000000>;
};
dspi0: dspi@2100000 { dspi0: dspi@2100000 {
compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>; #address-cells = <1>;
...@@ -689,3 +739,6 @@ pcie@3600000 { ...@@ -689,3 +739,6 @@ pcie@3600000 {
}; };
}; };
#include "qoriq-qman-portals.dtsi"
#include "qoriq-bman-portals.dtsi"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment