diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2014-12-08 05:29:19 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-01-29 23:57:46 -0500 |
commit | de58824fc41ff0c266f4d8926271007fd121d9b4 (patch) | |
tree | 93ad38ef23641a33205cbf3aba300ea47810722d | |
parent | 39b55b53b924cbee8cb6efd54ab4ccc9158eb8b5 (diff) |
powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA QMan
Change-Id: I16e63db731e55a3d60d4e147573c1af8718082d3
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com>
Signed-off-by: Hai-Ying Wang <Haiying.Wang@freescale.com>
[Emil Medve: Sync with the upstream binding]
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
-rw-r--r-- | arch/powerpc/boot/dts/fsl/qoriq-qman1-portals.dtsi | 101 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/qoriq-qman1.dtsi | 41 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/fsl/qoriq-qman3.dtsi | 41 |
3 files changed, 183 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman1-portals.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman1-portals.dtsi new file mode 100644 index 000000000000..05d51acafa67 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/qoriq-qman1-portals.dtsi | |||
@@ -0,0 +1,101 @@ | |||
1 | /* | ||
2 | * QorIQ QMan Portal device tree stub for 10 portals & 15 pool channels | ||
3 | * | ||
4 | * Copyright 2011 - 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | &qportals { | ||
36 | #address-cells = <1>; | ||
37 | #size-cells = <1>; | ||
38 | compatible = "simple-bus"; | ||
39 | |||
40 | qportal0: qman-portal@0 { | ||
41 | compatible = "fsl,qman-portal"; | ||
42 | reg = <0x0 0x4000>, <0x100000 0x1000>; | ||
43 | interrupts = <104 2 0 0>; | ||
44 | fsl,qman-channel-id = <0x0>; | ||
45 | }; | ||
46 | qportal1: qman-portal@4000 { | ||
47 | compatible = "fsl,qman-portal"; | ||
48 | reg = <0x4000 0x4000>, <0x101000 0x1000>; | ||
49 | interrupts = <106 2 0 0>; | ||
50 | fsl,qman-channel-id = <1>; | ||
51 | }; | ||
52 | qportal2: qman-portal@8000 { | ||
53 | compatible = "fsl,qman-portal"; | ||
54 | reg = <0x8000 0x4000>, <0x102000 0x1000>; | ||
55 | interrupts = <108 2 0 0>; | ||
56 | fsl,qman-channel-id = <2>; | ||
57 | }; | ||
58 | qportal3: qman-portal@c000 { | ||
59 | compatible = "fsl,qman-portal"; | ||
60 | reg = <0xc000 0x4000>, <0x103000 0x1000>; | ||
61 | interrupts = <110 2 0 0>; | ||
62 | fsl,qman-channel-id = <3>; | ||
63 | }; | ||
64 | qportal4: qman-portal@10000 { | ||
65 | compatible = "fsl,qman-portal"; | ||
66 | reg = <0x10000 0x4000>, <0x104000 0x1000>; | ||
67 | interrupts = <112 2 0 0>; | ||
68 | fsl,qman-channel-id = <4>; | ||
69 | }; | ||
70 | qportal5: qman-portal@14000 { | ||
71 | compatible = "fsl,qman-portal"; | ||
72 | reg = <0x14000 0x4000>, <0x105000 0x1000>; | ||
73 | interrupts = <114 2 0 0>; | ||
74 | fsl,qman-channel-id = <5>; | ||
75 | }; | ||
76 | qportal6: qman-portal@18000 { | ||
77 | compatible = "fsl,qman-portal"; | ||
78 | reg = <0x18000 0x4000>, <0x106000 0x1000>; | ||
79 | interrupts = <116 2 0 0>; | ||
80 | fsl,qman-channel-id = <6>; | ||
81 | }; | ||
82 | |||
83 | qportal7: qman-portal@1c000 { | ||
84 | compatible = "fsl,qman-portal"; | ||
85 | reg = <0x1c000 0x4000>, <0x107000 0x1000>; | ||
86 | interrupts = <118 2 0 0>; | ||
87 | fsl,qman-channel-id = <7>; | ||
88 | }; | ||
89 | qportal8: qman-portal@20000 { | ||
90 | compatible = "fsl,qman-portal"; | ||
91 | reg = <0x20000 0x4000>, <0x108000 0x1000>; | ||
92 | interrupts = <120 2 0 0>; | ||
93 | fsl,qman-channel-id = <8>; | ||
94 | }; | ||
95 | qportal9: qman-portal@24000 { | ||
96 | compatible = "fsl,qman-portal"; | ||
97 | reg = <0x24000 0x4000>, <0x109000 0x1000>; | ||
98 | interrupts = <122 2 0 0>; | ||
99 | fsl,qman-channel-id = <9>; | ||
100 | }; | ||
101 | }; | ||
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman1.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman1.dtsi new file mode 100644 index 000000000000..0695778c4386 --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/qoriq-qman1.dtsi | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | * QorIQ QMan device tree stub [ controller @ offset 0x318000 ] | ||
3 | * | ||
4 | * Copyright 2011 - 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | qman: qman@318000 { | ||
36 | compatible = "fsl,qman"; | ||
37 | reg = <0x318000 0x1000>; | ||
38 | interrupts = <16 2 1 3>; | ||
39 | fsl,qman-portals = <&qportals>; | ||
40 | memory-region = <&qman_fqd &qman_pfdr>; | ||
41 | }; | ||
diff --git a/arch/powerpc/boot/dts/fsl/qoriq-qman3.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-qman3.dtsi new file mode 100644 index 000000000000..b379abd1439d --- /dev/null +++ b/arch/powerpc/boot/dts/fsl/qoriq-qman3.dtsi | |||
@@ -0,0 +1,41 @@ | |||
1 | /* | ||
2 | * QorIQ QMan rev3 device tree stub [ controller @ offset 0x318000 ] | ||
3 | * | ||
4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions are met: | ||
8 | * * Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * * Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * * Neither the name of Freescale Semiconductor nor the | ||
14 | * names of its contributors may be used to endorse or promote products | ||
15 | * derived from this software without specific prior written permission. | ||
16 | * | ||
17 | * | ||
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
19 | * GNU General Public License ("GPL") as published by the Free Software | ||
20 | * Foundation, either version 2 of that License or (at your option) any | ||
21 | * later version. | ||
22 | * | ||
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
33 | */ | ||
34 | |||
35 | qman: qman@318000 { | ||
36 | compatible = "fsl,qman"; | ||
37 | reg = <0x318000 0x2000>; | ||
38 | interrupts = <16 2 1 3>; | ||
39 | fsl,qman-portals = <&qportals>; | ||
40 | memory-region = <&qman_fqd &qman_pfdr>; | ||
41 | }; | ||