18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * P1023/P1017 Silicon/SoC Device Tree Source (post include) 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright 2011 - 2014 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&bman_fbpr { 368c2ecf20Sopenharmony_ci compatible = "fsl,bman-fbpr"; 378c2ecf20Sopenharmony_ci alloc-ranges = <0 0 0x10 0>; 388c2ecf20Sopenharmony_ci}; 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci&qman_fqd { 418c2ecf20Sopenharmony_ci compatible = "fsl,qman-fqd"; 428c2ecf20Sopenharmony_ci alloc-ranges = <0 0 0x10 0>; 438c2ecf20Sopenharmony_ci}; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci&qman_pfdr { 468c2ecf20Sopenharmony_ci compatible = "fsl,qman-pfdr"; 478c2ecf20Sopenharmony_ci alloc-ranges = <0 0 0x10 0>; 488c2ecf20Sopenharmony_ci}; 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci&lbc { 518c2ecf20Sopenharmony_ci #address-cells = <2>; 528c2ecf20Sopenharmony_ci #size-cells = <1>; 538c2ecf20Sopenharmony_ci compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus"; 548c2ecf20Sopenharmony_ci interrupts = <19 2 0 0>, 558c2ecf20Sopenharmony_ci <16 2 0 0>; 568c2ecf20Sopenharmony_ci}; 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci/* controller at 0xa000 */ 598c2ecf20Sopenharmony_ci&pci0 { 608c2ecf20Sopenharmony_ci compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2"; 618c2ecf20Sopenharmony_ci device_type = "pci"; 628c2ecf20Sopenharmony_ci #size-cells = <2>; 638c2ecf20Sopenharmony_ci #address-cells = <3>; 648c2ecf20Sopenharmony_ci bus-range = <0x0 0xff>; 658c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 668c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 678c2ecf20Sopenharmony_ci pcie@0 { 688c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 698c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 708c2ecf20Sopenharmony_ci #size-cells = <2>; 718c2ecf20Sopenharmony_ci #address-cells = <3>; 728c2ecf20Sopenharmony_ci device_type = "pci"; 738c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 748c2ecf20Sopenharmony_ci }; 758c2ecf20Sopenharmony_ci}; 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ci/* controller at 0x9000 */ 788c2ecf20Sopenharmony_ci&pci1 { 798c2ecf20Sopenharmony_ci compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2"; 808c2ecf20Sopenharmony_ci device_type = "pci"; 818c2ecf20Sopenharmony_ci #size-cells = <2>; 828c2ecf20Sopenharmony_ci #address-cells = <3>; 838c2ecf20Sopenharmony_ci bus-range = <0 0xff>; 848c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 858c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 868c2ecf20Sopenharmony_ci pcie@0 { 878c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 888c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 898c2ecf20Sopenharmony_ci #size-cells = <2>; 908c2ecf20Sopenharmony_ci #address-cells = <3>; 918c2ecf20Sopenharmony_ci device_type = "pci"; 928c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 938c2ecf20Sopenharmony_ci }; 948c2ecf20Sopenharmony_ci}; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci/* controller at 0xb000 */ 978c2ecf20Sopenharmony_ci&pci2 { 988c2ecf20Sopenharmony_ci compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2"; 998c2ecf20Sopenharmony_ci device_type = "pci"; 1008c2ecf20Sopenharmony_ci #size-cells = <2>; 1018c2ecf20Sopenharmony_ci #address-cells = <3>; 1028c2ecf20Sopenharmony_ci bus-range = <0x0 0xff>; 1038c2ecf20Sopenharmony_ci clock-frequency = <33333333>; 1048c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1058c2ecf20Sopenharmony_ci pcie@0 { 1068c2ecf20Sopenharmony_ci reg = <0 0 0 0 0>; 1078c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 1088c2ecf20Sopenharmony_ci #size-cells = <2>; 1098c2ecf20Sopenharmony_ci #address-cells = <3>; 1108c2ecf20Sopenharmony_ci device_type = "pci"; 1118c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1128c2ecf20Sopenharmony_ci }; 1138c2ecf20Sopenharmony_ci}; 1148c2ecf20Sopenharmony_ci 1158c2ecf20Sopenharmony_ci&qportals { 1168c2ecf20Sopenharmony_ci #address-cells = <1>; 1178c2ecf20Sopenharmony_ci #size-cells = <1>; 1188c2ecf20Sopenharmony_ci compatible = "simple-bus"; 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ci qportal0: qman-portal@0 { 1218c2ecf20Sopenharmony_ci compatible = "fsl,qman-portal"; 1228c2ecf20Sopenharmony_ci reg = <0x0 0x4000>, <0x100000 0x1000>; 1238c2ecf20Sopenharmony_ci interrupts = <29 2 0 0>; 1248c2ecf20Sopenharmony_ci cell-index = <0>; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci qportal1: qman-portal@4000 { 1278c2ecf20Sopenharmony_ci compatible = "fsl,qman-portal"; 1288c2ecf20Sopenharmony_ci reg = <0x4000 0x4000>, <0x101000 0x1000>; 1298c2ecf20Sopenharmony_ci interrupts = <31 2 0 0>; 1308c2ecf20Sopenharmony_ci cell-index = <1>; 1318c2ecf20Sopenharmony_ci }; 1328c2ecf20Sopenharmony_ci qportal2: qman-portal@8000 { 1338c2ecf20Sopenharmony_ci compatible = "fsl,qman-portal"; 1348c2ecf20Sopenharmony_ci reg = <0x8000 0x4000>, <0x102000 0x1000>; 1358c2ecf20Sopenharmony_ci interrupts = <33 2 0 0>; 1368c2ecf20Sopenharmony_ci cell-index = <2>; 1378c2ecf20Sopenharmony_ci }; 1388c2ecf20Sopenharmony_ci}; 1398c2ecf20Sopenharmony_ci 1408c2ecf20Sopenharmony_ci&bportals { 1418c2ecf20Sopenharmony_ci #address-cells = <1>; 1428c2ecf20Sopenharmony_ci #size-cells = <1>; 1438c2ecf20Sopenharmony_ci compatible = "simple-bus"; 1448c2ecf20Sopenharmony_ci 1458c2ecf20Sopenharmony_ci bman-portal@0 { 1468c2ecf20Sopenharmony_ci compatible = "fsl,bman-portal"; 1478c2ecf20Sopenharmony_ci reg = <0x0 0x4000>, <0x100000 0x1000>; 1488c2ecf20Sopenharmony_ci interrupts = <30 2 0 0>; 1498c2ecf20Sopenharmony_ci }; 1508c2ecf20Sopenharmony_ci bman-portal@4000 { 1518c2ecf20Sopenharmony_ci compatible = "fsl,bman-portal"; 1528c2ecf20Sopenharmony_ci reg = <0x4000 0x4000>, <0x101000 0x1000>; 1538c2ecf20Sopenharmony_ci interrupts = <32 2 0 0>; 1548c2ecf20Sopenharmony_ci }; 1558c2ecf20Sopenharmony_ci bman-portal@8000 { 1568c2ecf20Sopenharmony_ci compatible = "fsl,bman-portal"; 1578c2ecf20Sopenharmony_ci reg = <0x8000 0x4000>, <0x102000 0x1000>; 1588c2ecf20Sopenharmony_ci interrupts = <34 2 0 0>; 1598c2ecf20Sopenharmony_ci }; 1608c2ecf20Sopenharmony_ci}; 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_ci&soc { 1638c2ecf20Sopenharmony_ci #address-cells = <1>; 1648c2ecf20Sopenharmony_ci #size-cells = <1>; 1658c2ecf20Sopenharmony_ci device_type = "soc"; 1668c2ecf20Sopenharmony_ci compatible = "fsl,p1023-immr", "simple-bus"; 1678c2ecf20Sopenharmony_ci bus-frequency = <0>; // Filled out by uboot. 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci ecm-law@0 { 1708c2ecf20Sopenharmony_ci compatible = "fsl,ecm-law"; 1718c2ecf20Sopenharmony_ci reg = <0x0 0x1000>; 1728c2ecf20Sopenharmony_ci fsl,num-laws = <12>; 1738c2ecf20Sopenharmony_ci }; 1748c2ecf20Sopenharmony_ci 1758c2ecf20Sopenharmony_ci ecm@1000 { 1768c2ecf20Sopenharmony_ci compatible = "fsl,p1023-ecm", "fsl,ecm"; 1778c2ecf20Sopenharmony_ci reg = <0x1000 0x1000>; 1788c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1798c2ecf20Sopenharmony_ci }; 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ci memory-controller@2000 { 1828c2ecf20Sopenharmony_ci compatible = "fsl,p1023-memory-controller"; 1838c2ecf20Sopenharmony_ci reg = <0x2000 0x1000>; 1848c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 1858c2ecf20Sopenharmony_ci }; 1868c2ecf20Sopenharmony_ci 1878c2ecf20Sopenharmony_ci/include/ "pq3-i2c-0.dtsi" 1888c2ecf20Sopenharmony_ci/include/ "pq3-i2c-1.dtsi" 1898c2ecf20Sopenharmony_ci/include/ "pq3-duart-0.dtsi" 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ci/include/ "pq3-espi-0.dtsi" 1928c2ecf20Sopenharmony_ci spi@7000 { 1938c2ecf20Sopenharmony_ci fsl,espi-num-chipselects = <4>; 1948c2ecf20Sopenharmony_ci }; 1958c2ecf20Sopenharmony_ci 1968c2ecf20Sopenharmony_ci/include/ "pq3-gpio-0.dtsi" 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ci L2: l2-cache-controller@20000 { 1998c2ecf20Sopenharmony_ci compatible = "fsl,p1023-l2-cache-controller"; 2008c2ecf20Sopenharmony_ci reg = <0x20000 0x1000>; 2018c2ecf20Sopenharmony_ci cache-line-size = <32>; // 32 bytes 2028c2ecf20Sopenharmony_ci cache-size = <0x40000>; // L2,256K 2038c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 2048c2ecf20Sopenharmony_ci }; 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ci/include/ "pq3-dma-0.dtsi" 2078c2ecf20Sopenharmony_ci/include/ "pq3-usb2-dr-0.dtsi" 2088c2ecf20Sopenharmony_ci usb@22000 { 2098c2ecf20Sopenharmony_ci compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 2108c2ecf20Sopenharmony_ci }; 2118c2ecf20Sopenharmony_ci 2128c2ecf20Sopenharmony_ci crypto: crypto@300000 { 2138c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; 2148c2ecf20Sopenharmony_ci fsl,sec-era = <3>; 2158c2ecf20Sopenharmony_ci #address-cells = <1>; 2168c2ecf20Sopenharmony_ci #size-cells = <1>; 2178c2ecf20Sopenharmony_ci reg = <0x30000 0x10000>; 2188c2ecf20Sopenharmony_ci ranges = <0 0x30000 0x10000>; 2198c2ecf20Sopenharmony_ci interrupts = <58 2 0 0>; 2208c2ecf20Sopenharmony_ci 2218c2ecf20Sopenharmony_ci sec_jr0: jr@1000 { 2228c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-job-ring", 2238c2ecf20Sopenharmony_ci "fsl,sec-v4.0-job-ring"; 2248c2ecf20Sopenharmony_ci reg = <0x1000 0x1000>; 2258c2ecf20Sopenharmony_ci interrupts = <45 2 0 0>; 2268c2ecf20Sopenharmony_ci }; 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci sec_jr1: jr@2000 { 2298c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-job-ring", 2308c2ecf20Sopenharmony_ci "fsl,sec-v4.0-job-ring"; 2318c2ecf20Sopenharmony_ci reg = <0x2000 0x1000>; 2328c2ecf20Sopenharmony_ci interrupts = <45 2 0 0>; 2338c2ecf20Sopenharmony_ci }; 2348c2ecf20Sopenharmony_ci 2358c2ecf20Sopenharmony_ci sec_jr2: jr@3000 { 2368c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-job-ring", 2378c2ecf20Sopenharmony_ci "fsl,sec-v4.0-job-ring"; 2388c2ecf20Sopenharmony_ci reg = <0x3000 0x1000>; 2398c2ecf20Sopenharmony_ci interrupts = <57 2 0 0>; 2408c2ecf20Sopenharmony_ci }; 2418c2ecf20Sopenharmony_ci 2428c2ecf20Sopenharmony_ci sec_jr3: jr@4000 { 2438c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-job-ring", 2448c2ecf20Sopenharmony_ci "fsl,sec-v4.0-job-ring"; 2458c2ecf20Sopenharmony_ci reg = <0x4000 0x1000>; 2468c2ecf20Sopenharmony_ci interrupts = <57 2 0 0>; 2478c2ecf20Sopenharmony_ci }; 2488c2ecf20Sopenharmony_ci 2498c2ecf20Sopenharmony_ci rtic@6000 { 2508c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-rtic", 2518c2ecf20Sopenharmony_ci "fsl,sec-v4.0-rtic"; 2528c2ecf20Sopenharmony_ci #address-cells = <1>; 2538c2ecf20Sopenharmony_ci #size-cells = <1>; 2548c2ecf20Sopenharmony_ci reg = <0x6000 0x100>; 2558c2ecf20Sopenharmony_ci ranges = <0x0 0x6100 0xe00>; 2568c2ecf20Sopenharmony_ci 2578c2ecf20Sopenharmony_ci rtic_a: rtic-a@0 { 2588c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-rtic-memory", 2598c2ecf20Sopenharmony_ci "fsl,sec-v4.0-rtic-memory"; 2608c2ecf20Sopenharmony_ci reg = <0x00 0x20 0x100 0x80>; 2618c2ecf20Sopenharmony_ci }; 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ci rtic_b: rtic-b@20 { 2648c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-rtic-memory", 2658c2ecf20Sopenharmony_ci "fsl,sec-v4.0-rtic-memory"; 2668c2ecf20Sopenharmony_ci reg = <0x20 0x20 0x200 0x80>; 2678c2ecf20Sopenharmony_ci }; 2688c2ecf20Sopenharmony_ci 2698c2ecf20Sopenharmony_ci rtic_c: rtic-c@40 { 2708c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-rtic-memory", 2718c2ecf20Sopenharmony_ci "fsl,sec-v4.0-rtic-memory"; 2728c2ecf20Sopenharmony_ci reg = <0x40 0x20 0x300 0x80>; 2738c2ecf20Sopenharmony_ci }; 2748c2ecf20Sopenharmony_ci 2758c2ecf20Sopenharmony_ci rtic_d: rtic-d@60 { 2768c2ecf20Sopenharmony_ci compatible = "fsl,sec-v4.2-rtic-memory", 2778c2ecf20Sopenharmony_ci "fsl,sec-v4.0-rtic-memory"; 2788c2ecf20Sopenharmony_ci reg = <0x60 0x20 0x500 0x80>; 2798c2ecf20Sopenharmony_ci }; 2808c2ecf20Sopenharmony_ci }; 2818c2ecf20Sopenharmony_ci }; 2828c2ecf20Sopenharmony_ci 2838c2ecf20Sopenharmony_ci/include/ "pq3-mpic.dtsi" 2848c2ecf20Sopenharmony_ci/include/ "pq3-mpic-timer-B.dtsi" 2858c2ecf20Sopenharmony_ci 2868c2ecf20Sopenharmony_ci qman: qman@88000 { 2878c2ecf20Sopenharmony_ci compatible = "fsl,qman"; 2888c2ecf20Sopenharmony_ci reg = <0x88000 0x1000>; 2898c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 2908c2ecf20Sopenharmony_ci fsl,qman-portals = <&qportals>; 2918c2ecf20Sopenharmony_ci memory-region = <&qman_fqd &qman_pfdr>; 2928c2ecf20Sopenharmony_ci }; 2938c2ecf20Sopenharmony_ci 2948c2ecf20Sopenharmony_ci bman: bman@8a000 { 2958c2ecf20Sopenharmony_ci compatible = "fsl,bman"; 2968c2ecf20Sopenharmony_ci reg = <0x8a000 0x1000>; 2978c2ecf20Sopenharmony_ci interrupts = <16 2 0 0>; 2988c2ecf20Sopenharmony_ci fsl,bman-portals = <&bportals>; 2998c2ecf20Sopenharmony_ci memory-region = <&bman_fbpr>; 3008c2ecf20Sopenharmony_ci }; 3018c2ecf20Sopenharmony_ci 3028c2ecf20Sopenharmony_ci global-utilities@e0000 { 3038c2ecf20Sopenharmony_ci compatible = "fsl,p1023-guts"; 3048c2ecf20Sopenharmony_ci reg = <0xe0000 0x1000>; 3058c2ecf20Sopenharmony_ci fsl,has-rstcr; 3068c2ecf20Sopenharmony_ci }; 3078c2ecf20Sopenharmony_ci}; 308