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