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