0001 /*
0002 * P1022/P1013 Silicon/SoC Device Tree Source (post include)
0003 *
0004 * Copyright 2011 Freescale Semiconductor Inc.
0005 *
0006 * Redistribution and use in source and binary forms, with or without
0007 * modification, are permitted provided that the following conditions are met:
0008 * * Redistributions of source code must retain the above copyright
0009 * notice, this list of conditions and the following disclaimer.
0010 * * Redistributions in binary form must reproduce the above copyright
0011 * notice, this list of conditions and the following disclaimer in the
0012 * documentation and/or other materials provided with the distribution.
0013 * * Neither the name of Freescale Semiconductor nor the
0014 * names of its contributors may be used to endorse or promote products
0015 * derived from this software without specific prior written permission.
0016 *
0017 *
0018 * ALTERNATIVELY, this software may be distributed under the terms of the
0019 * GNU General Public License ("GPL") as published by the Free Software
0020 * Foundation, either version 2 of that License or (at your option) any
0021 * later version.
0022 *
0023 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
0024 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
0025 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
0026 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
0027 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
0028 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0029 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
0030 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0031 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0032 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0033 */
0034
0035 &lbc {
0036 #address-cells = <2>;
0037 #size-cells = <1>;
0038 /*
0039 * The localbus on the P1022 is not a simple-bus because of the eLBC
0040 * pin muxing when the DIU is enabled.
0041 */
0042 compatible = "fsl,p1022-elbc", "fsl,elbc";
0043 interrupts = <19 2 0 0>,
0044 <16 2 0 0>;
0045 };
0046
0047 /* controller at 0x9000 */
0048 &pci0 {
0049 compatible = "fsl,mpc8548-pcie";
0050 device_type = "pci";
0051 #size-cells = <2>;
0052 #address-cells = <3>;
0053 bus-range = <0 255>;
0054 clock-frequency = <33333333>;
0055 interrupts = <16 2 0 0>;
0056
0057 pcie@0 {
0058 reg = <0 0 0 0 0>;
0059 #interrupt-cells = <1>;
0060 #size-cells = <2>;
0061 #address-cells = <3>;
0062 device_type = "pci";
0063 interrupts = <16 2 0 0>;
0064 interrupt-map-mask = <0xf800 0 0 7>;
0065 interrupt-map = <
0066 /* IDSEL 0x0 */
0067 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
0068 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
0069 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
0070 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
0071 >;
0072 };
0073 };
0074
0075 /* controller at 0xa000 */
0076 &pci1 {
0077 compatible = "fsl,mpc8548-pcie";
0078 device_type = "pci";
0079 #size-cells = <2>;
0080 #address-cells = <3>;
0081 bus-range = <0 255>;
0082 clock-frequency = <33333333>;
0083 interrupts = <16 2 0 0>;
0084
0085 pcie@0 {
0086 reg = <0 0 0 0 0>;
0087 #interrupt-cells = <1>;
0088 #size-cells = <2>;
0089 #address-cells = <3>;
0090 device_type = "pci";
0091 interrupts = <16 2 0 0>;
0092 interrupt-map-mask = <0xf800 0 0 7>;
0093
0094 interrupt-map = <
0095 /* IDSEL 0x0 */
0096 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
0097 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
0098 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
0099 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
0100 >;
0101 };
0102 };
0103
0104 /* controller at 0xb000 */
0105 &pci2 {
0106 compatible = "fsl,mpc8548-pcie";
0107 device_type = "pci";
0108 #size-cells = <2>;
0109 #address-cells = <3>;
0110 bus-range = <0 255>;
0111 clock-frequency = <33333333>;
0112 interrupts = <16 2 0 0>;
0113
0114 pcie@0 {
0115 reg = <0 0 0 0 0>;
0116 #interrupt-cells = <1>;
0117 #size-cells = <2>;
0118 #address-cells = <3>;
0119 device_type = "pci";
0120 interrupts = <16 2 0 0>;
0121 interrupt-map-mask = <0xf800 0 0 7>;
0122
0123 interrupt-map = <
0124 /* IDSEL 0x0 */
0125 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
0126 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
0127 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
0128 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
0129 >;
0130 };
0131 };
0132
0133 &soc {
0134 #address-cells = <1>;
0135 #size-cells = <1>;
0136 device_type = "soc";
0137 compatible = "fsl,p1022-immr", "simple-bus";
0138 bus-frequency = <0>; // Filled out by uboot.
0139
0140 ecm-law@0 {
0141 compatible = "fsl,ecm-law";
0142 reg = <0x0 0x1000>;
0143 fsl,num-laws = <12>;
0144 };
0145
0146 ecm@1000 {
0147 compatible = "fsl,p1022-ecm", "fsl,ecm";
0148 reg = <0x1000 0x1000>;
0149 interrupts = <16 2 0 0>;
0150 };
0151
0152 memory-controller@2000 {
0153 compatible = "fsl,p1022-memory-controller";
0154 reg = <0x2000 0x1000>;
0155 interrupts = <16 2 0 0>;
0156 };
0157
0158 /include/ "pq3-i2c-0.dtsi"
0159 /include/ "pq3-i2c-1.dtsi"
0160 /include/ "pq3-duart-0.dtsi"
0161 /include/ "pq3-espi-0.dtsi"
0162 spi@7000 {
0163 fsl,espi-num-chipselects = <4>;
0164 };
0165
0166 /include/ "pq3-dma-1.dtsi"
0167 dma@c300 {
0168 dma00: dma-channel@0 {
0169 compatible = "fsl,ssi-dma-channel";
0170 };
0171 dma01: dma-channel@80 {
0172 compatible = "fsl,ssi-dma-channel";
0173 };
0174 };
0175
0176 /include/ "pq3-gpio-0.dtsi"
0177
0178 display: display@10000 {
0179 compatible = "fsl,diu", "fsl,p1022-diu";
0180 reg = <0x10000 1000>;
0181 interrupts = <64 2 0 0>;
0182 };
0183
0184 ssi@15000 {
0185 compatible = "fsl,mpc8610-ssi";
0186 cell-index = <0>;
0187 reg = <0x15000 0x100>;
0188 interrupts = <75 2 0 0>;
0189 fsl,playback-dma = <&dma00>;
0190 fsl,capture-dma = <&dma01>;
0191 fsl,fifo-depth = <15>;
0192 };
0193
0194 /include/ "pq3-sata2-0.dtsi"
0195 /include/ "pq3-sata2-1.dtsi"
0196
0197 L2: l2-cache-controller@20000 {
0198 compatible = "fsl,p1022-l2-cache-controller";
0199 reg = <0x20000 0x1000>;
0200 cache-line-size = <32>; // 32 bytes
0201 cache-size = <0x40000>; // L2,256K
0202 interrupts = <16 2 0 0>;
0203 };
0204
0205 /include/ "pq3-dma-0.dtsi"
0206 /include/ "pq3-usb2-dr-0.dtsi"
0207 usb@22000 {
0208 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
0209 };
0210 /include/ "pq3-usb2-dr-1.dtsi"
0211 usb@23000 {
0212 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
0213 };
0214
0215 /include/ "pq3-esdhc-0.dtsi"
0216 sdhc@2e000 {
0217 compatible = "fsl,p1022-esdhc", "fsl,esdhc";
0218 sdhci,auto-cmd12;
0219 };
0220
0221 /include/ "pq3-sec3.3-0.dtsi"
0222 /include/ "pq3-mpic.dtsi"
0223 /include/ "pq3-mpic-timer-B.dtsi"
0224
0225 /include/ "pq3-etsec2-0.dtsi"
0226 enet0: enet0_grp2: ethernet@b0000 {
0227 fsl,wake-on-filer;
0228 };
0229
0230 /include/ "pq3-etsec2-1.dtsi"
0231 enet1: enet1_grp2: ethernet@b1000 {
0232 fsl,wake-on-filer;
0233 };
0234
0235 global-utilities@e0000 {
0236 compatible = "fsl,p1022-guts";
0237 reg = <0xe0000 0x1000>;
0238 fsl,has-rstcr;
0239 };
0240
0241 power@e0070{
0242 compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
0243 reg = <0xe0070 0x20>;
0244 };
0245
0246 };
0247
0248 /include/ "pq3-etsec2-grp2-0.dtsi"
0249 /include/ "pq3-etsec2-grp2-1.dtsi"