xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/p1010rdb-pb_36b.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * P1010 RDB Device Tree Source (36-bit address map)
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot * Copyright 2011 Freescale Semiconductor Inc.
5c66ec88fSEmmanuel Vadot *
6c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer.
10c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer in the
12c66ec88fSEmmanuel Vadot *       documentation and/or other materials provided with the distribution.
13c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14c66ec88fSEmmanuel Vadot *       names of its contributors may be used to endorse or promote products
15c66ec88fSEmmanuel Vadot *       derived from this software without specific prior written permission.
16c66ec88fSEmmanuel Vadot *
17c66ec88fSEmmanuel Vadot *
18c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21c66ec88fSEmmanuel Vadot * later version.
22c66ec88fSEmmanuel Vadot *
23c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33c66ec88fSEmmanuel Vadot */
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot/include/ "p1010si-pre.dtsi"
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot/ {
38c66ec88fSEmmanuel Vadot	model = "fsl,P1010RDB-PB";
39c66ec88fSEmmanuel Vadot	compatible = "fsl,P1010RDB-PB";
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot	/include/ "p1010rdb_36b.dtsi"
42c66ec88fSEmmanuel Vadot};
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot/include/ "p1010rdb.dtsi"
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadot&phy0 {
47c66ec88fSEmmanuel Vadot	interrupts = <0 1 0 0>;
48c66ec88fSEmmanuel Vadot};
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot&phy1 {
51c66ec88fSEmmanuel Vadot	interrupts = <2 1 0 0>;
52c66ec88fSEmmanuel Vadot};
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot&phy2 {
55c66ec88fSEmmanuel Vadot	interrupts = <1 1 0 0>;
56c66ec88fSEmmanuel Vadot};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot/include/ "p1010si-post.dtsi"
59*7d0873ebSEmmanuel Vadot
60*7d0873ebSEmmanuel Vadot&pci0 {
61*7d0873ebSEmmanuel Vadot	pcie@0 {
62*7d0873ebSEmmanuel Vadot		interrupt-map = <
63*7d0873ebSEmmanuel Vadot			/* IDSEL 0x0 */
64*7d0873ebSEmmanuel Vadot			/*
65*7d0873ebSEmmanuel Vadot			 *irq[4:5] are active-high
66*7d0873ebSEmmanuel Vadot			 *irq[6:7] are active-low
67*7d0873ebSEmmanuel Vadot			 */
68*7d0873ebSEmmanuel Vadot			0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
69*7d0873ebSEmmanuel Vadot			0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
70*7d0873ebSEmmanuel Vadot			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
71*7d0873ebSEmmanuel Vadot			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
72*7d0873ebSEmmanuel Vadot			>;
73*7d0873ebSEmmanuel Vadot	};
74*7d0873ebSEmmanuel Vadot};
75