xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/qoriq-mpic.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * QorIQ MPIC device tree stub [ controller @ offset 0x40000 ]
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2011 Freescale Semiconductor Inc.
5*c66ec88fSEmmanuel Vadot *
6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8*c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer.
10*c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer in the
12*c66ec88fSEmmanuel Vadot *       documentation and/or other materials provided with the distribution.
13*c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14*c66ec88fSEmmanuel Vadot *       names of its contributors may be used to endorse or promote products
15*c66ec88fSEmmanuel Vadot *       derived from this software without specific prior written permission.
16*c66ec88fSEmmanuel Vadot *
17*c66ec88fSEmmanuel Vadot *
18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21*c66ec88fSEmmanuel Vadot * later version.
22*c66ec88fSEmmanuel Vadot *
23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*c66ec88fSEmmanuel Vadot */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadotmpic: pic@40000 {
36*c66ec88fSEmmanuel Vadot	interrupt-controller;
37*c66ec88fSEmmanuel Vadot	#address-cells = <0>;
38*c66ec88fSEmmanuel Vadot	#interrupt-cells = <4>;
39*c66ec88fSEmmanuel Vadot	reg = <0x40000 0x40000>;
40*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic", "chrp,open-pic";
41*c66ec88fSEmmanuel Vadot	device_type = "open-pic";
42*c66ec88fSEmmanuel Vadot	clock-frequency = <0x0>;
43*c66ec88fSEmmanuel Vadot};
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadottimer@41100 {
46*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-global-timer";
47*c66ec88fSEmmanuel Vadot	reg = <0x41100 0x100 0x41300 4>;
48*c66ec88fSEmmanuel Vadot	interrupts = <0 0 3 0
49*c66ec88fSEmmanuel Vadot		      1 0 3 0
50*c66ec88fSEmmanuel Vadot		      2 0 3 0
51*c66ec88fSEmmanuel Vadot		      3 0 3 0>;
52*c66ec88fSEmmanuel Vadot};
53*c66ec88fSEmmanuel Vadot
54*c66ec88fSEmmanuel Vadotmsi0: msi@41600 {
55*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-msi";
56*c66ec88fSEmmanuel Vadot	reg = <0x41600 0x200 0x44140 4>;
57*c66ec88fSEmmanuel Vadot	msi-available-ranges = <0 0x100>;
58*c66ec88fSEmmanuel Vadot	interrupts = <
59*c66ec88fSEmmanuel Vadot		0xe0 0 0 0
60*c66ec88fSEmmanuel Vadot		0xe1 0 0 0
61*c66ec88fSEmmanuel Vadot		0xe2 0 0 0
62*c66ec88fSEmmanuel Vadot		0xe3 0 0 0
63*c66ec88fSEmmanuel Vadot		0xe4 0 0 0
64*c66ec88fSEmmanuel Vadot		0xe5 0 0 0
65*c66ec88fSEmmanuel Vadot		0xe6 0 0 0
66*c66ec88fSEmmanuel Vadot		0xe7 0 0 0>;
67*c66ec88fSEmmanuel Vadot};
68*c66ec88fSEmmanuel Vadot
69*c66ec88fSEmmanuel Vadotmsi1: msi@41800 {
70*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-msi";
71*c66ec88fSEmmanuel Vadot	reg = <0x41800 0x200 0x45140 4>;
72*c66ec88fSEmmanuel Vadot	msi-available-ranges = <0 0x100>;
73*c66ec88fSEmmanuel Vadot	interrupts = <
74*c66ec88fSEmmanuel Vadot		0xe8 0 0 0
75*c66ec88fSEmmanuel Vadot		0xe9 0 0 0
76*c66ec88fSEmmanuel Vadot		0xea 0 0 0
77*c66ec88fSEmmanuel Vadot		0xeb 0 0 0
78*c66ec88fSEmmanuel Vadot		0xec 0 0 0
79*c66ec88fSEmmanuel Vadot		0xed 0 0 0
80*c66ec88fSEmmanuel Vadot		0xee 0 0 0
81*c66ec88fSEmmanuel Vadot		0xef 0 0 0>;
82*c66ec88fSEmmanuel Vadot};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadotmsi2: msi@41a00 {
85*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-msi";
86*c66ec88fSEmmanuel Vadot	reg = <0x41a00 0x200 0x46140 4>;
87*c66ec88fSEmmanuel Vadot	msi-available-ranges = <0 0x100>;
88*c66ec88fSEmmanuel Vadot	interrupts = <
89*c66ec88fSEmmanuel Vadot		0xf0 0 0 0
90*c66ec88fSEmmanuel Vadot		0xf1 0 0 0
91*c66ec88fSEmmanuel Vadot		0xf2 0 0 0
92*c66ec88fSEmmanuel Vadot		0xf3 0 0 0
93*c66ec88fSEmmanuel Vadot		0xf4 0 0 0
94*c66ec88fSEmmanuel Vadot		0xf5 0 0 0
95*c66ec88fSEmmanuel Vadot		0xf6 0 0 0
96*c66ec88fSEmmanuel Vadot		0xf7 0 0 0>;
97*c66ec88fSEmmanuel Vadot};
98*c66ec88fSEmmanuel Vadot
99*c66ec88fSEmmanuel Vadottimer@42100 {
100*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-global-timer";
101*c66ec88fSEmmanuel Vadot	reg = <0x42100 0x100 0x42300 4>;
102*c66ec88fSEmmanuel Vadot	interrupts = <4 0 3 0
103*c66ec88fSEmmanuel Vadot		      5 0 3 0
104*c66ec88fSEmmanuel Vadot		      6 0 3 0
105*c66ec88fSEmmanuel Vadot		      7 0 3 0>;
106*c66ec88fSEmmanuel Vadot};
107