1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * MPC8568 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,mpc8568-localbus", "fsl,pq3-localbus", "simple-bus"; 39*c66ec88fSEmmanuel Vadot interrupts = <19 2 0 0>; 40*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x08000000>; 41*c66ec88fSEmmanuel Vadot}; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot/* controller at 0x8000 */ 44*c66ec88fSEmmanuel Vadot&pci0 { 45*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8540-pci"; 46*c66ec88fSEmmanuel Vadot device_type = "pci"; 47*c66ec88fSEmmanuel Vadot interrupts = <24 0x2 0 0>; 48*c66ec88fSEmmanuel Vadot bus-range = <0 0xff>; 49*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 50*c66ec88fSEmmanuel Vadot #size-cells = <2>; 51*c66ec88fSEmmanuel Vadot #address-cells = <3>; 52*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x80000000>; 53*c66ec88fSEmmanuel Vadot}; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot/* controller at 0xa000 */ 56*c66ec88fSEmmanuel Vadot&pci1 { 57*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-pcie"; 58*c66ec88fSEmmanuel Vadot device_type = "pci"; 59*c66ec88fSEmmanuel Vadot #size-cells = <2>; 60*c66ec88fSEmmanuel Vadot #address-cells = <3>; 61*c66ec88fSEmmanuel Vadot bus-range = <0 255>; 62*c66ec88fSEmmanuel Vadot clock-frequency = <33333333>; 63*c66ec88fSEmmanuel Vadot interrupts = <26 2 0 0>; 64*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x20000000>; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot pcie@0 { 67*c66ec88fSEmmanuel Vadot reg = <0 0 0 0 0>; 68*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 69*c66ec88fSEmmanuel Vadot #size-cells = <2>; 70*c66ec88fSEmmanuel Vadot #address-cells = <3>; 71*c66ec88fSEmmanuel Vadot device_type = "pci"; 72*c66ec88fSEmmanuel Vadot interrupts = <26 2 0 0>; 73*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0 0 7>; 74*c66ec88fSEmmanuel Vadot interrupt-map = < 75*c66ec88fSEmmanuel Vadot /* IDSEL 0x0 */ 76*c66ec88fSEmmanuel Vadot 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 77*c66ec88fSEmmanuel Vadot 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 78*c66ec88fSEmmanuel Vadot 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 79*c66ec88fSEmmanuel Vadot 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 80*c66ec88fSEmmanuel Vadot >; 81*c66ec88fSEmmanuel Vadot }; 82*c66ec88fSEmmanuel Vadot}; 83*c66ec88fSEmmanuel Vadot 84*c66ec88fSEmmanuel Vadot&rio { 85*c66ec88fSEmmanuel Vadot compatible = "fsl,srio"; 86*c66ec88fSEmmanuel Vadot interrupts = <48 2 0 0>; 87*c66ec88fSEmmanuel Vadot #address-cells = <2>; 88*c66ec88fSEmmanuel Vadot #size-cells = <2>; 89*c66ec88fSEmmanuel Vadot fsl,srio-rmu-handle = <&rmu>; 90*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00080000>; 91*c66ec88fSEmmanuel Vadot ranges; 92*c66ec88fSEmmanuel Vadot 93*c66ec88fSEmmanuel Vadot port1 { 94*c66ec88fSEmmanuel Vadot #address-cells = <2>; 95*c66ec88fSEmmanuel Vadot #size-cells = <2>; 96*c66ec88fSEmmanuel Vadot cell-index = <1>; 97*c66ec88fSEmmanuel Vadot }; 98*c66ec88fSEmmanuel Vadot}; 99*c66ec88fSEmmanuel Vadot 100*c66ec88fSEmmanuel Vadot&soc { 101*c66ec88fSEmmanuel Vadot #address-cells = <1>; 102*c66ec88fSEmmanuel Vadot #size-cells = <1>; 103*c66ec88fSEmmanuel Vadot device_type = "soc"; 104*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-immr", "simple-bus"; 105*c66ec88fSEmmanuel Vadot bus-frequency = <0>; // Filled out by uboot. 106*c66ec88fSEmmanuel Vadot 107*c66ec88fSEmmanuel Vadot ecm-law@0 { 108*c66ec88fSEmmanuel Vadot compatible = "fsl,ecm-law"; 109*c66ec88fSEmmanuel Vadot reg = <0x0 0x1000>; 110*c66ec88fSEmmanuel Vadot fsl,num-laws = <10>; 111*c66ec88fSEmmanuel Vadot }; 112*c66ec88fSEmmanuel Vadot 113*c66ec88fSEmmanuel Vadot ecm@1000 { 114*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-ecm", "fsl,ecm"; 115*c66ec88fSEmmanuel Vadot reg = <0x1000 0x1000>; 116*c66ec88fSEmmanuel Vadot interrupts = <17 2 0 0>; 117*c66ec88fSEmmanuel Vadot }; 118*c66ec88fSEmmanuel Vadot 119*c66ec88fSEmmanuel Vadot memory-controller@2000 { 120*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-memory-controller"; 121*c66ec88fSEmmanuel Vadot reg = <0x2000 0x1000>; 122*c66ec88fSEmmanuel Vadot interrupts = <18 2 0 0>; 123*c66ec88fSEmmanuel Vadot }; 124*c66ec88fSEmmanuel Vadot 125*c66ec88fSEmmanuel Vadot i2c-sleep-nexus { 126*c66ec88fSEmmanuel Vadot #address-cells = <1>; 127*c66ec88fSEmmanuel Vadot #size-cells = <1>; 128*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 129*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000004>; 130*c66ec88fSEmmanuel Vadot ranges; 131*c66ec88fSEmmanuel Vadot 132*c66ec88fSEmmanuel Vadot/include/ "pq3-i2c-0.dtsi" 133*c66ec88fSEmmanuel Vadot/include/ "pq3-i2c-1.dtsi" 134*c66ec88fSEmmanuel Vadot 135*c66ec88fSEmmanuel Vadot }; 136*c66ec88fSEmmanuel Vadot 137*c66ec88fSEmmanuel Vadot duart-sleep-nexus { 138*c66ec88fSEmmanuel Vadot #address-cells = <1>; 139*c66ec88fSEmmanuel Vadot #size-cells = <1>; 140*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 141*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000002>; 142*c66ec88fSEmmanuel Vadot ranges; 143*c66ec88fSEmmanuel Vadot 144*c66ec88fSEmmanuel Vadot/include/ "pq3-duart-0.dtsi" 145*c66ec88fSEmmanuel Vadot 146*c66ec88fSEmmanuel Vadot }; 147*c66ec88fSEmmanuel Vadot 148*c66ec88fSEmmanuel Vadot L2: l2-cache-controller@20000 { 149*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-l2-cache-controller"; 150*c66ec88fSEmmanuel Vadot reg = <0x20000 0x1000>; 151*c66ec88fSEmmanuel Vadot cache-line-size = <32>; // 32 bytes 152*c66ec88fSEmmanuel Vadot cache-size = <0x80000>; // L2, 512K 153*c66ec88fSEmmanuel Vadot interrupts = <16 2 0 0>; 154*c66ec88fSEmmanuel Vadot }; 155*c66ec88fSEmmanuel Vadot 156*c66ec88fSEmmanuel Vadot/include/ "pq3-dma-0.dtsi" 157*c66ec88fSEmmanuel Vadot dma@21300 { 158*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000400>; 159*c66ec88fSEmmanuel Vadot }; 160*c66ec88fSEmmanuel Vadot 161*c66ec88fSEmmanuel Vadot/include/ "pq3-etsec1-0.dtsi" 162*c66ec88fSEmmanuel Vadot ethernet@24000 { 163*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000080>; 164*c66ec88fSEmmanuel Vadot }; 165*c66ec88fSEmmanuel Vadot 166*c66ec88fSEmmanuel Vadot/include/ "pq3-etsec1-1.dtsi" 167*c66ec88fSEmmanuel Vadot ethernet@25000 { 168*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000040>; 169*c66ec88fSEmmanuel Vadot }; 170*c66ec88fSEmmanuel Vadot 171*c66ec88fSEmmanuel Vadot par_io@e0100 { 172*c66ec88fSEmmanuel Vadot reg = <0xe0100 0x100>; 173*c66ec88fSEmmanuel Vadot device_type = "par_io"; 174*c66ec88fSEmmanuel Vadot }; 175*c66ec88fSEmmanuel Vadot 176*c66ec88fSEmmanuel Vadot/include/ "pq3-sec2.1-0.dtsi" 177*c66ec88fSEmmanuel Vadot crypto@30000 { 178*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x01000000>; 179*c66ec88fSEmmanuel Vadot }; 180*c66ec88fSEmmanuel Vadot 181*c66ec88fSEmmanuel Vadot/include/ "pq3-mpic.dtsi" 182*c66ec88fSEmmanuel Vadot/include/ "pq3-rmu-0.dtsi" 183*c66ec88fSEmmanuel Vadot rmu@d3000 { 184*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00040000>; 185*c66ec88fSEmmanuel Vadot }; 186*c66ec88fSEmmanuel Vadot 187*c66ec88fSEmmanuel Vadot global-utilities@e0000 { 188*c66ec88fSEmmanuel Vadot #address-cells = <1>; 189*c66ec88fSEmmanuel Vadot #size-cells = <1>; 190*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-guts", "fsl,mpc8548-guts"; 191*c66ec88fSEmmanuel Vadot reg = <0xe0000 0x1000>; 192*c66ec88fSEmmanuel Vadot ranges = <0 0xe0000 0x1000>; 193*c66ec88fSEmmanuel Vadot fsl,has-rstcr; 194*c66ec88fSEmmanuel Vadot 195*c66ec88fSEmmanuel Vadot pmc: power@70 { 196*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8568-pmc", 197*c66ec88fSEmmanuel Vadot "fsl,mpc8548-pmc"; 198*c66ec88fSEmmanuel Vadot reg = <0x70 0x20>; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot }; 201*c66ec88fSEmmanuel Vadot}; 202*c66ec88fSEmmanuel Vadot 203*c66ec88fSEmmanuel Vadot&qe { 204*c66ec88fSEmmanuel Vadot #address-cells = <1>; 205*c66ec88fSEmmanuel Vadot #size-cells = <1>; 206*c66ec88fSEmmanuel Vadot device_type = "qe"; 207*c66ec88fSEmmanuel Vadot compatible = "fsl,qe"; 208*c66ec88fSEmmanuel Vadot sleep = <&pmc 0x00000800>; 209*c66ec88fSEmmanuel Vadot brg-frequency = <0>; 210*c66ec88fSEmmanuel Vadot bus-frequency = <396000000>; 211*c66ec88fSEmmanuel Vadot fsl,qe-num-riscs = <2>; 212*c66ec88fSEmmanuel Vadot fsl,qe-num-snums = <28>; 213*c66ec88fSEmmanuel Vadot 214*c66ec88fSEmmanuel Vadot qeic: interrupt-controller@80 { 215*c66ec88fSEmmanuel Vadot interrupt-controller; 216*c66ec88fSEmmanuel Vadot compatible = "fsl,qe-ic"; 217*c66ec88fSEmmanuel Vadot #address-cells = <0>; 218*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 219*c66ec88fSEmmanuel Vadot reg = <0x80 0x80>; 220*c66ec88fSEmmanuel Vadot interrupts = <46 2 0 0 46 2 0 0>; //high:30 low:30 221*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 222*c66ec88fSEmmanuel Vadot }; 223*c66ec88fSEmmanuel Vadot 224*c66ec88fSEmmanuel Vadot spi@4c0 { 225*c66ec88fSEmmanuel Vadot #address-cells = <1>; 226*c66ec88fSEmmanuel Vadot #size-cells = <0>; 227*c66ec88fSEmmanuel Vadot compatible = "fsl,spi"; 228*c66ec88fSEmmanuel Vadot reg = <0x4c0 0x40>; 229*c66ec88fSEmmanuel Vadot cell-index = <0>; 230*c66ec88fSEmmanuel Vadot interrupts = <2>; 231*c66ec88fSEmmanuel Vadot interrupt-parent = <&qeic>; 232*c66ec88fSEmmanuel Vadot }; 233*c66ec88fSEmmanuel Vadot 234*c66ec88fSEmmanuel Vadot spi@500 { 235*c66ec88fSEmmanuel Vadot #address-cells = <1>; 236*c66ec88fSEmmanuel Vadot #size-cells = <0>; 237*c66ec88fSEmmanuel Vadot cell-index = <1>; 238*c66ec88fSEmmanuel Vadot compatible = "fsl,spi"; 239*c66ec88fSEmmanuel Vadot reg = <0x500 0x40>; 240*c66ec88fSEmmanuel Vadot interrupts = <1>; 241*c66ec88fSEmmanuel Vadot interrupt-parent = <&qeic>; 242*c66ec88fSEmmanuel Vadot }; 243*c66ec88fSEmmanuel Vadot 244*c66ec88fSEmmanuel Vadot ucc@2000 { 245*c66ec88fSEmmanuel Vadot cell-index = <1>; 246*c66ec88fSEmmanuel Vadot reg = <0x2000 0x200>; 247*c66ec88fSEmmanuel Vadot interrupts = <32>; 248*c66ec88fSEmmanuel Vadot interrupt-parent = <&qeic>; 249*c66ec88fSEmmanuel Vadot }; 250*c66ec88fSEmmanuel Vadot 251*c66ec88fSEmmanuel Vadot ucc@3000 { 252*c66ec88fSEmmanuel Vadot cell-index = <2>; 253*c66ec88fSEmmanuel Vadot reg = <0x3000 0x200>; 254*c66ec88fSEmmanuel Vadot interrupts = <33>; 255*c66ec88fSEmmanuel Vadot interrupt-parent = <&qeic>; 256*c66ec88fSEmmanuel Vadot }; 257*c66ec88fSEmmanuel Vadot 258*c66ec88fSEmmanuel Vadot muram@10000 { 259*c66ec88fSEmmanuel Vadot #address-cells = <1>; 260*c66ec88fSEmmanuel Vadot #size-cells = <1>; 261*c66ec88fSEmmanuel Vadot compatible = "fsl,qe-muram", "fsl,cpm-muram"; 262*c66ec88fSEmmanuel Vadot ranges = <0x0 0x10000 0x10000>; 263*c66ec88fSEmmanuel Vadot 264*c66ec88fSEmmanuel Vadot data-only@0 { 265*c66ec88fSEmmanuel Vadot compatible = "fsl,qe-muram-data", 266*c66ec88fSEmmanuel Vadot "fsl,cpm-muram-data"; 267*c66ec88fSEmmanuel Vadot reg = <0x0 0x10000>; 268*c66ec88fSEmmanuel Vadot }; 269*c66ec88fSEmmanuel Vadot }; 270*c66ec88fSEmmanuel Vadot}; 271