xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/qoriq-qman1-portals.dtsi (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <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		cell-index = <9>;
100	};
101};
102