Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * P1020/P1011 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,p1020-elbc", "fsl,elbc", "simple-bus";
0039         interrupts = <19 2 0 0>,
0040                      <16 2 0 0>;
0041 };
0042 
0043 /* controller at 0x9000 */
0044 &pci0 {
0045         compatible = "fsl,mpc8548-pcie";
0046         device_type = "pci";
0047         #size-cells = <2>;
0048         #address-cells = <3>;
0049         bus-range = <0 255>;
0050         clock-frequency = <33333333>;
0051         interrupts = <16 2 0 0>;
0052 
0053         pcie@0 {
0054                 reg = <0 0 0 0 0>;
0055                 #interrupt-cells = <1>;
0056                 #size-cells = <2>;
0057                 #address-cells = <3>;
0058                 device_type = "pci";
0059                 interrupts = <16 2 0 0>;
0060                 interrupt-map-mask = <0xf800 0 0 7>;
0061                 interrupt-map = <
0062                         /* IDSEL 0x0 */
0063                         0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
0064                         0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
0065                         0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
0066                         0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
0067                         >;
0068         };
0069 };
0070 
0071 /* controller at 0xa000 */
0072 &pci1 {
0073         compatible = "fsl,mpc8548-pcie";
0074         device_type = "pci";
0075         #size-cells = <2>;
0076         #address-cells = <3>;
0077         bus-range = <0 255>;
0078         clock-frequency = <33333333>;
0079         interrupts = <16 2 0 0>;
0080 
0081         pcie@0 {
0082                 reg = <0 0 0 0 0>;
0083                 #interrupt-cells = <1>;
0084                 #size-cells = <2>;
0085                 #address-cells = <3>;
0086                 device_type = "pci";
0087                 interrupts = <16 2 0 0>;
0088                 interrupt-map-mask = <0xf800 0 0 7>;
0089 
0090                 interrupt-map = <
0091                         /* IDSEL 0x0 */
0092                         0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
0093                         0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
0094                         0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
0095                         0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
0096                         >;
0097         };
0098 };
0099 
0100 &soc {
0101         #address-cells = <1>;
0102         #size-cells = <1>;
0103         device_type = "soc";
0104         compatible = "fsl,p1020-immr", "simple-bus";
0105         bus-frequency = <0>;            // Filled out by uboot.
0106 
0107         ecm-law@0 {
0108                 compatible = "fsl,ecm-law";
0109                 reg = <0x0 0x1000>;
0110                 fsl,num-laws = <12>;
0111         };
0112 
0113         ecm@1000 {
0114                 compatible = "fsl,p1020-ecm", "fsl,ecm";
0115                 reg = <0x1000 0x1000>;
0116                 interrupts = <16 2 0 0>;
0117         };
0118 
0119         memory-controller@2000 {
0120                 compatible = "fsl,p1020-memory-controller";
0121                 reg = <0x2000 0x1000>;
0122                 interrupts = <16 2 0 0>;
0123         };
0124 
0125 /include/ "pq3-i2c-0.dtsi"
0126 /include/ "pq3-i2c-1.dtsi"
0127 /include/ "pq3-duart-0.dtsi"
0128 
0129 /include/ "pq3-espi-0.dtsi"
0130         spi@7000 {
0131                 fsl,espi-num-chipselects = <4>;
0132         };
0133 
0134 /include/ "pq3-gpio-0.dtsi"
0135 
0136         L2: l2-cache-controller@20000 {
0137                 compatible = "fsl,p1020-l2-cache-controller";
0138                 reg = <0x20000 0x1000>;
0139                 cache-line-size = <32>; // 32 bytes
0140                 cache-size = <0x40000>; // L2,256K
0141                 interrupts = <16 2 0 0>;
0142         };
0143 
0144 /include/ "pq3-dma-0.dtsi"
0145 /include/ "pq3-usb2-dr-0.dtsi"
0146         usb@22000 {
0147                 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
0148         };
0149 /include/ "pq3-usb2-dr-1.dtsi"
0150         usb@23000 {
0151                 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
0152         };
0153 
0154 /include/ "pq3-esdhc-0.dtsi"
0155         sdhc@2e000 {
0156                 compatible = "fsl,p1020-esdhc", "fsl,esdhc";
0157                 sdhci,auto-cmd12;
0158         };
0159 /include/ "pq3-sec3.3-0.dtsi"
0160 
0161 /include/ "pq3-mpic.dtsi"
0162 /include/ "pq3-mpic-timer-B.dtsi"
0163 
0164 /include/ "pq3-etsec2-0.dtsi"
0165         enet0: enet0_grp2: ethernet@b0000 {
0166         };
0167 
0168 /include/ "pq3-etsec2-1.dtsi"
0169         enet1: enet1_grp2: ethernet@b1000 {
0170         };
0171 
0172 /include/ "pq3-etsec2-2.dtsi"
0173         enet2: enet2_grp2: ethernet@b2000 {
0174         };
0175 
0176         global-utilities@e0000 {
0177                 compatible = "fsl,p1020-guts";
0178                 reg = <0xe0000 0x1000>;
0179                 fsl,has-rstcr;
0180         };
0181 };
0182 
0183 /include/ "pq3-etsec2-grp2-0.dtsi"
0184 /include/ "pq3-etsec2-grp2-1.dtsi"
0185 /include/ "pq3-etsec2-grp2-2.dtsi"