Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * P3041 Silicon/SoC Device Tree Source (post include)
0003  *
0004  * Copyright 2011 - 2015 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 &bman_fbpr {
0036         compatible = "fsl,bman-fbpr";
0037         alloc-ranges = <0 0 0x10 0>;
0038 };
0039 
0040 &qman_fqd {
0041         compatible = "fsl,qman-fqd";
0042         alloc-ranges = <0 0 0x10 0>;
0043 };
0044 
0045 &qman_pfdr {
0046         compatible = "fsl,qman-pfdr";
0047         alloc-ranges = <0 0 0x10 0>;
0048 };
0049 
0050 &lbc {
0051         compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus";
0052         interrupts = <25 2 0 0>;
0053         #address-cells = <2>;
0054         #size-cells = <1>;
0055 };
0056 
0057 /* controller at 0x200000 */
0058 &pci0 {
0059         compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
0060         device_type = "pci";
0061         #size-cells = <2>;
0062         #address-cells = <3>;
0063         bus-range = <0x0 0xff>;
0064         clock-frequency = <33333333>;
0065         interrupts = <16 2 1 15>;
0066         fsl,iommu-parent = <&pamu0>;
0067         fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
0068         pcie@0 {
0069                 reg = <0 0 0 0 0>;
0070                 #interrupt-cells = <1>;
0071                 #size-cells = <2>;
0072                 #address-cells = <3>;
0073                 device_type = "pci";
0074                 interrupts = <16 2 1 15>;
0075                 interrupt-map-mask = <0xf800 0 0 7>;
0076                 interrupt-map = <
0077                         /* IDSEL 0x0 */
0078                         0000 0 0 1 &mpic 40 1 0 0
0079                         0000 0 0 2 &mpic 1 1 0 0
0080                         0000 0 0 3 &mpic 2 1 0 0
0081                         0000 0 0 4 &mpic 3 1 0 0
0082                         >;
0083         };
0084 };
0085 
0086 /* controller at 0x201000 */
0087 &pci1 {
0088         compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
0089         device_type = "pci";
0090         #size-cells = <2>;
0091         #address-cells = <3>;
0092         bus-range = <0 0xff>;
0093         clock-frequency = <33333333>;
0094         interrupts = <16 2 1 14>;
0095         fsl,iommu-parent = <&pamu0>;
0096         fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
0097         pcie@0 {
0098                 reg = <0 0 0 0 0>;
0099                 #interrupt-cells = <1>;
0100                 #size-cells = <2>;
0101                 #address-cells = <3>;
0102                 device_type = "pci";
0103                 interrupts = <16 2 1 14>;
0104                 interrupt-map-mask = <0xf800 0 0 7>;
0105                 interrupt-map = <
0106                         /* IDSEL 0x0 */
0107                         0000 0 0 1 &mpic 41 1 0 0
0108                         0000 0 0 2 &mpic 5 1 0 0
0109                         0000 0 0 3 &mpic 6 1 0 0
0110                         0000 0 0 4 &mpic 7 1 0 0
0111                         >;
0112         };
0113 };
0114 
0115 /* controller at 0x202000 */
0116 &pci2 {
0117         compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
0118         device_type = "pci";
0119         #size-cells = <2>;
0120         #address-cells = <3>;
0121         bus-range = <0x0 0xff>;
0122         clock-frequency = <33333333>;
0123         interrupts = <16 2 1 13>;
0124         fsl,iommu-parent = <&pamu0>;
0125         fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
0126         pcie@0 {
0127                 reg = <0 0 0 0 0>;
0128                 #interrupt-cells = <1>;
0129                 #size-cells = <2>;
0130                 #address-cells = <3>;
0131                 device_type = "pci";
0132                 interrupts = <16 2 1 13>;
0133                 interrupt-map-mask = <0xf800 0 0 7>;
0134                 interrupt-map = <
0135                         /* IDSEL 0x0 */
0136                         0000 0 0 1 &mpic 42 1 0 0
0137                         0000 0 0 2 &mpic 9 1 0 0
0138                         0000 0 0 3 &mpic 10 1 0 0
0139                         0000 0 0 4 &mpic 11 1 0 0
0140                         >;
0141         };
0142 };
0143 
0144 /* controller at 0x203000 */
0145 &pci3 {
0146         compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
0147         device_type = "pci";
0148         #size-cells = <2>;
0149         #address-cells = <3>;
0150         bus-range = <0x0 0xff>;
0151         clock-frequency = <33333333>;
0152         interrupts = <16 2 1 12>;
0153         pcie@0 {
0154                 reg = <0 0 0 0 0>;
0155                 #interrupt-cells = <1>;
0156                 #size-cells = <2>;
0157                 #address-cells = <3>;
0158                 device_type = "pci";
0159                 interrupts = <16 2 1 12>;
0160                 interrupt-map-mask = <0xf800 0 0 7>;
0161                 interrupt-map = <
0162                         /* IDSEL 0x0 */
0163                         0000 0 0 1 &mpic 43 1 0 0
0164                         0000 0 0 2 &mpic 0 1 0 0
0165                         0000 0 0 3 &mpic 4 1 0 0
0166                         0000 0 0 4 &mpic 8 1 0 0
0167                         >;
0168         };
0169 };
0170 
0171 &rio {
0172         compatible = "fsl,srio";
0173         interrupts = <16 2 1 11>;
0174         #address-cells = <2>;
0175         #size-cells = <2>;
0176         fsl,iommu-parent = <&pamu0>;
0177         ranges;
0178 
0179         port1 {
0180                 #address-cells = <2>;
0181                 #size-cells = <2>;
0182                 cell-index = <1>;
0183                 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
0184         };
0185 
0186         port2 {
0187                 #address-cells = <2>;
0188                 #size-cells = <2>;
0189                 cell-index = <2>;
0190                 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
0191         };
0192 };
0193 
0194 &dcsr {
0195         #address-cells = <1>;
0196         #size-cells = <1>;
0197         compatible = "fsl,dcsr", "simple-bus";
0198 
0199         dcsr-epu@0 {
0200                 compatible = "fsl,p3041-dcsr-epu", "fsl,dcsr-epu";
0201                 interrupts = <52 2 0 0
0202                               84 2 0 0
0203                               85 2 0 0>;
0204                 reg = <0x0 0x1000>;
0205         };
0206         dcsr-npc {
0207                 compatible = "fsl,dcsr-npc";
0208                 reg = <0x1000 0x1000 0x1000000 0x8000>;
0209         };
0210         dcsr-nxc@2000 {
0211                 compatible = "fsl,dcsr-nxc";
0212                 reg = <0x2000 0x1000>;
0213         };
0214         dcsr-corenet {
0215                 compatible = "fsl,dcsr-corenet";
0216                 reg = <0x8000 0x1000 0xB0000 0x1000>;
0217         };
0218         dcsr-dpaa@9000 {
0219                 compatible = "fsl,p3041-dcsr-dpaa", "fsl,dcsr-dpaa";
0220                 reg = <0x9000 0x1000>;
0221         };
0222         dcsr-ocn@11000 {
0223                 compatible = "fsl,p3041-dcsr-ocn", "fsl,dcsr-ocn";
0224                 reg = <0x11000 0x1000>;
0225         };
0226         dcsr-ddr@12000 {
0227                 compatible = "fsl,dcsr-ddr";
0228                 dev-handle = <&ddr1>;
0229                 reg = <0x12000 0x1000>;
0230         };
0231         dcsr-nal@18000 {
0232                 compatible = "fsl,p3041-dcsr-nal", "fsl,dcsr-nal";
0233                 reg = <0x18000 0x1000>;
0234         };
0235         dcsr-rcpm@22000 {
0236                 compatible = "fsl,p3041-dcsr-rcpm", "fsl,dcsr-rcpm";
0237                 reg = <0x22000 0x1000>;
0238         };
0239         dcsr-cpu-sb-proxy@40000 {
0240                 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0241                 cpu-handle = <&cpu0>;
0242                 reg = <0x40000 0x1000>;
0243         };
0244         dcsr-cpu-sb-proxy@41000 {
0245                 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0246                 cpu-handle = <&cpu1>;
0247                 reg = <0x41000 0x1000>;
0248         };
0249         dcsr-cpu-sb-proxy@42000 {
0250                 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0251                 cpu-handle = <&cpu2>;
0252                 reg = <0x42000 0x1000>;
0253         };
0254         dcsr-cpu-sb-proxy@43000 {
0255                 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0256                 cpu-handle = <&cpu3>;
0257                 reg = <0x43000 0x1000>;
0258         };
0259 };
0260 
0261 /include/ "qoriq-bman1-portals.dtsi"
0262 
0263 /include/ "qoriq-qman1-portals.dtsi"
0264 
0265 &soc {
0266         #address-cells = <1>;
0267         #size-cells = <1>;
0268         device_type = "soc";
0269         compatible = "simple-bus";
0270 
0271         soc-sram-error {
0272                 compatible = "fsl,soc-sram-error";
0273                 interrupts = <16 2 1 29>;
0274         };
0275 
0276         corenet-law@0 {
0277                 compatible = "fsl,corenet-law";
0278                 reg = <0x0 0x1000>;
0279                 fsl,num-laws = <32>;
0280         };
0281 
0282         ddr1: memory-controller@8000 {
0283                 compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
0284                 reg = <0x8000 0x1000>;
0285                 interrupts = <16 2 1 23>;
0286         };
0287 
0288         cpc: l3-cache-controller@10000 {
0289                 compatible = "fsl,p3041-l3-cache-controller", "fsl,p4080-l3-cache-controller", "cache";
0290                 reg = <0x10000 0x1000>;
0291                 interrupts = <16 2 1 27>;
0292         };
0293 
0294         corenet-cf@18000 {
0295                 compatible = "fsl,corenet1-cf", "fsl,corenet-cf";
0296                 reg = <0x18000 0x1000>;
0297                 interrupts = <16 2 1 31>;
0298                 fsl,ccf-num-csdids = <32>;
0299                 fsl,ccf-num-snoopids = <32>;
0300         };
0301 
0302         iommu@20000 {
0303                 compatible = "fsl,pamu-v1.0", "fsl,pamu";
0304                 reg = <0x20000 0x4000>; /* for compatibility with older PAMU drivers */
0305                 ranges = <0 0x20000 0x4000>;
0306                 #address-cells = <1>;
0307                 #size-cells = <1>;
0308                 interrupts = <
0309                         24 2 0 0
0310                         16 2 1 30>;
0311                 fsl,portid-mapping = <0x0f000000>;
0312 
0313                 pamu0: pamu@0 {
0314                         reg = <0 0x1000>;
0315                         fsl,primary-cache-geometry = <32 1>;
0316                         fsl,secondary-cache-geometry = <128 2>;
0317                 };
0318 
0319                 pamu1: pamu@1000 {
0320                         reg = <0x1000 0x1000>;
0321                         fsl,primary-cache-geometry = <32 1>;
0322                         fsl,secondary-cache-geometry = <128 2>;
0323                 };
0324 
0325                 pamu2: pamu@2000 {
0326                         reg = <0x2000 0x1000>;
0327                         fsl,primary-cache-geometry = <32 1>;
0328                         fsl,secondary-cache-geometry = <128 2>;
0329                 };
0330 
0331                 pamu3: pamu@3000 {
0332                         reg = <0x3000 0x1000>;
0333                         fsl,primary-cache-geometry = <32 1>;
0334                         fsl,secondary-cache-geometry = <128 2>;
0335                 };
0336         };
0337 
0338 /include/ "qoriq-mpic.dtsi"
0339 
0340         guts: global-utilities@e0000 {
0341                 compatible = "fsl,qoriq-device-config-1.0";
0342                 reg = <0xe0000 0xe00>;
0343                 fsl,has-rstcr;
0344                 #sleep-cells = <1>;
0345                 fsl,liodn-bits = <12>;
0346         };
0347 
0348         pins: global-utilities@e0e00 {
0349                 compatible = "fsl,qoriq-pin-control-1.0";
0350                 reg = <0xe0e00 0x200>;
0351                 #sleep-cells = <2>;
0352         };
0353 
0354 /include/ "qoriq-clockgen1.dtsi"
0355         global-utilities@e1000 {
0356                 compatible = "fsl,p3041-clockgen", "fsl,qoriq-clockgen-1.0";
0357         };
0358 
0359         rcpm: global-utilities@e2000 {
0360                 compatible = "fsl,qoriq-rcpm-1.0";
0361                 reg = <0xe2000 0x1000>;
0362                 #sleep-cells = <1>;
0363         };
0364 
0365         sfp: sfp@e8000 {
0366                 compatible = "fsl,p3041-sfp", "fsl,qoriq-sfp-1.0";
0367                 reg        = <0xe8000 0x1000>;
0368         };
0369 
0370         serdes: serdes@ea000 {
0371                 compatible = "fsl,p3041-serdes";
0372                 reg        = <0xea000 0x1000>;
0373         };
0374 
0375 /include/ "qoriq-dma-0.dtsi"
0376         dma@100300 {
0377                 fsl,iommu-parent = <&pamu0>;
0378                 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
0379         };
0380 
0381 /include/ "qoriq-dma-1.dtsi"
0382         dma@101300 {
0383                 fsl,iommu-parent = <&pamu0>;
0384                 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
0385         };
0386 
0387 /include/ "qoriq-espi-0.dtsi"
0388         spi@110000 {
0389                 fsl,espi-num-chipselects = <4>;
0390         };
0391 
0392 /include/ "qoriq-esdhc-0.dtsi"
0393         sdhc@114000 {
0394                 compatible = "fsl,p3041-esdhc", "fsl,esdhc";
0395                 fsl,iommu-parent = <&pamu1>;
0396                 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
0397                 sdhci,auto-cmd12;
0398         };
0399 
0400 /include/ "qoriq-i2c-0.dtsi"
0401 /include/ "qoriq-i2c-1.dtsi"
0402 /include/ "qoriq-duart-0.dtsi"
0403 /include/ "qoriq-duart-1.dtsi"
0404 /include/ "qoriq-gpio-0.dtsi"
0405 /include/ "qoriq-usb2-mph-0.dtsi"
0406         usb0: usb@210000 {
0407                 compatible = "fsl-usb2-mph-v1.6", "fsl-usb2-mph";
0408                 phy_type = "utmi";
0409                 fsl,iommu-parent = <&pamu1>;
0410                 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
0411                 port0;
0412         };
0413 
0414 /include/ "qoriq-usb2-dr-0.dtsi"
0415         usb1: usb@211000 {
0416                 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
0417                 fsl,iommu-parent = <&pamu1>;
0418                 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
0419                 dr_mode = "host";
0420                 phy_type = "utmi";
0421         };
0422 
0423 /include/ "qoriq-sata2-0.dtsi"
0424         sata@220000 {
0425                 fsl,iommu-parent = <&pamu1>;
0426                 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
0427         };
0428 
0429 /include/ "qoriq-sata2-1.dtsi"
0430         sata@221000 {
0431                 fsl,iommu-parent = <&pamu1>;
0432                 fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
0433         };
0434 
0435 /include/ "qoriq-sec4.2-0.dtsi"
0436 crypto: crypto@300000 {
0437                 fsl,iommu-parent = <&pamu1>;
0438         };
0439 
0440 /include/ "qoriq-qman1.dtsi"
0441 /include/ "qoriq-bman1.dtsi"
0442 
0443 /include/ "qoriq-fman-0.dtsi"
0444 /include/ "qoriq-fman-0-1g-0.dtsi"
0445 /include/ "qoriq-fman-0-1g-1.dtsi"
0446 /include/ "qoriq-fman-0-1g-2.dtsi"
0447 /include/ "qoriq-fman-0-1g-3.dtsi"
0448 /include/ "qoriq-fman-0-1g-4.dtsi"
0449 /include/ "qoriq-fman-0-10g-0.dtsi"
0450         fman@400000 {
0451                 enet0: ethernet@e0000 {
0452                 };
0453 
0454                 enet1: ethernet@e2000 {
0455                 };
0456 
0457                 enet2: ethernet@e4000 {
0458                 };
0459 
0460                 enet3: ethernet@e6000 {
0461                 };
0462 
0463                 enet4: ethernet@e8000 {
0464                 };
0465 
0466                 enet5: ethernet@f0000 {
0467                 };
0468         };
0469 };