1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * P1010/P1014 Silicon/SoC Device Tree Source (post include) 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright 2011 Freescale Semiconductor Inc. 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Redistribution and use in source and binary forms, with or without 7*4882a593Smuzhiyun * modification, are permitted provided that the following conditions are met: 8*4882a593Smuzhiyun * * Redistributions of source code must retain the above copyright 9*4882a593Smuzhiyun * notice, this list of conditions and the following disclaimer. 10*4882a593Smuzhiyun * * Redistributions in binary form must reproduce the above copyright 11*4882a593Smuzhiyun * notice, this list of conditions and the following disclaimer in the 12*4882a593Smuzhiyun * documentation and/or other materials provided with the distribution. 13*4882a593Smuzhiyun * * Neither the name of Freescale Semiconductor nor the 14*4882a593Smuzhiyun * names of its contributors may be used to endorse or promote products 15*4882a593Smuzhiyun * derived from this software without specific prior written permission. 16*4882a593Smuzhiyun * 17*4882a593Smuzhiyun * 18*4882a593Smuzhiyun * ALTERNATIVELY, this software may be distributed under the terms of the 19*4882a593Smuzhiyun * GNU General Public License ("GPL") as published by the Free Software 20*4882a593Smuzhiyun * Foundation, either version 2 of that License or (at your option) any 21*4882a593Smuzhiyun * later version. 22*4882a593Smuzhiyun * 23*4882a593Smuzhiyun * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24*4882a593Smuzhiyun * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25*4882a593Smuzhiyun * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26*4882a593Smuzhiyun * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27*4882a593Smuzhiyun * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28*4882a593Smuzhiyun * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29*4882a593Smuzhiyun * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30*4882a593Smuzhiyun * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31*4882a593Smuzhiyun * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32*4882a593Smuzhiyun * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*4882a593Smuzhiyun */ 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun&ifc { 36*4882a593Smuzhiyun #address-cells = <2>; 37*4882a593Smuzhiyun #size-cells = <1>; 38*4882a593Smuzhiyun compatible = "fsl,ifc", "simple-bus"; 39*4882a593Smuzhiyun interrupts = <16 2 0 0 19 2 0 0>; 40*4882a593Smuzhiyun}; 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun/* controller at 0x9000 */ 43*4882a593Smuzhiyun&pci0 { 44*4882a593Smuzhiyun compatible = "fsl,p1010-pcie", "fsl,qoriq-pcie-v2.3"; 45*4882a593Smuzhiyun device_type = "pci"; 46*4882a593Smuzhiyun #size-cells = <2>; 47*4882a593Smuzhiyun #address-cells = <3>; 48*4882a593Smuzhiyun bus-range = <0 255>; 49*4882a593Smuzhiyun clock-frequency = <33333333>; 50*4882a593Smuzhiyun interrupts = <16 2 0 0>; 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun pcie@0 { 53*4882a593Smuzhiyun reg = <0 0 0 0 0>; 54*4882a593Smuzhiyun #interrupt-cells = <1>; 55*4882a593Smuzhiyun #size-cells = <2>; 56*4882a593Smuzhiyun #address-cells = <3>; 57*4882a593Smuzhiyun device_type = "pci"; 58*4882a593Smuzhiyun interrupts = <16 2 0 0>; 59*4882a593Smuzhiyun interrupt-map-mask = <0xf800 0 0 7>; 60*4882a593Smuzhiyun interrupt-map = < 61*4882a593Smuzhiyun /* IDSEL 0x0 */ 62*4882a593Smuzhiyun 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0 63*4882a593Smuzhiyun 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0 64*4882a593Smuzhiyun 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 65*4882a593Smuzhiyun 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 66*4882a593Smuzhiyun >; 67*4882a593Smuzhiyun }; 68*4882a593Smuzhiyun}; 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun/* controller at 0xa000 */ 71*4882a593Smuzhiyun&pci1 { 72*4882a593Smuzhiyun compatible = "fsl,p1010-pcie", "fsl,qoriq-pcie-v2.3"; 73*4882a593Smuzhiyun device_type = "pci"; 74*4882a593Smuzhiyun #size-cells = <2>; 75*4882a593Smuzhiyun #address-cells = <3>; 76*4882a593Smuzhiyun bus-range = <0 255>; 77*4882a593Smuzhiyun clock-frequency = <33333333>; 78*4882a593Smuzhiyun interrupts = <16 2 0 0>; 79*4882a593Smuzhiyun 80*4882a593Smuzhiyun pcie@0 { 81*4882a593Smuzhiyun reg = <0 0 0 0 0>; 82*4882a593Smuzhiyun #interrupt-cells = <1>; 83*4882a593Smuzhiyun #size-cells = <2>; 84*4882a593Smuzhiyun #address-cells = <3>; 85*4882a593Smuzhiyun device_type = "pci"; 86*4882a593Smuzhiyun interrupts = <16 2 0 0>; 87*4882a593Smuzhiyun interrupt-map-mask = <0xf800 0 0 7>; 88*4882a593Smuzhiyun 89*4882a593Smuzhiyun interrupt-map = < 90*4882a593Smuzhiyun /* IDSEL 0x0 */ 91*4882a593Smuzhiyun 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 92*4882a593Smuzhiyun 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 93*4882a593Smuzhiyun 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 94*4882a593Smuzhiyun 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 95*4882a593Smuzhiyun >; 96*4882a593Smuzhiyun }; 97*4882a593Smuzhiyun}; 98*4882a593Smuzhiyun 99*4882a593Smuzhiyun&soc { 100*4882a593Smuzhiyun #address-cells = <1>; 101*4882a593Smuzhiyun #size-cells = <1>; 102*4882a593Smuzhiyun device_type = "soc"; 103*4882a593Smuzhiyun compatible = "fsl,p1010-immr", "simple-bus"; 104*4882a593Smuzhiyun bus-frequency = <0>; // Filled out by uboot. 105*4882a593Smuzhiyun 106*4882a593Smuzhiyun ecm-law@0 { 107*4882a593Smuzhiyun compatible = "fsl,ecm-law"; 108*4882a593Smuzhiyun reg = <0x0 0x1000>; 109*4882a593Smuzhiyun fsl,num-laws = <12>; 110*4882a593Smuzhiyun }; 111*4882a593Smuzhiyun 112*4882a593Smuzhiyun ecm@1000 { 113*4882a593Smuzhiyun compatible = "fsl,p1010-ecm", "fsl,ecm"; 114*4882a593Smuzhiyun reg = <0x1000 0x1000>; 115*4882a593Smuzhiyun interrupts = <16 2 0 0>; 116*4882a593Smuzhiyun }; 117*4882a593Smuzhiyun 118*4882a593Smuzhiyun memory-controller@2000 { 119*4882a593Smuzhiyun compatible = "fsl,p1010-memory-controller"; 120*4882a593Smuzhiyun reg = <0x2000 0x1000>; 121*4882a593Smuzhiyun interrupts = <16 2 0 0>; 122*4882a593Smuzhiyun }; 123*4882a593Smuzhiyun 124*4882a593Smuzhiyun/include/ "pq3-i2c-0.dtsi" 125*4882a593Smuzhiyun i2c@3000 { 126*4882a593Smuzhiyun fsl,i2c-erratum-a004447; 127*4882a593Smuzhiyun }; 128*4882a593Smuzhiyun 129*4882a593Smuzhiyun/include/ "pq3-i2c-1.dtsi" 130*4882a593Smuzhiyun i2c@3100 { 131*4882a593Smuzhiyun fsl,i2c-erratum-a004447; 132*4882a593Smuzhiyun }; 133*4882a593Smuzhiyun 134*4882a593Smuzhiyun/include/ "pq3-duart-0.dtsi" 135*4882a593Smuzhiyun/include/ "pq3-espi-0.dtsi" 136*4882a593Smuzhiyun spi0: spi@7000 { 137*4882a593Smuzhiyun fsl,espi-num-chipselects = <1>; 138*4882a593Smuzhiyun }; 139*4882a593Smuzhiyun 140*4882a593Smuzhiyun/include/ "pq3-gpio-0.dtsi" 141*4882a593Smuzhiyun/include/ "pq3-sata2-0.dtsi" 142*4882a593Smuzhiyun/include/ "pq3-sata2-1.dtsi" 143*4882a593Smuzhiyun 144*4882a593Smuzhiyun can0: can@1c000 { 145*4882a593Smuzhiyun compatible = "fsl,p1010-flexcan"; 146*4882a593Smuzhiyun reg = <0x1c000 0x1000>; 147*4882a593Smuzhiyun interrupts = <48 0x2 0 0>; 148*4882a593Smuzhiyun big-endian; 149*4882a593Smuzhiyun }; 150*4882a593Smuzhiyun 151*4882a593Smuzhiyun can1: can@1d000 { 152*4882a593Smuzhiyun compatible = "fsl,p1010-flexcan"; 153*4882a593Smuzhiyun reg = <0x1d000 0x1000>; 154*4882a593Smuzhiyun interrupts = <61 0x2 0 0>; 155*4882a593Smuzhiyun big-endian; 156*4882a593Smuzhiyun }; 157*4882a593Smuzhiyun 158*4882a593Smuzhiyun L2: l2-cache-controller@20000 { 159*4882a593Smuzhiyun compatible = "fsl,p1010-l2-cache-controller", 160*4882a593Smuzhiyun "fsl,p1014-l2-cache-controller"; 161*4882a593Smuzhiyun reg = <0x20000 0x1000>; 162*4882a593Smuzhiyun cache-line-size = <32>; // 32 bytes 163*4882a593Smuzhiyun cache-size = <0x40000>; // L2,256K 164*4882a593Smuzhiyun interrupts = <16 2 0 0>; 165*4882a593Smuzhiyun }; 166*4882a593Smuzhiyun 167*4882a593Smuzhiyun/include/ "pq3-dma-0.dtsi" 168*4882a593Smuzhiyun/include/ "pq3-usb2-dr-0.dtsi" 169*4882a593Smuzhiyun usb@22000 { 170*4882a593Smuzhiyun compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 171*4882a593Smuzhiyun }; 172*4882a593Smuzhiyun/include/ "pq3-esdhc-0.dtsi" 173*4882a593Smuzhiyun sdhc@2e000 { 174*4882a593Smuzhiyun compatible = "fsl,p1010-esdhc", "fsl,esdhc"; 175*4882a593Smuzhiyun sdhci,auto-cmd12; 176*4882a593Smuzhiyun }; 177*4882a593Smuzhiyun 178*4882a593Smuzhiyun/include/ "pq3-sec4.4-0.dtsi" 179*4882a593Smuzhiyun/include/ "pq3-mpic.dtsi" 180*4882a593Smuzhiyun/include/ "pq3-mpic-timer-B.dtsi" 181*4882a593Smuzhiyun 182*4882a593Smuzhiyun/include/ "pq3-etsec2-0.dtsi" 183*4882a593Smuzhiyun enet0: ethernet@b0000 { 184*4882a593Smuzhiyun queue-group@b0000 { 185*4882a593Smuzhiyun fsl,rx-bit-map = <0xff>; 186*4882a593Smuzhiyun fsl,tx-bit-map = <0xff>; 187*4882a593Smuzhiyun }; 188*4882a593Smuzhiyun }; 189*4882a593Smuzhiyun 190*4882a593Smuzhiyun/include/ "pq3-etsec2-1.dtsi" 191*4882a593Smuzhiyun enet1: ethernet@b1000 { 192*4882a593Smuzhiyun queue-group@b1000 { 193*4882a593Smuzhiyun fsl,rx-bit-map = <0xff>; 194*4882a593Smuzhiyun fsl,tx-bit-map = <0xff>; 195*4882a593Smuzhiyun }; 196*4882a593Smuzhiyun }; 197*4882a593Smuzhiyun 198*4882a593Smuzhiyun/include/ "pq3-etsec2-2.dtsi" 199*4882a593Smuzhiyun enet2: ethernet@b2000 { 200*4882a593Smuzhiyun queue-group@b2000 { 201*4882a593Smuzhiyun fsl,rx-bit-map = <0xff>; 202*4882a593Smuzhiyun fsl,tx-bit-map = <0xff>; 203*4882a593Smuzhiyun }; 204*4882a593Smuzhiyun 205*4882a593Smuzhiyun }; 206*4882a593Smuzhiyun 207*4882a593Smuzhiyun global-utilities@e0000 { 208*4882a593Smuzhiyun compatible = "fsl,p1010-guts"; 209*4882a593Smuzhiyun reg = <0xe0000 0x1000>; 210*4882a593Smuzhiyun fsl,has-rstcr; 211*4882a593Smuzhiyun }; 212*4882a593Smuzhiyun}; 213