18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * MPC8568 Silicon/SoC Device Tree Source (post include) 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_ci&lbc { 368c2ecf20Sopenharmony_ci #address-cells = <2>; 378c2ecf20Sopenharmony_ci #size-cells = <1>; 388c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-localbus", "fsl,pq3-localbus", "simple-bus"; 398c2ecf20Sopenharmony_ci interrupts = <19 2 0 0>; 408c2ecf20Sopenharmony_ci sleep = <&pmc 0x08000000>; 418c2ecf20Sopenharmony_ci}; 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci/* controller at 0x8000 */ 448c2ecf20Sopenharmony_ci&pci0 { 458c2ecf20Sopenharmony_ci compatible = "fsl,mpc8540-pci"; 468c2ecf20Sopenharmony_ci device_type = "pci"; 478c2ecf20Sopenharmony_ci interrupts = <24 0x2 0 0>; 488c2ecf20Sopenharmony_ci bus-range = <0 0xff>; 498c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 508c2ecf20Sopenharmony_ci #size-cells = <2>; 518c2ecf20Sopenharmony_ci #address-cells = <3>; 528c2ecf20Sopenharmony_ci sleep = <&pmc 0x80000000>; 538c2ecf20Sopenharmony_ci}; 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci/* controller at 0xa000 */ 568c2ecf20Sopenharmony_ci&pci1 { 578c2ecf20Sopenharmony_ci compatible = "fsl,mpc8548-pcie"; 588c2ecf20Sopenharmony_ci device_type = "pci"; 598c2ecf20Sopenharmony_ci #size-cells = <2>; 608c2ecf20Sopenharmony_ci #address-cells = <3>; 618c2ecf20Sopenharmony_ci bus-range = <0 255>; 628c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 638c2ecf20Sopenharmony_ci interrupts = <26 2 0 0>; 648c2ecf20Sopenharmony_ci sleep = <&pmc 0x20000000>; 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci pcie@0 { 678c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 688c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 698c2ecf20Sopenharmony_ci #size-cells = <2>; 708c2ecf20Sopenharmony_ci #address-cells = <3>; 718c2ecf20Sopenharmony_ci device_type = "pci"; 728c2ecf20Sopenharmony_ci interrupts = <26 2 0 0>; 738c2ecf20Sopenharmony_ci interrupt-map-mask = <0xf800 0 0 7>; 748c2ecf20Sopenharmony_ci interrupt-map = < 758c2ecf20Sopenharmony_ci /* IDSEL 0x0 */ 768c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 778c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 788c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 798c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 808c2ecf20Sopenharmony_ci >; 818c2ecf20Sopenharmony_ci }; 828c2ecf20Sopenharmony_ci}; 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci&rio { 858c2ecf20Sopenharmony_ci compatible = "fsl,srio"; 868c2ecf20Sopenharmony_ci interrupts = <48 2 0 0>; 878c2ecf20Sopenharmony_ci #address-cells = <2>; 888c2ecf20Sopenharmony_ci #size-cells = <2>; 898c2ecf20Sopenharmony_ci fsl,srio-rmu-handle = <&rmu>; 908c2ecf20Sopenharmony_ci sleep = <&pmc 0x00080000>; 918c2ecf20Sopenharmony_ci ranges; 928c2ecf20Sopenharmony_ci 938c2ecf20Sopenharmony_ci port1 { 948c2ecf20Sopenharmony_ci #address-cells = <2>; 958c2ecf20Sopenharmony_ci #size-cells = <2>; 968c2ecf20Sopenharmony_ci cell-index = <1>; 978c2ecf20Sopenharmony_ci }; 988c2ecf20Sopenharmony_ci}; 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci&soc { 1018c2ecf20Sopenharmony_ci #address-cells = <1>; 1028c2ecf20Sopenharmony_ci #size-cells = <1>; 1038c2ecf20Sopenharmony_ci device_type = "soc"; 1048c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-immr", "simple-bus"; 1058c2ecf20Sopenharmony_ci bus-frequency = <0>; // Filled out by uboot. 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci ecm-law@0 { 1088c2ecf20Sopenharmony_ci compatible = "fsl,ecm-law"; 1098c2ecf20Sopenharmony_ci reg = <0x0 0x1000>; 1108c2ecf20Sopenharmony_ci fsl,num-laws = <10>; 1118c2ecf20Sopenharmony_ci }; 1128c2ecf20Sopenharmony_ci 1138c2ecf20Sopenharmony_ci ecm@1000 { 1148c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-ecm", "fsl,ecm"; 1158c2ecf20Sopenharmony_ci reg = <0x1000 0x1000>; 1168c2ecf20Sopenharmony_ci interrupts = <17 2 0 0>; 1178c2ecf20Sopenharmony_ci }; 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ci memory-controller@2000 { 1208c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-memory-controller"; 1218c2ecf20Sopenharmony_ci reg = <0x2000 0x1000>; 1228c2ecf20Sopenharmony_ci interrupts = <18 2 0 0>; 1238c2ecf20Sopenharmony_ci }; 1248c2ecf20Sopenharmony_ci 1258c2ecf20Sopenharmony_ci i2c-sleep-nexus { 1268c2ecf20Sopenharmony_ci #address-cells = <1>; 1278c2ecf20Sopenharmony_ci #size-cells = <1>; 1288c2ecf20Sopenharmony_ci compatible = "simple-bus"; 1298c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000004>; 1308c2ecf20Sopenharmony_ci ranges; 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ci/include/ "pq3-i2c-0.dtsi" 1338c2ecf20Sopenharmony_ci/include/ "pq3-i2c-1.dtsi" 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci }; 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ci duart-sleep-nexus { 1388c2ecf20Sopenharmony_ci #address-cells = <1>; 1398c2ecf20Sopenharmony_ci #size-cells = <1>; 1408c2ecf20Sopenharmony_ci compatible = "simple-bus"; 1418c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000002>; 1428c2ecf20Sopenharmony_ci ranges; 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_ci/include/ "pq3-duart-0.dtsi" 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ci }; 1478c2ecf20Sopenharmony_ci 1488c2ecf20Sopenharmony_ci L2: l2-cache-controller@20000 { 1498c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-l2-cache-controller"; 1508c2ecf20Sopenharmony_ci reg = <0x20000 0x1000>; 1518c2ecf20Sopenharmony_ci cache-line-size = <32>; // 32 bytes 1528c2ecf20Sopenharmony_ci cache-size = <0x80000>; // L2, 512K 1538c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1548c2ecf20Sopenharmony_ci }; 1558c2ecf20Sopenharmony_ci 1568c2ecf20Sopenharmony_ci/include/ "pq3-dma-0.dtsi" 1578c2ecf20Sopenharmony_ci dma@21300 { 1588c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000400>; 1598c2ecf20Sopenharmony_ci }; 1608c2ecf20Sopenharmony_ci 1618c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-0.dtsi" 1628c2ecf20Sopenharmony_ci ethernet@24000 { 1638c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000080>; 1648c2ecf20Sopenharmony_ci }; 1658c2ecf20Sopenharmony_ci 1668c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-1.dtsi" 1678c2ecf20Sopenharmony_ci ethernet@25000 { 1688c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000040>; 1698c2ecf20Sopenharmony_ci }; 1708c2ecf20Sopenharmony_ci 1718c2ecf20Sopenharmony_ci par_io@e0100 { 1728c2ecf20Sopenharmony_ci reg = <0xe0100 0x100>; 1738c2ecf20Sopenharmony_ci device_type = "par_io"; 1748c2ecf20Sopenharmony_ci }; 1758c2ecf20Sopenharmony_ci 1768c2ecf20Sopenharmony_ci/include/ "pq3-sec2.1-0.dtsi" 1778c2ecf20Sopenharmony_ci crypto@30000 { 1788c2ecf20Sopenharmony_ci sleep = <&pmc 0x01000000>; 1798c2ecf20Sopenharmony_ci }; 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ci/include/ "pq3-mpic.dtsi" 1828c2ecf20Sopenharmony_ci/include/ "pq3-rmu-0.dtsi" 1838c2ecf20Sopenharmony_ci rmu@d3000 { 1848c2ecf20Sopenharmony_ci sleep = <&pmc 0x00040000>; 1858c2ecf20Sopenharmony_ci }; 1868c2ecf20Sopenharmony_ci 1878c2ecf20Sopenharmony_ci global-utilities@e0000 { 1888c2ecf20Sopenharmony_ci #address-cells = <1>; 1898c2ecf20Sopenharmony_ci #size-cells = <1>; 1908c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-guts", "fsl,mpc8548-guts"; 1918c2ecf20Sopenharmony_ci reg = <0xe0000 0x1000>; 1928c2ecf20Sopenharmony_ci ranges = <0 0xe0000 0x1000>; 1938c2ecf20Sopenharmony_ci fsl,has-rstcr; 1948c2ecf20Sopenharmony_ci 1958c2ecf20Sopenharmony_ci pmc: power@70 { 1968c2ecf20Sopenharmony_ci compatible = "fsl,mpc8568-pmc", 1978c2ecf20Sopenharmony_ci "fsl,mpc8548-pmc"; 1988c2ecf20Sopenharmony_ci reg = <0x70 0x20>; 1998c2ecf20Sopenharmony_ci }; 2008c2ecf20Sopenharmony_ci }; 2018c2ecf20Sopenharmony_ci}; 2028c2ecf20Sopenharmony_ci 2038c2ecf20Sopenharmony_ci&qe { 2048c2ecf20Sopenharmony_ci #address-cells = <1>; 2058c2ecf20Sopenharmony_ci #size-cells = <1>; 2068c2ecf20Sopenharmony_ci device_type = "qe"; 2078c2ecf20Sopenharmony_ci compatible = "fsl,qe"; 2088c2ecf20Sopenharmony_ci sleep = <&pmc 0x00000800>; 2098c2ecf20Sopenharmony_ci brg-frequency = <0>; 2108c2ecf20Sopenharmony_ci bus-frequency = <396000000>; 2118c2ecf20Sopenharmony_ci fsl,qe-num-riscs = <2>; 2128c2ecf20Sopenharmony_ci fsl,qe-num-snums = <28>; 2138c2ecf20Sopenharmony_ci 2148c2ecf20Sopenharmony_ci qeic: interrupt-controller@80 { 2158c2ecf20Sopenharmony_ci interrupt-controller; 2168c2ecf20Sopenharmony_ci compatible = "fsl,qe-ic"; 2178c2ecf20Sopenharmony_ci #address-cells = <0>; 2188c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 2198c2ecf20Sopenharmony_ci reg = <0x80 0x80>; 2208c2ecf20Sopenharmony_ci interrupts = <46 2 0 0 46 2 0 0>; //high:30 low:30 2218c2ecf20Sopenharmony_ci interrupt-parent = <&mpic>; 2228c2ecf20Sopenharmony_ci }; 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci spi@4c0 { 2258c2ecf20Sopenharmony_ci #address-cells = <1>; 2268c2ecf20Sopenharmony_ci #size-cells = <0>; 2278c2ecf20Sopenharmony_ci compatible = "fsl,spi"; 2288c2ecf20Sopenharmony_ci reg = <0x4c0 0x40>; 2298c2ecf20Sopenharmony_ci cell-index = <0>; 2308c2ecf20Sopenharmony_ci interrupts = <2>; 2318c2ecf20Sopenharmony_ci interrupt-parent = <&qeic>; 2328c2ecf20Sopenharmony_ci }; 2338c2ecf20Sopenharmony_ci 2348c2ecf20Sopenharmony_ci spi@500 { 2358c2ecf20Sopenharmony_ci #address-cells = <1>; 2368c2ecf20Sopenharmony_ci #size-cells = <0>; 2378c2ecf20Sopenharmony_ci cell-index = <1>; 2388c2ecf20Sopenharmony_ci compatible = "fsl,spi"; 2398c2ecf20Sopenharmony_ci reg = <0x500 0x40>; 2408c2ecf20Sopenharmony_ci interrupts = <1>; 2418c2ecf20Sopenharmony_ci interrupt-parent = <&qeic>; 2428c2ecf20Sopenharmony_ci }; 2438c2ecf20Sopenharmony_ci 2448c2ecf20Sopenharmony_ci ucc@2000 { 2458c2ecf20Sopenharmony_ci cell-index = <1>; 2468c2ecf20Sopenharmony_ci reg = <0x2000 0x200>; 2478c2ecf20Sopenharmony_ci interrupts = <32>; 2488c2ecf20Sopenharmony_ci interrupt-parent = <&qeic>; 2498c2ecf20Sopenharmony_ci }; 2508c2ecf20Sopenharmony_ci 2518c2ecf20Sopenharmony_ci ucc@3000 { 2528c2ecf20Sopenharmony_ci cell-index = <2>; 2538c2ecf20Sopenharmony_ci reg = <0x3000 0x200>; 2548c2ecf20Sopenharmony_ci interrupts = <33>; 2558c2ecf20Sopenharmony_ci interrupt-parent = <&qeic>; 2568c2ecf20Sopenharmony_ci }; 2578c2ecf20Sopenharmony_ci 2588c2ecf20Sopenharmony_ci muram@10000 { 2598c2ecf20Sopenharmony_ci #address-cells = <1>; 2608c2ecf20Sopenharmony_ci #size-cells = <1>; 2618c2ecf20Sopenharmony_ci compatible = "fsl,qe-muram", "fsl,cpm-muram"; 2628c2ecf20Sopenharmony_ci ranges = <0x0 0x10000 0x10000>; 2638c2ecf20Sopenharmony_ci 2648c2ecf20Sopenharmony_ci data-only@0 { 2658c2ecf20Sopenharmony_ci compatible = "fsl,qe-muram-data", 2668c2ecf20Sopenharmony_ci "fsl,cpm-muram-data"; 2678c2ecf20Sopenharmony_ci reg = <0x0 0x10000>; 2688c2ecf20Sopenharmony_ci }; 2698c2ecf20Sopenharmony_ci }; 2708c2ecf20Sopenharmony_ci}; 271