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