18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * QorIQ RIO Message Unit device tree stub [ controller @ offset 0xd3000 ]
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright 2011 Freescale Semiconductor Inc.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
88c2ecf20Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
98c2ecf20Sopenharmony_ci *       notice, this list of conditions and the following disclaimer.
108c2ecf20Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
118c2ecf20Sopenharmony_ci *       notice, this list of conditions and the following disclaimer in the
128c2ecf20Sopenharmony_ci *       documentation and/or other materials provided with the distribution.
138c2ecf20Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
148c2ecf20Sopenharmony_ci *       names of its contributors may be used to endorse or promote products
158c2ecf20Sopenharmony_ci *       derived from this software without specific prior written permission.
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci *
188c2ecf20Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
198c2ecf20Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
208c2ecf20Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
218c2ecf20Sopenharmony_ci * later version.
228c2ecf20Sopenharmony_ci *
238c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
248c2ecf20Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258c2ecf20Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268c2ecf20Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278c2ecf20Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288c2ecf20Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298c2ecf20Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308c2ecf20Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328c2ecf20Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338c2ecf20Sopenharmony_ci */
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cirmu: rmu@d3000 {
368c2ecf20Sopenharmony_ci	#address-cells = <1>;
378c2ecf20Sopenharmony_ci	#size-cells = <1>;
388c2ecf20Sopenharmony_ci	compatible = "fsl,srio-rmu";
398c2ecf20Sopenharmony_ci	reg = <0xd3000 0x500>;
408c2ecf20Sopenharmony_ci	ranges = <0x0 0xd3000 0x500>;
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	message-unit@0 {
438c2ecf20Sopenharmony_ci		compatible = "fsl,srio-msg-unit";
448c2ecf20Sopenharmony_ci		reg = <0x0 0x100>;
458c2ecf20Sopenharmony_ci		interrupts = <
468c2ecf20Sopenharmony_ci			60 2 0 0  /* msg1_tx_irq */
478c2ecf20Sopenharmony_ci			61 2 0 0>;/* msg1_rx_irq */
488c2ecf20Sopenharmony_ci	};
498c2ecf20Sopenharmony_ci	message-unit@100 {
508c2ecf20Sopenharmony_ci		compatible = "fsl,srio-msg-unit";
518c2ecf20Sopenharmony_ci		reg = <0x100 0x100>;
528c2ecf20Sopenharmony_ci		interrupts = <
538c2ecf20Sopenharmony_ci			62 2 0 0  /* msg2_tx_irq */
548c2ecf20Sopenharmony_ci			63 2 0 0>;/* msg2_rx_irq */
558c2ecf20Sopenharmony_ci	};
568c2ecf20Sopenharmony_ci	doorbell-unit@400 {
578c2ecf20Sopenharmony_ci		compatible = "fsl,srio-dbell-unit";
588c2ecf20Sopenharmony_ci		reg = <0x400 0x80>;
598c2ecf20Sopenharmony_ci		interrupts = <
608c2ecf20Sopenharmony_ci			56 2 0 0  /* bell_outb_irq */
618c2ecf20Sopenharmony_ci			57 2 0 0>;/* bell_inb_irq */
628c2ecf20Sopenharmony_ci	};
638c2ecf20Sopenharmony_ci	port-write-unit@4e0 {
648c2ecf20Sopenharmony_ci		compatible = "fsl,srio-port-write-unit";
658c2ecf20Sopenharmony_ci		reg = <0x4e0 0x20>;
668c2ecf20Sopenharmony_ci		interrupts = <16 2 1 11>;
678c2ecf20Sopenharmony_ci	};
688c2ecf20Sopenharmony_ci};
69