18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * P2020/P2010 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,p2020-elbc", "fsl,elbc", "simple-bus"; 398c2ecf20Sopenharmony_ci interrupts = <19 2 0 0>; 408c2ecf20Sopenharmony_ci}; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci/* controller at 0xa000 */ 438c2ecf20Sopenharmony_ci&pci0 { 448c2ecf20Sopenharmony_ci compatible = "fsl,mpc8548-pcie"; 458c2ecf20Sopenharmony_ci device_type = "pci"; 468c2ecf20Sopenharmony_ci #size-cells = <2>; 478c2ecf20Sopenharmony_ci #address-cells = <3>; 488c2ecf20Sopenharmony_ci bus-range = <0 255>; 498c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 508c2ecf20Sopenharmony_ci interrupts = <26 2 0 0>; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci pcie@0 { 538c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 548c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 558c2ecf20Sopenharmony_ci #size-cells = <2>; 568c2ecf20Sopenharmony_ci #address-cells = <3>; 578c2ecf20Sopenharmony_ci device_type = "pci"; 588c2ecf20Sopenharmony_ci interrupts = <26 2 0 0>; 598c2ecf20Sopenharmony_ci interrupt-map-mask = <0xf800 0 0 7>; 608c2ecf20Sopenharmony_ci interrupt-map = < 618c2ecf20Sopenharmony_ci /* IDSEL 0x0 */ 628c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 638c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 648c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 658c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 668c2ecf20Sopenharmony_ci >; 678c2ecf20Sopenharmony_ci }; 688c2ecf20Sopenharmony_ci}; 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci/* controller at 0x9000 */ 718c2ecf20Sopenharmony_ci&pci1 { 728c2ecf20Sopenharmony_ci compatible = "fsl,mpc8548-pcie"; 738c2ecf20Sopenharmony_ci device_type = "pci"; 748c2ecf20Sopenharmony_ci #size-cells = <2>; 758c2ecf20Sopenharmony_ci #address-cells = <3>; 768c2ecf20Sopenharmony_ci bus-range = <0 255>; 778c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 788c2ecf20Sopenharmony_ci interrupts = <25 2 0 0>; 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ci pcie@0 { 818c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 828c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 838c2ecf20Sopenharmony_ci #size-cells = <2>; 848c2ecf20Sopenharmony_ci #address-cells = <3>; 858c2ecf20Sopenharmony_ci device_type = "pci"; 868c2ecf20Sopenharmony_ci interrupts = <25 2 0 0>; 878c2ecf20Sopenharmony_ci interrupt-map-mask = <0xf800 0 0 7>; 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci interrupt-map = < 908c2ecf20Sopenharmony_ci /* IDSEL 0x0 */ 918c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0 928c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0 938c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 948c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 958c2ecf20Sopenharmony_ci >; 968c2ecf20Sopenharmony_ci }; 978c2ecf20Sopenharmony_ci}; 988c2ecf20Sopenharmony_ci 998c2ecf20Sopenharmony_ci/* controller at 0x8000 */ 1008c2ecf20Sopenharmony_ci&pci2 { 1018c2ecf20Sopenharmony_ci compatible = "fsl,mpc8548-pcie"; 1028c2ecf20Sopenharmony_ci device_type = "pci"; 1038c2ecf20Sopenharmony_ci #size-cells = <2>; 1048c2ecf20Sopenharmony_ci #address-cells = <3>; 1058c2ecf20Sopenharmony_ci bus-range = <0 255>; 1068c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 1078c2ecf20Sopenharmony_ci interrupts = <24 2 0 0>; 1088c2ecf20Sopenharmony_ci 1098c2ecf20Sopenharmony_ci pcie@0 { 1108c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 1118c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 1128c2ecf20Sopenharmony_ci #size-cells = <2>; 1138c2ecf20Sopenharmony_ci #address-cells = <3>; 1148c2ecf20Sopenharmony_ci device_type = "pci"; 1158c2ecf20Sopenharmony_ci interrupts = <24 2 0 0>; 1168c2ecf20Sopenharmony_ci interrupt-map-mask = <0xf800 0 0 7>; 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ci interrupt-map = < 1198c2ecf20Sopenharmony_ci /* IDSEL 0x0 */ 1208c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0 1218c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0 1228c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0 1238c2ecf20Sopenharmony_ci 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0 1248c2ecf20Sopenharmony_ci >; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci}; 1278c2ecf20Sopenharmony_ci 1288c2ecf20Sopenharmony_ci&soc { 1298c2ecf20Sopenharmony_ci #address-cells = <1>; 1308c2ecf20Sopenharmony_ci #size-cells = <1>; 1318c2ecf20Sopenharmony_ci device_type = "soc"; 1328c2ecf20Sopenharmony_ci compatible = "fsl,p2020-immr", "simple-bus"; 1338c2ecf20Sopenharmony_ci bus-frequency = <0>; // Filled out by uboot. 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci ecm-law@0 { 1368c2ecf20Sopenharmony_ci compatible = "fsl,ecm-law"; 1378c2ecf20Sopenharmony_ci reg = <0x0 0x1000>; 1388c2ecf20Sopenharmony_ci fsl,num-laws = <12>; 1398c2ecf20Sopenharmony_ci }; 1408c2ecf20Sopenharmony_ci 1418c2ecf20Sopenharmony_ci ecm@1000 { 1428c2ecf20Sopenharmony_ci compatible = "fsl,p2020-ecm", "fsl,ecm"; 1438c2ecf20Sopenharmony_ci reg = <0x1000 0x1000>; 1448c2ecf20Sopenharmony_ci interrupts = <17 2 0 0>; 1458c2ecf20Sopenharmony_ci }; 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ci memory-controller@2000 { 1488c2ecf20Sopenharmony_ci compatible = "fsl,p2020-memory-controller"; 1498c2ecf20Sopenharmony_ci reg = <0x2000 0x1000>; 1508c2ecf20Sopenharmony_ci interrupts = <18 2 0 0>; 1518c2ecf20Sopenharmony_ci }; 1528c2ecf20Sopenharmony_ci 1538c2ecf20Sopenharmony_ci/include/ "pq3-i2c-0.dtsi" 1548c2ecf20Sopenharmony_ci/include/ "pq3-i2c-1.dtsi" 1558c2ecf20Sopenharmony_ci/include/ "pq3-duart-0.dtsi" 1568c2ecf20Sopenharmony_ci/include/ "pq3-espi-0.dtsi" 1578c2ecf20Sopenharmony_ci spi0: spi@7000 { 1588c2ecf20Sopenharmony_ci fsl,espi-num-chipselects = <4>; 1598c2ecf20Sopenharmony_ci }; 1608c2ecf20Sopenharmony_ci 1618c2ecf20Sopenharmony_ci/include/ "pq3-dma-1.dtsi" 1628c2ecf20Sopenharmony_ci/include/ "pq3-gpio-0.dtsi" 1638c2ecf20Sopenharmony_ci 1648c2ecf20Sopenharmony_ci L2: l2-cache-controller@20000 { 1658c2ecf20Sopenharmony_ci compatible = "fsl,p2020-l2-cache-controller"; 1668c2ecf20Sopenharmony_ci reg = <0x20000 0x1000>; 1678c2ecf20Sopenharmony_ci cache-line-size = <32>; // 32 bytes 1688c2ecf20Sopenharmony_ci cache-size = <0x80000>; // L2,512K 1698c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1708c2ecf20Sopenharmony_ci }; 1718c2ecf20Sopenharmony_ci 1728c2ecf20Sopenharmony_ci/include/ "pq3-dma-0.dtsi" 1738c2ecf20Sopenharmony_ci/include/ "pq3-usb2-dr-0.dtsi" 1748c2ecf20Sopenharmony_ci usb@22000 { 1758c2ecf20Sopenharmony_ci compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 1768c2ecf20Sopenharmony_ci }; 1778c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-0.dtsi" 1788c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-timer-0.dtsi" 1798c2ecf20Sopenharmony_ci 1808c2ecf20Sopenharmony_ci ptp_clock@24e00 { 1818c2ecf20Sopenharmony_ci interrupts = <68 2 0 0 69 2 0 0 70 2 0 0>; 1828c2ecf20Sopenharmony_ci }; 1838c2ecf20Sopenharmony_ci 1848c2ecf20Sopenharmony_ci 1858c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-1.dtsi" 1868c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-2.dtsi" 1878c2ecf20Sopenharmony_ci/include/ "pq3-esdhc-0.dtsi" 1888c2ecf20Sopenharmony_ci sdhc@2e000 { 1898c2ecf20Sopenharmony_ci compatible = "fsl,p2020-esdhc", "fsl,esdhc"; 1908c2ecf20Sopenharmony_ci }; 1918c2ecf20Sopenharmony_ci 1928c2ecf20Sopenharmony_ci/include/ "pq3-sec3.1-0.dtsi" 1938c2ecf20Sopenharmony_ci/include/ "pq3-mpic.dtsi" 1948c2ecf20Sopenharmony_ci/include/ "pq3-mpic-timer-B.dtsi" 1958c2ecf20Sopenharmony_ci 1968c2ecf20Sopenharmony_ci global-utilities@e0000 { 1978c2ecf20Sopenharmony_ci compatible = "fsl,p2020-guts"; 1988c2ecf20Sopenharmony_ci reg = <0xe0000 0x1000>; 1998c2ecf20Sopenharmony_ci fsl,has-rstcr; 2008c2ecf20Sopenharmony_ci }; 2018c2ecf20Sopenharmony_ci}; 202