]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/boot/dts/fsl/p1023si-post.dtsi
powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)
[karo-tx-linux.git] / arch / powerpc / boot / dts / fsl / p1023si-post.dtsi
index 7780f21430cba57b61f4f332e20f57cbc5ff553a..da6d3fc6ba41501f31a42389464659d33e469e14 100644 (file)
        alloc-ranges = <0 0 0x10 0>;
 };
 
+&qman_fqd {
+       compatible = "fsl,qman-fqd";
+       alloc-ranges = <0 0 0x10 0>;
+};
+
+&qman_pfdr {
+       compatible = "fsl,qman-pfdr";
+       alloc-ranges = <0 0 0x10 0>;
+};
+
 &lbc {
        #address-cells = <2>;
        #size-cells = <1>;
        };
 };
 
+&qportals {
+       #address-cells = <1>;
+       #size-cells = <1>;
+       compatible = "simple-bus";
+
+       qportal0: qman-portal@0 {
+               compatible = "fsl,qman-portal";
+               reg = <0x0 0x4000>, <0x100000 0x1000>;
+               interrupts = <29 2 0 0>;
+               cell-index = <0>;
+       };
+       qportal1: qman-portal@4000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x4000 0x4000>, <0x101000 0x1000>;
+               interrupts = <31 2 0 0>;
+               cell-index = <1>;
+       };
+       qportal2: qman-portal@8000 {
+               compatible = "fsl,qman-portal";
+               reg = <0x8000 0x4000>, <0x102000 0x1000>;
+               interrupts = <33 2 0 0>;
+               cell-index = <2>;
+       };
+};
+
 &bportals {
        #address-cells = <1>;
        #size-cells = <1>;
 /include/ "pq3-mpic.dtsi"
 /include/ "pq3-mpic-timer-B.dtsi"
 
+       qman: qman@88000 {
+               compatible = "fsl,qman";
+               reg = <0x88000 0x1000>;
+               interrupts = <16 2 0 0>;
+               fsl,qman-portals = <&qportals>;
+               memory-region = <&qman_fqd &qman_pfdr>;
+       };
+
        bman: bman@8a000 {
                compatible = "fsl,bman";
                reg = <0x8a000 0x1000>;