xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/pq3-rmu-0.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * PQ3 RIO Message Unit device tree stub [ controller @ offset 0xd3000 ]
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 Vadotrmu: rmu@d3000 {
36*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
37*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
38*c66ec88fSEmmanuel Vadot	compatible = "fsl,srio-rmu";
39*c66ec88fSEmmanuel Vadot	reg = <0xd3000 0x500>;
40*c66ec88fSEmmanuel Vadot	ranges = <0x0 0xd3000 0x500>;
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	message-unit@0 {
43*c66ec88fSEmmanuel Vadot		compatible = "fsl,srio-msg-unit";
44*c66ec88fSEmmanuel Vadot		reg = <0x0 0x100>;
45*c66ec88fSEmmanuel Vadot		interrupts = <
46*c66ec88fSEmmanuel Vadot			53 2 0 0 /* msg1_tx_irq */
47*c66ec88fSEmmanuel Vadot			54 2 0 0>;/* msg1_rx_irq */
48*c66ec88fSEmmanuel Vadot	};
49*c66ec88fSEmmanuel Vadot	message-unit@100 {
50*c66ec88fSEmmanuel Vadot		compatible = "fsl,srio-msg-unit";
51*c66ec88fSEmmanuel Vadot		reg = <0x100 0x100>;
52*c66ec88fSEmmanuel Vadot		interrupts = <
53*c66ec88fSEmmanuel Vadot			55 2 0 0  /* msg2_tx_irq */
54*c66ec88fSEmmanuel Vadot			56 2 0 0>;/* msg2_rx_irq */
55*c66ec88fSEmmanuel Vadot	};
56*c66ec88fSEmmanuel Vadot	doorbell-unit@400 {
57*c66ec88fSEmmanuel Vadot		compatible = "fsl,srio-dbell-unit";
58*c66ec88fSEmmanuel Vadot		reg = <0x400 0x80>;
59*c66ec88fSEmmanuel Vadot		interrupts = <
60*c66ec88fSEmmanuel Vadot			49 2 0 0  /* bell_outb_irq */
61*c66ec88fSEmmanuel Vadot			50 2 0 0>;/* bell_inb_irq */
62*c66ec88fSEmmanuel Vadot	};
63*c66ec88fSEmmanuel Vadot	port-write-unit@4e0 {
64*c66ec88fSEmmanuel Vadot		compatible = "fsl,srio-port-write-unit";
65*c66ec88fSEmmanuel Vadot		reg = <0x4e0 0x20>;
66*c66ec88fSEmmanuel Vadot		interrupts = <48 2 0 0>;
67*c66ec88fSEmmanuel Vadot	};
68*c66ec88fSEmmanuel Vadot};
69