18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * QorIQ MPIC device tree stub [ controller @ offset 0x40000 ]
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_cimpic: pic@40000 {
368c2ecf20Sopenharmony_ci	interrupt-controller;
378c2ecf20Sopenharmony_ci	#address-cells = <0>;
388c2ecf20Sopenharmony_ci	#interrupt-cells = <4>;
398c2ecf20Sopenharmony_ci	reg = <0x40000 0x40000>;
408c2ecf20Sopenharmony_ci	compatible = "fsl,mpic", "chrp,open-pic";
418c2ecf20Sopenharmony_ci	device_type = "open-pic";
428c2ecf20Sopenharmony_ci	clock-frequency = <0x0>;
438c2ecf20Sopenharmony_ci};
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_citimer@41100 {
468c2ecf20Sopenharmony_ci	compatible = "fsl,mpic-global-timer";
478c2ecf20Sopenharmony_ci	reg = <0x41100 0x100 0x41300 4>;
488c2ecf20Sopenharmony_ci	interrupts = <0 0 3 0
498c2ecf20Sopenharmony_ci		      1 0 3 0
508c2ecf20Sopenharmony_ci		      2 0 3 0
518c2ecf20Sopenharmony_ci		      3 0 3 0>;
528c2ecf20Sopenharmony_ci};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_cimsi0: msi@41600 {
558c2ecf20Sopenharmony_ci	compatible = "fsl,mpic-msi";
568c2ecf20Sopenharmony_ci	reg = <0x41600 0x200 0x44140 4>;
578c2ecf20Sopenharmony_ci	msi-available-ranges = <0 0x100>;
588c2ecf20Sopenharmony_ci	interrupts = <
598c2ecf20Sopenharmony_ci		0xe0 0 0 0
608c2ecf20Sopenharmony_ci		0xe1 0 0 0
618c2ecf20Sopenharmony_ci		0xe2 0 0 0
628c2ecf20Sopenharmony_ci		0xe3 0 0 0
638c2ecf20Sopenharmony_ci		0xe4 0 0 0
648c2ecf20Sopenharmony_ci		0xe5 0 0 0
658c2ecf20Sopenharmony_ci		0xe6 0 0 0
668c2ecf20Sopenharmony_ci		0xe7 0 0 0>;
678c2ecf20Sopenharmony_ci};
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_cimsi1: msi@41800 {
708c2ecf20Sopenharmony_ci	compatible = "fsl,mpic-msi";
718c2ecf20Sopenharmony_ci	reg = <0x41800 0x200 0x45140 4>;
728c2ecf20Sopenharmony_ci	msi-available-ranges = <0 0x100>;
738c2ecf20Sopenharmony_ci	interrupts = <
748c2ecf20Sopenharmony_ci		0xe8 0 0 0
758c2ecf20Sopenharmony_ci		0xe9 0 0 0
768c2ecf20Sopenharmony_ci		0xea 0 0 0
778c2ecf20Sopenharmony_ci		0xeb 0 0 0
788c2ecf20Sopenharmony_ci		0xec 0 0 0
798c2ecf20Sopenharmony_ci		0xed 0 0 0
808c2ecf20Sopenharmony_ci		0xee 0 0 0
818c2ecf20Sopenharmony_ci		0xef 0 0 0>;
828c2ecf20Sopenharmony_ci};
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_cimsi2: msi@41a00 {
858c2ecf20Sopenharmony_ci	compatible = "fsl,mpic-msi";
868c2ecf20Sopenharmony_ci	reg = <0x41a00 0x200 0x46140 4>;
878c2ecf20Sopenharmony_ci	msi-available-ranges = <0 0x100>;
888c2ecf20Sopenharmony_ci	interrupts = <
898c2ecf20Sopenharmony_ci		0xf0 0 0 0
908c2ecf20Sopenharmony_ci		0xf1 0 0 0
918c2ecf20Sopenharmony_ci		0xf2 0 0 0
928c2ecf20Sopenharmony_ci		0xf3 0 0 0
938c2ecf20Sopenharmony_ci		0xf4 0 0 0
948c2ecf20Sopenharmony_ci		0xf5 0 0 0
958c2ecf20Sopenharmony_ci		0xf6 0 0 0
968c2ecf20Sopenharmony_ci		0xf7 0 0 0>;
978c2ecf20Sopenharmony_ci};
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_citimer@42100 {
1008c2ecf20Sopenharmony_ci	compatible = "fsl,mpic-global-timer";
1018c2ecf20Sopenharmony_ci	reg = <0x42100 0x100 0x42300 4>;
1028c2ecf20Sopenharmony_ci	interrupts = <4 0 3 0
1038c2ecf20Sopenharmony_ci		      5 0 3 0
1048c2ecf20Sopenharmony_ci		      6 0 3 0
1058c2ecf20Sopenharmony_ci		      7 0 3 0>;
1068c2ecf20Sopenharmony_ci};
107