162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * QorIQ MPIC device tree stub [ controller @ offset 0x40000 ]
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright 2011 Freescale Semiconductor Inc.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
762306a36Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
862306a36Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
962306a36Sopenharmony_ci *       notice, this list of conditions and the following disclaimer.
1062306a36Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
1162306a36Sopenharmony_ci *       notice, this list of conditions and the following disclaimer in the
1262306a36Sopenharmony_ci *       documentation and/or other materials provided with the distribution.
1362306a36Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
1462306a36Sopenharmony_ci *       names of its contributors may be used to endorse or promote products
1562306a36Sopenharmony_ci *       derived from this software without specific prior written permission.
1662306a36Sopenharmony_ci *
1762306a36Sopenharmony_ci *
1862306a36Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
1962306a36Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
2062306a36Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
2162306a36Sopenharmony_ci * later version.
2262306a36Sopenharmony_ci *
2362306a36Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2462306a36Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2562306a36Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2662306a36Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2762306a36Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2862306a36Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2962306a36Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3062306a36Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3162306a36Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3262306a36Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3362306a36Sopenharmony_ci */
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_cimpic: pic@40000 {
3662306a36Sopenharmony_ci	interrupt-controller;
3762306a36Sopenharmony_ci	#address-cells = <0>;
3862306a36Sopenharmony_ci	#interrupt-cells = <4>;
3962306a36Sopenharmony_ci	reg = <0x40000 0x40000>;
4062306a36Sopenharmony_ci	compatible = "fsl,mpic", "chrp,open-pic";
4162306a36Sopenharmony_ci	device_type = "open-pic";
4262306a36Sopenharmony_ci	clock-frequency = <0x0>;
4362306a36Sopenharmony_ci};
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_citimer@41100 {
4662306a36Sopenharmony_ci	compatible = "fsl,mpic-global-timer";
4762306a36Sopenharmony_ci	reg = <0x41100 0x100 0x41300 4>;
4862306a36Sopenharmony_ci	interrupts = <0 0 3 0
4962306a36Sopenharmony_ci		      1 0 3 0
5062306a36Sopenharmony_ci		      2 0 3 0
5162306a36Sopenharmony_ci		      3 0 3 0>;
5262306a36Sopenharmony_ci};
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_cimsi0: msi@41600 {
5562306a36Sopenharmony_ci	compatible = "fsl,mpic-msi";
5662306a36Sopenharmony_ci	reg = <0x41600 0x200 0x44140 4>;
5762306a36Sopenharmony_ci	msi-available-ranges = <0 0x100>;
5862306a36Sopenharmony_ci	interrupts = <
5962306a36Sopenharmony_ci		0xe0 0 0 0
6062306a36Sopenharmony_ci		0xe1 0 0 0
6162306a36Sopenharmony_ci		0xe2 0 0 0
6262306a36Sopenharmony_ci		0xe3 0 0 0
6362306a36Sopenharmony_ci		0xe4 0 0 0
6462306a36Sopenharmony_ci		0xe5 0 0 0
6562306a36Sopenharmony_ci		0xe6 0 0 0
6662306a36Sopenharmony_ci		0xe7 0 0 0>;
6762306a36Sopenharmony_ci};
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_cimsi1: msi@41800 {
7062306a36Sopenharmony_ci	compatible = "fsl,mpic-msi";
7162306a36Sopenharmony_ci	reg = <0x41800 0x200 0x45140 4>;
7262306a36Sopenharmony_ci	msi-available-ranges = <0 0x100>;
7362306a36Sopenharmony_ci	interrupts = <
7462306a36Sopenharmony_ci		0xe8 0 0 0
7562306a36Sopenharmony_ci		0xe9 0 0 0
7662306a36Sopenharmony_ci		0xea 0 0 0
7762306a36Sopenharmony_ci		0xeb 0 0 0
7862306a36Sopenharmony_ci		0xec 0 0 0
7962306a36Sopenharmony_ci		0xed 0 0 0
8062306a36Sopenharmony_ci		0xee 0 0 0
8162306a36Sopenharmony_ci		0xef 0 0 0>;
8262306a36Sopenharmony_ci};
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_cimsi2: msi@41a00 {
8562306a36Sopenharmony_ci	compatible = "fsl,mpic-msi";
8662306a36Sopenharmony_ci	reg = <0x41a00 0x200 0x46140 4>;
8762306a36Sopenharmony_ci	msi-available-ranges = <0 0x100>;
8862306a36Sopenharmony_ci	interrupts = <
8962306a36Sopenharmony_ci		0xf0 0 0 0
9062306a36Sopenharmony_ci		0xf1 0 0 0
9162306a36Sopenharmony_ci		0xf2 0 0 0
9262306a36Sopenharmony_ci		0xf3 0 0 0
9362306a36Sopenharmony_ci		0xf4 0 0 0
9462306a36Sopenharmony_ci		0xf5 0 0 0
9562306a36Sopenharmony_ci		0xf6 0 0 0
9662306a36Sopenharmony_ci		0xf7 0 0 0>;
9762306a36Sopenharmony_ci};
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_citimer@42100 {
10062306a36Sopenharmony_ci	compatible = "fsl,mpic-global-timer";
10162306a36Sopenharmony_ci	reg = <0x42100 0x100 0x42300 4>;
10262306a36Sopenharmony_ci	interrupts = <4 0 3 0
10362306a36Sopenharmony_ci		      5 0 3 0
10462306a36Sopenharmony_ci		      6 0 3 0
10562306a36Sopenharmony_ci		      7 0 3 0>;
10662306a36Sopenharmony_ci};
107