]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dt/bindings: b/qman: Add phandle to the portals
authorEmil Medve <Emilian.Medve@freescale.com>
Mon, 8 Dec 2014 10:29:17 +0000 (04:29 -0600)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 04:57:44 +0000 (22:57 -0600)
This supports SoC(s) with multiple B/QMan instances

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Documentation/devicetree/bindings/soc/fsl/bman.txt
Documentation/devicetree/bindings/soc/fsl/qman.txt

index ee03ef2e265c2ee7f6642c330647241fced7d475..47ac834414d8488e29c20bf3b91f369b994b8746 100644 (file)
@@ -36,6 +36,11 @@ are located at offsets 0xbf8 and 0xbfc
        Value type:     <prop-encoded-array>
        Definition:     Standard property. The error interrupt
 
+- fsl,bman-portals
+       Usage:          Required
+       Value type:     <phandle>
+       Definition:     Phandle to this BMan instance's portals
+
 - fsl,liodn
        Usage:          See pamu.txt
        Value type:     <prop-encoded-array>
@@ -104,6 +109,10 @@ The example below shows a BMan FBPR dynamic allocation memory node
 
 The example below shows a (P4080) BMan CCSR-space node
 
+       bportals: bman-portals@ff4000000 {
+               ...
+       };
+
        crypto@300000 {
                ...
                fsl,bman = <&bman, 2>;
@@ -115,6 +124,7 @@ The example below shows a (P4080) BMan CCSR-space node
                reg = <0x31a000 0x1000>;
                interrupts = <16 2 1 2>;
                fsl,liodn = <0x17>;
+               fsl,bman-portals = <&bportals>;
                memory-region = <&bman_fbpr>;
        };
 
index f3da91ef4287a7d57630fa59ced433bfbf6f9b84..556ebb8be75d9cfa5b16aca5ac56316ee1f00d29 100644 (file)
@@ -38,6 +38,11 @@ are located at offsets 0xbf8 and 0xbfc
        Value type:     <prop-encoded-array>
        Definition:     Standard property. The error interrupt
 
+- fsl,qman-portals
+       Usage:          Required
+       Value type:     <phandle>
+       Definition:     Phandle to this QMan instance's portals
+
 - fsl,liodn
        Usage:          See pamu.txt
        Value type:     <prop-encoded-array>
@@ -127,6 +132,10 @@ The example below shows a QMan FQD and a PFDR dynamic allocation memory nodes
 
 The example below shows a (P4080) QMan CCSR-space node
 
+       qportals: qman-portals@ff4200000 {
+               ...
+       };
+
        clockgen: global-utilities@e1000 {
                ...
                sysclk: sysclk {
@@ -154,6 +163,7 @@ The example below shows a (P4080) QMan CCSR-space node
                reg = <0x318000 0x1000>;
                interrupts = <16 2 1 3>
                fsl,liodn = <0x16>;
+               fsl,qman-portals = <&qportals>;
                memory-region = <&qman_fqd &qman_pfdr>;
                clocks = <&platform_pll 1>;
        };