Back to home page

OSCL-LXR

 
 

    


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