Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * BSC9132 Silicon/SoC Device Tree Source (post include)
0003  *
0004  * Copyright 2014 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 &ifc {
0036         #address-cells = <2>;
0037         #size-cells = <1>;
0038         compatible = "fsl,ifc", "simple-bus";
0039         /* FIXME: Test whether interrupts are split */
0040         interrupts = <16 2 0 0 20 2 0 0>;
0041 };
0042 
0043 /* controller at 0xa000 */
0044 &pci0 {
0045         compatible = "fsl,bsc9132-pcie", "fsl,qoriq-pcie-v2.2";
0046         device_type = "pci";
0047         #size-cells = <2>;
0048         #address-cells = <3>;
0049         bus-range = <0 255>;
0050         interrupts = <16 2 0 0>;
0051 
0052         pcie@0 {
0053                 reg = <0 0 0 0 0>;
0054                 #interrupt-cells = <1>;
0055                 #size-cells = <2>;
0056                 #address-cells = <3>;
0057                 device_type = "pci";
0058                 interrupts = <16 2 0 0>;
0059                 interrupt-map-mask = <0xf800 0 0 7>;
0060 
0061                 interrupt-map = <
0062                         /* IDSEL 0x0 */
0063                         0000 0x0 0x0 0x1 &mpic 0x0 0x2 0x0 0x0
0064                         0000 0x0 0x0 0x2 &mpic 0x1 0x2 0x0 0x0
0065                         0000 0x0 0x0 0x3 &mpic 0x2 0x2 0x0 0x0
0066                         0000 0x0 0x0 0x4 &mpic 0x3 0x2 0x0 0x0
0067                         >;
0068         };
0069 };
0070 
0071 &soc {
0072         #address-cells = <1>;
0073         #size-cells = <1>;
0074         device_type = "soc";
0075         compatible = "fsl,bsc9132-immr", "simple-bus";
0076         bus-frequency = <0>;            // Filled out by uboot.
0077 
0078         ecm-law@0 {
0079                 compatible = "fsl,ecm-law";
0080                 reg = <0x0 0x1000>;
0081                 fsl,num-laws = <12>;
0082         };
0083 
0084         ecm@1000 {
0085                 compatible = "fsl,bsc9132-ecm", "fsl,ecm";
0086                 reg = <0x1000 0x1000>;
0087                 interrupts = <16 2 0 0>;
0088         };
0089 
0090         memory-controller@2000 {
0091                 compatible = "fsl,bsc9132-memory-controller";
0092                 reg = <0x2000 0x1000>;
0093                 interrupts = <16 2 1 8>;
0094         };
0095 
0096 /include/ "pq3-i2c-0.dtsi"
0097         i2c@3000 {
0098                 interrupts = <17 2 0 0>;
0099         };
0100 
0101 /include/ "pq3-i2c-1.dtsi"
0102         i2c@3100 {
0103                 interrupts = <17 2 0 0>;
0104         };
0105 
0106 /include/ "pq3-duart-0.dtsi"
0107         serial0: serial@4500 {
0108                 interrupts = <18 2 0 0>;
0109         };
0110 
0111         serial1: serial@4600 {
0112                 interrupts = <18 2 0 0 >;
0113         };
0114 /include/ "pq3-espi-0.dtsi"
0115         spi0: spi@7000 {
0116                 fsl,espi-num-chipselects = <1>;
0117                 interrupts = <22 0x2 0 0>;
0118         };
0119 
0120 /include/ "pq3-gpio-0.dtsi"
0121         gpio-controller@f000 {
0122                 interrupts = <19 0x2 0 0>;
0123                 };
0124 
0125         L2: l2-cache-controller@20000 {
0126                 compatible = "fsl,bsc9132-l2-cache-controller";
0127                 reg = <0x20000 0x1000>;
0128                 cache-line-size = <32>; // 32 bytes
0129                 cache-size = <0x40000>; // L2,256K
0130                 interrupts = <16 2 1 0>;
0131         };
0132 
0133 /include/ "pq3-dma-0.dtsi"
0134 
0135 dma@21300 {
0136 
0137         dma-channel@0 {
0138                 interrupts = <62 2 0 0>;
0139         };
0140 
0141         dma-channel@80 {
0142                 interrupts = <63 2 0 0>;
0143         };
0144 
0145         dma-channel@100 {
0146                 interrupts = <64 2 0 0>;
0147         };
0148 
0149         dma-channel@180 {
0150                 interrupts = <65 2 0 0>;
0151         };
0152 };
0153 
0154 /include/ "pq3-usb2-dr-0.dtsi"
0155 usb@22000 {
0156         compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
0157         interrupts = <40 0x2 0 0>;
0158 };
0159 
0160 /include/ "pq3-esdhc-0.dtsi"
0161         sdhc@2e000 {
0162                 fsl,sdhci-auto-cmd12;
0163                 interrupts = <41 0x2 0 0>;
0164         };
0165 
0166 /include/ "pq3-sec4.4-0.dtsi"
0167 crypto@30000 {
0168         interrupts       = <57 2 0 0>;
0169 
0170         sec_jr0: jr@1000 {
0171                 interrupts       = <58 2 0 0>;
0172         };
0173 
0174         sec_jr1: jr@2000 {
0175                 interrupts       = <59 2 0 0>;
0176         };
0177 
0178         sec_jr2: jr@3000 {
0179                 interrupts       = <60 2 0 0>;
0180         };
0181 
0182         sec_jr3: jr@4000 {
0183                 interrupts       = <61 2 0 0>;
0184         };
0185 };
0186 
0187 /include/ "pq3-mpic.dtsi"
0188 /include/ "pq3-mpic-timer-B.dtsi"
0189 
0190 /include/ "pq3-etsec2-0.dtsi"
0191 enet0: ethernet@b0000 {
0192         queue-group@b0000 {
0193                 interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>;
0194         };
0195 };
0196 
0197 /include/ "pq3-etsec2-1.dtsi"
0198 enet1: ethernet@b1000 {
0199         queue-group@b1000 {
0200                 interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>;
0201         };
0202 };
0203 
0204 global-utilities@e0000 {
0205                 compatible = "fsl,bsc9132-guts";
0206                 reg = <0xe0000 0x1000>;
0207                 fsl,has-rstcr;
0208         };
0209 };