0001 /*
0002 * T1023 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 #include <dt-bindings/thermal/thermal.h>
0036
0037 &bman_fbpr {
0038 compatible = "fsl,bman-fbpr";
0039 alloc-ranges = <0 0 0x10000 0>;
0040 };
0041
0042 &qman_fqd {
0043 compatible = "fsl,qman-fqd";
0044 alloc-ranges = <0 0 0x10000 0>;
0045 };
0046
0047 &qman_pfdr {
0048 compatible = "fsl,qman-pfdr";
0049 alloc-ranges = <0 0 0x10000 0>;
0050 };
0051
0052 &ifc {
0053 #address-cells = <2>;
0054 #size-cells = <1>;
0055 compatible = "fsl,ifc", "simple-bus";
0056 interrupts = <25 2 0 0>;
0057 };
0058
0059 &pci0 {
0060 compatible = "fsl,t1023-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie";
0061 device_type = "pci";
0062 #size-cells = <2>;
0063 #address-cells = <3>;
0064 bus-range = <0x0 0xff>;
0065 interrupts = <20 2 0 0>;
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 = <20 2 0 0>;
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 &pci1 {
0086 compatible = "fsl,t1023-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie";
0087 device_type = "pci";
0088 #size-cells = <2>;
0089 #address-cells = <3>;
0090 bus-range = <0 0xff>;
0091 interrupts = <21 2 0 0>;
0092 fsl,iommu-parent = <&pamu0>;
0093 pcie@0 {
0094 reg = <0 0 0 0 0>;
0095 #interrupt-cells = <1>;
0096 #size-cells = <2>;
0097 #address-cells = <3>;
0098 device_type = "pci";
0099 interrupts = <21 2 0 0>;
0100 interrupt-map-mask = <0xf800 0 0 7>;
0101 interrupt-map = <
0102 /* IDSEL 0x0 */
0103 0000 0 0 1 &mpic 41 1 0 0
0104 0000 0 0 2 &mpic 5 1 0 0
0105 0000 0 0 3 &mpic 6 1 0 0
0106 0000 0 0 4 &mpic 7 1 0 0
0107 >;
0108 };
0109 };
0110
0111 &pci2 {
0112 compatible = "fsl,t1023-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie";
0113 device_type = "pci";
0114 #size-cells = <2>;
0115 #address-cells = <3>;
0116 bus-range = <0x0 0xff>;
0117 interrupts = <22 2 0 0>;
0118 fsl,iommu-parent = <&pamu0>;
0119 pcie@0 {
0120 reg = <0 0 0 0 0>;
0121 #interrupt-cells = <1>;
0122 #size-cells = <2>;
0123 #address-cells = <3>;
0124 device_type = "pci";
0125 interrupts = <22 2 0 0>;
0126 interrupt-map-mask = <0xf800 0 0 7>;
0127 interrupt-map = <
0128 /* IDSEL 0x0 */
0129 0000 0 0 1 &mpic 42 1 0 0
0130 0000 0 0 2 &mpic 9 1 0 0
0131 0000 0 0 3 &mpic 10 1 0 0
0132 0000 0 0 4 &mpic 11 1 0 0
0133 >;
0134 };
0135 };
0136
0137 &dcsr {
0138 #address-cells = <1>;
0139 #size-cells = <1>;
0140 compatible = "fsl,dcsr", "simple-bus";
0141
0142 dcsr-epu@0 {
0143 compatible = "fsl,t1023-dcsr-epu", "fsl,dcsr-epu";
0144 interrupts = <52 2 0 0
0145 84 2 0 0
0146 85 2 0 0>;
0147 reg = <0x0 0x1000>;
0148 };
0149 dcsr-npc {
0150 compatible = "fsl,t1023-dcsr-cnpc", "fsl,dcsr-cnpc";
0151 reg = <0x1000 0x1000 0x1002000 0x10000>;
0152 };
0153 dcsr-nxc@2000 {
0154 compatible = "fsl,dcsr-nxc";
0155 reg = <0x2000 0x1000>;
0156 };
0157 dcsr-corenet {
0158 compatible = "fsl,dcsr-corenet";
0159 reg = <0x8000 0x1000 0x1A000 0x1000>;
0160 };
0161 dcsr-ocn@11000 {
0162 compatible = "fsl,t1023-dcsr-ocn", "fsl,dcsr-ocn";
0163 reg = <0x11000 0x1000>;
0164 };
0165 dcsr-ddr@12000 {
0166 compatible = "fsl,dcsr-ddr";
0167 dev-handle = <&ddr1>;
0168 reg = <0x12000 0x1000>;
0169 };
0170 dcsr-nal@18000 {
0171 compatible = "fsl,t1023-dcsr-nal", "fsl,dcsr-nal";
0172 reg = <0x18000 0x1000>;
0173 };
0174 dcsr-rcpm@22000 {
0175 compatible = "fsl,t1023-dcsr-rcpm", "fsl,dcsr-rcpm";
0176 reg = <0x22000 0x1000>;
0177 };
0178 dcsr-snpc@30000 {
0179 compatible = "fsl,t1023-dcsr-snpc", "fsl,dcsr-snpc";
0180 reg = <0x30000 0x1000 0x1022000 0x10000>;
0181 };
0182 dcsr-snpc@31000 {
0183 compatible = "fsl,t1023-dcsr-snpc", "fsl,dcsr-snpc";
0184 reg = <0x31000 0x1000 0x1042000 0x10000>;
0185 };
0186 dcsr-cpu-sb-proxy@100000 {
0187 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0188 cpu-handle = <&cpu0>;
0189 reg = <0x100000 0x1000 0x101000 0x1000>;
0190 };
0191 dcsr-cpu-sb-proxy@108000 {
0192 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
0193 cpu-handle = <&cpu1>;
0194 reg = <0x108000 0x1000 0x109000 0x1000>;
0195 };
0196 };
0197
0198 &bportals {
0199 #address-cells = <0x1>;
0200 #size-cells = <0x1>;
0201 compatible = "simple-bus";
0202
0203 bman-portal@0 {
0204 cell-index = <0x0>;
0205 compatible = "fsl,bman-portal";
0206 reg = <0x0 0x4000>, <0x1000000 0x1000>;
0207 interrupts = <105 2 0 0>;
0208 };
0209 bman-portal@4000 {
0210 cell-index = <0x1>;
0211 compatible = "fsl,bman-portal";
0212 reg = <0x4000 0x4000>, <0x1001000 0x1000>;
0213 interrupts = <107 2 0 0>;
0214 };
0215 bman-portal@8000 {
0216 cell-index = <2>;
0217 compatible = "fsl,bman-portal";
0218 reg = <0x8000 0x4000>, <0x1002000 0x1000>;
0219 interrupts = <109 2 0 0>;
0220 };
0221 bman-portal@c000 {
0222 cell-index = <0x3>;
0223 compatible = "fsl,bman-portal";
0224 reg = <0xc000 0x4000>, <0x1003000 0x1000>;
0225 interrupts = <111 2 0 0>;
0226 };
0227 bman-portal@10000 {
0228 cell-index = <0x4>;
0229 compatible = "fsl,bman-portal";
0230 reg = <0x10000 0x4000>, <0x1004000 0x1000>;
0231 interrupts = <113 2 0 0>;
0232 };
0233 bman-portal@14000 {
0234 cell-index = <0x5>;
0235 compatible = "fsl,bman-portal";
0236 reg = <0x14000 0x4000>, <0x1005000 0x1000>;
0237 interrupts = <115 2 0 0>;
0238 };
0239 };
0240
0241 &qportals {
0242 #address-cells = <0x1>;
0243 #size-cells = <0x1>;
0244 compatible = "simple-bus";
0245
0246 qportal0: qman-portal@0 {
0247 compatible = "fsl,qman-portal";
0248 reg = <0x0 0x4000>, <0x1000000 0x1000>;
0249 interrupts = <104 0x2 0 0>;
0250 cell-index = <0x0>;
0251 };
0252 qportal1: qman-portal@4000 {
0253 compatible = "fsl,qman-portal";
0254 reg = <0x4000 0x4000>, <0x1001000 0x1000>;
0255 interrupts = <106 0x2 0 0>;
0256 cell-index = <0x1>;
0257 };
0258 qportal2: qman-portal@8000 {
0259 compatible = "fsl,qman-portal";
0260 reg = <0x8000 0x4000>, <0x1002000 0x1000>;
0261 interrupts = <108 0x2 0 0>;
0262 cell-index = <0x2>;
0263 };
0264 qportal3: qman-portal@c000 {
0265 compatible = "fsl,qman-portal";
0266 reg = <0xc000 0x4000>, <0x1003000 0x1000>;
0267 interrupts = <110 0x2 0 0>;
0268 cell-index = <0x3>;
0269 };
0270 qportal4: qman-portal@10000 {
0271 compatible = "fsl,qman-portal";
0272 reg = <0x10000 0x4000>, <0x1004000 0x1000>;
0273 interrupts = <112 0x2 0 0>;
0274 cell-index = <0x4>;
0275 };
0276 qportal5: qman-portal@14000 {
0277 compatible = "fsl,qman-portal";
0278 reg = <0x14000 0x4000>, <0x1005000 0x1000>;
0279 interrupts = <114 0x2 0 0>;
0280 cell-index = <0x5>;
0281 };
0282 };
0283
0284 &soc {
0285 #address-cells = <1>;
0286 #size-cells = <1>;
0287 device_type = "soc";
0288 compatible = "simple-bus";
0289
0290 soc-sram-error {
0291 compatible = "fsl,soc-sram-error";
0292 interrupts = <16 2 1 29>;
0293 };
0294
0295 corenet-law@0 {
0296 compatible = "fsl,corenet-law";
0297 reg = <0x0 0x1000>;
0298 fsl,num-laws = <16>;
0299 };
0300
0301 ddr1: memory-controller@8000 {
0302 compatible = "fsl,qoriq-memory-controller-v5.0",
0303 "fsl,qoriq-memory-controller";
0304 reg = <0x8000 0x1000>;
0305 interrupts = <16 2 1 23>;
0306 };
0307
0308 cpc: l3-cache-controller@10000 {
0309 compatible = "fsl,t1023-l3-cache-controller", "cache";
0310 reg = <0x10000 0x1000>;
0311 interrupts = <16 2 1 27>;
0312 };
0313
0314 corenet-cf@18000 {
0315 compatible = "fsl,corenet2-cf";
0316 reg = <0x18000 0x1000>;
0317 interrupts = <16 2 1 31>;
0318 };
0319
0320 iommu@20000 {
0321 compatible = "fsl,pamu-v1.0", "fsl,pamu";
0322 reg = <0x20000 0x1000>;
0323 ranges = <0 0x20000 0x1000>;
0324 #address-cells = <1>;
0325 #size-cells = <1>;
0326 interrupts = <
0327 24 2 0 0
0328 16 2 1 30>;
0329 pamu0: pamu@0 {
0330 reg = <0 0x1000>;
0331 fsl,primary-cache-geometry = <128 1>;
0332 fsl,secondary-cache-geometry = <32 2>;
0333 };
0334 };
0335
0336 /include/ "qoriq-mpic.dtsi"
0337
0338 guts: global-utilities@e0000 {
0339 compatible = "fsl,t1023-device-config", "fsl,qoriq-device-config-2.0";
0340 reg = <0xe0000 0xe00>;
0341 fsl,has-rstcr;
0342 fsl,liodn-bits = <12>;
0343 };
0344
0345 /include/ "qoriq-clockgen2.dtsi"
0346 global-utilities@e1000 {
0347 compatible = "fsl,t1023-clockgen", "fsl,qoriq-clockgen-2.0";
0348 };
0349
0350 rcpm: global-utilities@e2000 {
0351 compatible = "fsl,t1023-rcpm", "fsl,qoriq-rcpm-2.1";
0352 reg = <0xe2000 0x1000>;
0353 };
0354
0355 sfp: sfp@e8000 {
0356 compatible = "fsl,t1023-sfp";
0357 reg = <0xe8000 0x1000>;
0358 };
0359
0360 serdes: serdes@ea000 {
0361 compatible = "fsl,t1023-serdes";
0362 reg = <0xea000 0x4000>;
0363 };
0364
0365 tmu: tmu@f0000 {
0366 compatible = "fsl,qoriq-tmu";
0367 reg = <0xf0000 0x1000>;
0368 interrupts = <18 2 0 0>;
0369 fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x30061>;
0370 fsl,tmu-calibration = <0x00000000 0x0000000f
0371 0x00000001 0x00000017
0372 0x00000002 0x0000001e
0373 0x00000003 0x00000026
0374 0x00000004 0x0000002e
0375 0x00000005 0x00000035
0376 0x00000006 0x0000003d
0377 0x00000007 0x00000044
0378 0x00000008 0x0000004c
0379 0x00000009 0x00000053
0380 0x0000000a 0x0000005b
0381 0x0000000b 0x00000064
0382
0383 0x00010000 0x00000011
0384 0x00010001 0x0000001c
0385 0x00010002 0x00000024
0386 0x00010003 0x0000002b
0387 0x00010004 0x00000034
0388 0x00010005 0x00000039
0389 0x00010006 0x00000042
0390 0x00010007 0x0000004c
0391 0x00010008 0x00000051
0392 0x00010009 0x0000005a
0393 0x0001000a 0x00000063
0394
0395 0x00020000 0x00000013
0396 0x00020001 0x00000019
0397 0x00020002 0x00000024
0398 0x00020003 0x0000002c
0399 0x00020004 0x00000035
0400 0x00020005 0x0000003d
0401 0x00020006 0x00000046
0402 0x00020007 0x00000050
0403 0x00020008 0x00000059
0404
0405 0x00030000 0x00000002
0406 0x00030001 0x0000000d
0407 0x00030002 0x00000019
0408 0x00030003 0x00000024>;
0409 #thermal-sensor-cells = <1>;
0410 };
0411
0412 thermal-zones {
0413 cpu_thermal: cpu-thermal {
0414 polling-delay-passive = <1000>;
0415 polling-delay = <5000>;
0416
0417 thermal-sensors = <&tmu 0>;
0418
0419 trips {
0420 cpu_alert: cpu-alert {
0421 temperature = <85000>;
0422 hysteresis = <2000>;
0423 type = "passive";
0424 };
0425 cpu_crit: cpu-crit {
0426 temperature = <95000>;
0427 hysteresis = <2000>;
0428 type = "critical";
0429 };
0430 };
0431
0432 cooling-maps {
0433 map0 {
0434 trip = <&cpu_alert>;
0435 cooling-device =
0436 <&cpu0 THERMAL_NO_LIMIT
0437 THERMAL_NO_LIMIT>;
0438 };
0439 map1 {
0440 trip = <&cpu_alert>;
0441 cooling-device =
0442 <&cpu1 THERMAL_NO_LIMIT
0443 THERMAL_NO_LIMIT>;
0444 };
0445 };
0446 };
0447 };
0448
0449 scfg: global-utilities@fc000 {
0450 compatible = "fsl,t1023-scfg";
0451 reg = <0xfc000 0x1000>;
0452 };
0453
0454 /include/ "elo3-dma-0.dtsi"
0455 /include/ "elo3-dma-1.dtsi"
0456
0457 /include/ "qoriq-espi-0.dtsi"
0458 spi@110000 {
0459 fsl,espi-num-chipselects = <4>;
0460 };
0461
0462 /include/ "qoriq-esdhc-0.dtsi"
0463 sdhc@114000 {
0464 compatible = "fsl,t1023-esdhc", "fsl,esdhc";
0465 fsl,iommu-parent = <&pamu0>;
0466 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
0467 sdhci,auto-cmd12;
0468 no-1-8-v;
0469 };
0470 /include/ "qoriq-i2c-0.dtsi"
0471 /include/ "qoriq-i2c-1.dtsi"
0472 /include/ "qoriq-duart-0.dtsi"
0473 /include/ "qoriq-duart-1.dtsi"
0474 /include/ "qoriq-gpio-0.dtsi"
0475 /include/ "qoriq-gpio-1.dtsi"
0476 /include/ "qoriq-gpio-2.dtsi"
0477 /include/ "qoriq-gpio-3.dtsi"
0478 /include/ "qoriq-usb2-mph-0.dtsi"
0479 usb0: usb@210000 {
0480 compatible = "fsl-usb2-mph-v2.5", "fsl-usb2-mph";
0481 fsl,iommu-parent = <&pamu0>;
0482 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
0483 phy_type = "utmi";
0484 port0;
0485 };
0486 /include/ "qoriq-usb2-dr-0.dtsi"
0487 usb1: usb@211000 {
0488 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
0489 fsl,iommu-parent = <&pamu0>;
0490 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
0491 dr_mode = "host";
0492 phy_type = "utmi";
0493 };
0494 /include/ "qoriq-sata2-0.dtsi"
0495 sata@220000 {
0496 fsl,iommu-parent = <&pamu0>;
0497 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
0498 };
0499
0500 /include/ "qoriq-sec5.0-0.dtsi"
0501 /include/ "qoriq-qman3.dtsi"
0502 /include/ "qoriq-bman1.dtsi"
0503
0504 /include/ "qoriq-fman3l-0.dtsi"
0505 /include/ "qoriq-fman3-0-10g-0-best-effort.dtsi"
0506 /include/ "qoriq-fman3-0-1g-1.dtsi"
0507 /include/ "qoriq-fman3-0-1g-2.dtsi"
0508 /include/ "qoriq-fman3-0-1g-3.dtsi"
0509 fman@400000 {
0510 enet0: ethernet@e0000 {
0511 };
0512
0513 enet1: ethernet@e2000 {
0514 };
0515
0516 enet2: ethernet@e4000 {
0517 };
0518
0519 enet3: ethernet@e6000 {
0520 };
0521 };
0522 };