0001 /*
0002 * P4080/P4040 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,p4080-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,p4080-pcie", "fsl,qoriq-pcie-v2.1";
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,p4080-pcie", "fsl,qoriq-pcie-v2.1";
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,p4080-pcie", "fsl,qoriq-pcie-v2.1";
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 &rio {
0145 compatible = "fsl,srio";
0146 interrupts = <16 2 1 11>;
0147 #address-cells = <2>;
0148 #size-cells = <2>;
0149 fsl,srio-rmu-handle = <&rmu>;
0150 fsl,iommu-parent = <&pamu0>;
0151 ranges;
0152
0153 port1 {
0154 #address-cells = <2>;
0155 #size-cells = <2>;
0156 cell-index = <1>;
0157 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
0158 };
0159
0160 port2 {
0161 #address-cells = <2>;
0162 #size-cells = <2>;
0163 cell-index = <2>;
0164 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
0165 };
0166 };
0167
0168 &dcsr {
0169 #address-cells = <1>;
0170 #size-cells = <1>;
0171 compatible = "fsl,dcsr", "simple-bus";
0172
0173 dcsr-epu@0 {
0174 compatible = "fsl,p4080-dcsr-epu", "fsl,dcsr-epu";
0175 interrupts = <52 2 0 0
0176 84 2 0 0
0177 85 2 0 0>;
0178 reg = <0x0 0x1000>;
0179 };
0180 dcsr-npc {
0181 compatible = "fsl,dcsr-npc";
0182 reg = <0x1000 0x1000 0x1000000 0x8000>;
0183 };
0184 dcsr-nxc@2000 {
0185 compatible = "fsl,dcsr-nxc";
0186 reg = <0x2000 0x1000>;
0187 };
0188 dcsr-corenet {
0189 compatible = "fsl,dcsr-corenet";
0190 reg = <0x8000 0x1000 0xB0000 0x1000>;
0191 };
0192 dcsr-dpaa@9000 {
0193 compatible = "fsl,p4080-dcsr-dpaa", "fsl,dcsr-dpaa";
0194 reg = <0x9000 0x1000>;
0195 };
0196 dcsr-ocn@11000 {
0197 compatible = "fsl,p4080-dcsr-ocn", "fsl,dcsr-ocn";
0198 reg = <0x11000 0x1000>;
0199 };
0200 dcsr-ddr@12000 {
0201 compatible = "fsl,dcsr-ddr";
0202 dev-handle = <&ddr1>;
0203 reg = <0x12000 0x1000>;
0204 };
0205 dcsr-ddr@13000 {
0206 compatible = "fsl,dcsr-ddr";
0207 dev-handle = <&ddr2>;
0208 reg = <0x13000 0x1000>;
0209 };
0210 dcsr-nal@18000 {
0211 compatible = "fsl,p4080-dcsr-nal", "fsl,dcsr-nal";
0212 reg = <0x18000 0x1000>;
0213 };
0214 dcsr-rcpm@22000 {
0215 compatible = "fsl,p4080-dcsr-rcpm", "fsl,dcsr-rcpm";
0216 reg = <0x22000 0x1000>;
0217 };
0218 dcsr-cpu-sb-proxy@40000 {
0219 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0220 cpu-handle = <&cpu0>;
0221 reg = <0x40000 0x1000>;
0222 };
0223 dcsr-cpu-sb-proxy@41000 {
0224 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0225 cpu-handle = <&cpu1>;
0226 reg = <0x41000 0x1000>;
0227 };
0228 dcsr-cpu-sb-proxy@42000 {
0229 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0230 cpu-handle = <&cpu2>;
0231 reg = <0x42000 0x1000>;
0232 };
0233 dcsr-cpu-sb-proxy@43000 {
0234 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0235 cpu-handle = <&cpu3>;
0236 reg = <0x43000 0x1000>;
0237 };
0238 dcsr-cpu-sb-proxy@44000 {
0239 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0240 cpu-handle = <&cpu4>;
0241 reg = <0x44000 0x1000>;
0242 };
0243 dcsr-cpu-sb-proxy@45000 {
0244 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0245 cpu-handle = <&cpu5>;
0246 reg = <0x45000 0x1000>;
0247 };
0248 dcsr-cpu-sb-proxy@46000 {
0249 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0250 cpu-handle = <&cpu6>;
0251 reg = <0x46000 0x1000>;
0252 };
0253 dcsr-cpu-sb-proxy@47000 {
0254 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0255 cpu-handle = <&cpu7>;
0256 reg = <0x47000 0x1000>;
0257 };
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.4", "fsl,qoriq-memory-controller";
0284 reg = <0x8000 0x1000>;
0285 interrupts = <16 2 1 23>;
0286 };
0287
0288 ddr2: memory-controller@9000 {
0289 compatible = "fsl,qoriq-memory-controller-v4.4","fsl,qoriq-memory-controller";
0290 reg = <0x9000 0x1000>;
0291 interrupts = <16 2 1 22>;
0292 };
0293
0294 cpc: l3-cache-controller@10000 {
0295 compatible = "fsl,p4080-l3-cache-controller", "cache";
0296 reg = <0x10000 0x1000
0297 0x11000 0x1000>;
0298 interrupts = <16 2 1 27
0299 16 2 1 26>;
0300 };
0301
0302 corenet-cf@18000 {
0303 compatible = "fsl,corenet1-cf", "fsl,corenet-cf";
0304 reg = <0x18000 0x1000>;
0305 interrupts = <16 2 1 31>;
0306 fsl,ccf-num-csdids = <32>;
0307 fsl,ccf-num-snoopids = <32>;
0308 };
0309
0310 iommu@20000 {
0311 compatible = "fsl,pamu-v1.0", "fsl,pamu";
0312 reg = <0x20000 0x5000>; /* for compatibility with older PAMU drivers */
0313 ranges = <0 0x20000 0x5000>;
0314 #address-cells = <1>;
0315 #size-cells = <1>;
0316 interrupts = <
0317 24 2 0 0
0318 16 2 1 30>;
0319 fsl,portid-mapping = <0x00f80000>;
0320
0321 pamu0: pamu@0 {
0322 reg = <0 0x1000>;
0323 fsl,primary-cache-geometry = <32 1>;
0324 fsl,secondary-cache-geometry = <128 2>;
0325 };
0326
0327 pamu1: pamu@1000 {
0328 reg = <0x1000 0x1000>;
0329 fsl,primary-cache-geometry = <32 1>;
0330 fsl,secondary-cache-geometry = <128 2>;
0331 };
0332
0333 pamu2: pamu@2000 {
0334 reg = <0x2000 0x1000>;
0335 fsl,primary-cache-geometry = <32 1>;
0336 fsl,secondary-cache-geometry = <128 2>;
0337 };
0338
0339 pamu3: pamu@3000 {
0340 reg = <0x3000 0x1000>;
0341 fsl,primary-cache-geometry = <32 1>;
0342 fsl,secondary-cache-geometry = <128 2>;
0343 };
0344
0345 pamu4: pamu@4000 {
0346 reg = <0x4000 0x1000>;
0347 fsl,primary-cache-geometry = <32 1>;
0348 fsl,secondary-cache-geometry = <128 2>;
0349 };
0350 };
0351
0352 /include/ "qoriq-rmu-0.dtsi"
0353 rmu@d3000 {
0354 fsl,iommu-parent = <&pamu0>;
0355 fsl,liodn-reg = <&guts 0x540>; /* RMULIODNR */
0356 };
0357
0358 /include/ "qoriq-mpic.dtsi"
0359
0360 guts: global-utilities@e0000 {
0361 compatible = "fsl,qoriq-device-config-1.0";
0362 reg = <0xe0000 0xe00>;
0363 fsl,has-rstcr;
0364 #sleep-cells = <1>;
0365 fsl,liodn-bits = <12>;
0366 };
0367
0368 pins: global-utilities@e0e00 {
0369 compatible = "fsl,qoriq-pin-control-1.0";
0370 reg = <0xe0e00 0x200>;
0371 #sleep-cells = <2>;
0372 };
0373
0374 /include/ "qoriq-clockgen1.dtsi"
0375 global-utilities@e1000 {
0376 compatible = "fsl,p4080-clockgen", "fsl,qoriq-clockgen-1.0";
0377 };
0378
0379 rcpm: global-utilities@e2000 {
0380 compatible = "fsl,qoriq-rcpm-1.0";
0381 reg = <0xe2000 0x1000>;
0382 #sleep-cells = <1>;
0383 };
0384
0385 sfp: sfp@e8000 {
0386 compatible = "fsl,p4080-sfp", "fsl,qoriq-sfp-1.0";
0387 reg = <0xe8000 0x1000>;
0388 };
0389
0390 serdes: serdes@ea000 {
0391 compatible = "fsl,p4080-serdes";
0392 reg = <0xea000 0x1000>;
0393 };
0394
0395 /include/ "qoriq-dma-0.dtsi"
0396 dma@100300 {
0397 fsl,iommu-parent = <&pamu0>;
0398 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
0399 };
0400
0401 /include/ "qoriq-dma-1.dtsi"
0402 dma@101300 {
0403 fsl,iommu-parent = <&pamu0>;
0404 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
0405 };
0406
0407 /include/ "qoriq-espi-0.dtsi"
0408 spi@110000 {
0409 fsl,espi-num-chipselects = <4>;
0410 };
0411
0412 /include/ "qoriq-esdhc-0.dtsi"
0413 sdhc@114000 {
0414 compatible = "fsl,p4080-esdhc", "fsl,esdhc";
0415 fsl,iommu-parent = <&pamu1>;
0416 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
0417 voltage-ranges = <3300 3300>;
0418 sdhci,auto-cmd12;
0419 };
0420
0421 /include/ "qoriq-i2c-0.dtsi"
0422 /include/ "qoriq-i2c-1.dtsi"
0423 /include/ "qoriq-duart-0.dtsi"
0424 /include/ "qoriq-duart-1.dtsi"
0425 /include/ "qoriq-gpio-0.dtsi"
0426 /include/ "qoriq-usb2-mph-0.dtsi"
0427 usb@210000 {
0428 compatible = "fsl-usb2-mph-v1.6", "fsl,mpc85xx-usb2-mph", "fsl-usb2-mph";
0429 fsl,iommu-parent = <&pamu1>;
0430 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
0431 port0;
0432 };
0433 /include/ "qoriq-usb2-dr-0.dtsi"
0434 usb@211000 {
0435 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
0436 fsl,iommu-parent = <&pamu1>;
0437 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
0438 };
0439 /include/ "qoriq-sec4.0-0.dtsi"
0440 crypto: crypto@300000 {
0441 fsl,iommu-parent = <&pamu1>;
0442 };
0443
0444 /include/ "qoriq-qman1.dtsi"
0445 /include/ "qoriq-bman1.dtsi"
0446
0447 /include/ "qoriq-fman-0.dtsi"
0448 /include/ "qoriq-fman-0-1g-0.dtsi"
0449 /include/ "qoriq-fman-0-1g-1.dtsi"
0450 /include/ "qoriq-fman-0-1g-2.dtsi"
0451 /include/ "qoriq-fman-0-1g-3.dtsi"
0452 /include/ "qoriq-fman-0-10g-0.dtsi"
0453 fman@400000 {
0454 enet0: ethernet@e0000 {
0455 };
0456
0457 enet1: ethernet@e2000 {
0458 };
0459
0460 enet2: ethernet@e4000 {
0461 };
0462
0463 enet3: ethernet@e6000 {
0464 };
0465
0466 enet4: ethernet@f0000 {
0467 };
0468 };
0469
0470 /include/ "qoriq-fman-1.dtsi"
0471 /include/ "qoriq-fman-1-1g-0.dtsi"
0472 /include/ "qoriq-fman-1-1g-1.dtsi"
0473 /include/ "qoriq-fman-1-1g-2.dtsi"
0474 /include/ "qoriq-fman-1-1g-3.dtsi"
0475 /include/ "qoriq-fman-1-10g-0.dtsi"
0476 fman@500000 {
0477 enet5: ethernet@e0000 {
0478 };
0479
0480 enet6: ethernet@e2000 {
0481 };
0482
0483 enet7: ethernet@e4000 {
0484 };
0485
0486 enet8: ethernet@e6000 {
0487 };
0488
0489 enet9: ethernet@f0000 {
0490 };
0491 };
0492 };