Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * MPC8536 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         compatible = "fsl,mpc8536-elbc", "fsl,elbc", "simple-bus";
0039         interrupts = <19 2 0 0>;
0040 };
0041 
0042 /* controller at 0x8000 */
0043 &pci0 {
0044         compatible = "fsl,mpc8540-pci";
0045         device_type = "pci";
0046         interrupts = <24 0x2 0 0>;
0047         bus-range = <0 0xff>;
0048         #interrupt-cells = <1>;
0049         #size-cells = <2>;
0050         #address-cells = <3>;
0051 };
0052 
0053 /* controller at 0x9000 */
0054 &pci1 {
0055         compatible = "fsl,mpc8548-pcie";
0056         device_type = "pci";
0057         #size-cells = <2>;
0058         #address-cells = <3>;
0059         bus-range = <0 255>;
0060         clock-frequency = <33333333>;
0061         interrupts = <25 2 0 0>;
0062 
0063         pcie@0 {
0064                 reg = <0 0 0 0 0>;
0065                 #interrupt-cells = <1>;
0066                 #size-cells = <2>;
0067                 #address-cells = <3>;
0068                 device_type = "pci";
0069                 interrupts = <25 2 0 0>;
0070                 interrupt-map-mask = <0xf800 0 0 7>;
0071 
0072                 interrupt-map = <
0073                         /* IDSEL 0x0 */
0074                         0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
0075                         0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
0076                         0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
0077                         0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
0078                         >;
0079         };
0080 };
0081 
0082 /* controller at 0xa000 */
0083 &pci2 {
0084         compatible = "fsl,mpc8548-pcie";
0085         device_type = "pci";
0086         #size-cells = <2>;
0087         #address-cells = <3>;
0088         bus-range = <0 255>;
0089         clock-frequency = <33333333>;
0090         interrupts = <26 2 0 0>;
0091 
0092         pcie@0 {
0093                 reg = <0 0 0 0 0>;
0094                 #interrupt-cells = <1>;
0095                 #size-cells = <2>;
0096                 #address-cells = <3>;
0097                 device_type = "pci";
0098                 interrupts = <26 2 0 0>;
0099                 interrupt-map-mask = <0xf800 0 0 7>;
0100                 interrupt-map = <
0101                         /* IDSEL 0x0 */
0102                         0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
0103                         0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
0104                         0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
0105                         0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
0106                         >;
0107         };
0108 };
0109 
0110 /* controller at 0xb000 */
0111 &pci3 {
0112         compatible = "fsl,mpc8548-pcie";
0113         device_type = "pci";
0114         #size-cells = <2>;
0115         #address-cells = <3>;
0116         bus-range = <0 255>;
0117         clock-frequency = <33333333>;
0118         interrupts = <27 2 0 0>;
0119 
0120         pcie@0 {
0121                 reg = <0 0 0 0 0>;
0122                 #interrupt-cells = <1>;
0123                 #size-cells = <2>;
0124                 #address-cells = <3>;
0125                 device_type = "pci";
0126                 interrupts = <27 2 0 0>;
0127                 interrupt-map-mask = <0xf800 0 0 7>;
0128                 interrupt-map = <
0129                         /* IDSEL 0x0 */
0130                         0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
0131                         0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
0132                         0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
0133                         0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
0134                         >;
0135         };
0136 };
0137 &soc {
0138         #address-cells = <1>;
0139         #size-cells = <1>;
0140         device_type = "soc";
0141         compatible = "fsl,mpc8536-immr", "simple-bus";
0142         bus-frequency = <0>;            // Filled out by uboot.
0143 
0144         ecm-law@0 {
0145                 compatible = "fsl,ecm-law";
0146                 reg = <0x0 0x1000>;
0147                 fsl,num-laws = <12>;
0148         };
0149 
0150         ecm@1000 {
0151                 compatible = "fsl,mpc8536-ecm", "fsl,ecm";
0152                 reg = <0x1000 0x1000>;
0153                 interrupts = <17 2 0 0>;
0154         };
0155 
0156         memory-controller@2000 {
0157                 compatible = "fsl,mpc8536-memory-controller";
0158                 reg = <0x2000 0x1000>;
0159                 interrupts = <18 2 0 0>;
0160         };
0161 
0162 /include/ "pq3-i2c-0.dtsi"
0163 /include/ "pq3-i2c-1.dtsi"
0164 /include/ "pq3-duart-0.dtsi"
0165 
0166 /include/ "pq3-espi-0.dtsi"
0167         spi@7000 {
0168                 fsl,espi-num-chipselects = <4>;
0169         };
0170 
0171 /include/ "pq3-gpio-0.dtsi"
0172 
0173         /* mark compat w/8572 to get some erratum treatment */
0174         gpio-controller@f000 {
0175                 compatible = "fsl,mpc8572-gpio";
0176         };
0177 
0178         sata@18000 {
0179                 compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
0180                 reg = <0x18000 0x1000>;
0181                 cell-index = <1>;
0182                 interrupts = <74 0x2 0 0>;
0183         };
0184 
0185         sata@19000 {
0186                 compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
0187                 reg = <0x19000 0x1000>;
0188                 cell-index = <2>;
0189                 interrupts = <41 0x2 0 0>;
0190         };
0191 
0192         L2: l2-cache-controller@20000 {
0193                 compatible = "fsl,mpc8536-l2-cache-controller";
0194                 reg = <0x20000 0x1000>;
0195                 cache-line-size = <32>; // 32 bytes
0196                 cache-size = <0x80000>; // L2, 512K
0197                 interrupts = <16 2 0 0>;
0198         };
0199 
0200 /include/ "pq3-dma-0.dtsi"
0201 /include/ "pq3-etsec1-0.dtsi"
0202 /include/ "pq3-etsec1-timer-0.dtsi"
0203 
0204         usb@22000 {
0205                 compatible = "fsl-usb2-mph-v1.2", "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
0206                 reg = <0x22000 0x1000>;
0207                 #address-cells = <1>;
0208                 #size-cells = <0>;
0209                 interrupts = <28 0x2 0 0>;
0210         };
0211 
0212         usb@23000 {
0213                 compatible = "fsl-usb2-mph-v1.2", "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
0214                 reg = <0x23000 0x1000>;
0215                 #address-cells = <1>;
0216                 #size-cells = <0>;
0217                 interrupts = <46 0x2 0 0>;
0218         };
0219 
0220         ptp_clock@24e00 {
0221                 interrupts = <68 2 0 0 69 2 0 0 70 2 0 0 71 2 0 0>;
0222         };
0223 
0224 /include/ "pq3-etsec1-2.dtsi"
0225 
0226         ethernet@26000 {
0227                 cell-index = <1>;
0228         };
0229 
0230         usb@2b000 {
0231                 compatible = "fsl,mpc8536-usb2-dr", "fsl-usb2-dr";
0232                 reg = <0x2b000 0x1000>;
0233                 #address-cells = <1>;
0234                 #size-cells = <0>;
0235                 interrupts = <60 0x2 0 0>;
0236         };
0237 
0238 /include/ "pq3-esdhc-0.dtsi"
0239         sdhc@2e000 {
0240                 compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
0241         };
0242 
0243 /include/ "pq3-sec3.0-0.dtsi"
0244 /include/ "pq3-mpic.dtsi"
0245 /include/ "pq3-mpic-timer-B.dtsi"
0246 
0247         global-utilities@e0000 {
0248                 compatible = "fsl,mpc8536-guts";
0249                 reg = <0xe0000 0x1000>;
0250                 fsl,has-rstcr;
0251         };
0252 };