0001 /*
0002 * P1023/P1017 Silicon/SoC Device Tree Source (post include)
0003 *
0004 * Copyright 2011 - 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 &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 #address-cells = <2>;
0052 #size-cells = <1>;
0053 compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus";
0054 interrupts = <19 2 0 0>,
0055 <16 2 0 0>;
0056 };
0057
0058 /* controller at 0xa000 */
0059 &pci0 {
0060 compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
0061 device_type = "pci";
0062 #size-cells = <2>;
0063 #address-cells = <3>;
0064 bus-range = <0x0 0xff>;
0065 clock-frequency = <33333333>;
0066 interrupts = <16 2 0 0>;
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 0 0>;
0074 };
0075 };
0076
0077 /* controller at 0x9000 */
0078 &pci1 {
0079 compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
0080 device_type = "pci";
0081 #size-cells = <2>;
0082 #address-cells = <3>;
0083 bus-range = <0 0xff>;
0084 clock-frequency = <33333333>;
0085 interrupts = <16 2 0 0>;
0086 pcie@0 {
0087 reg = <0 0 0 0 0>;
0088 #interrupt-cells = <1>;
0089 #size-cells = <2>;
0090 #address-cells = <3>;
0091 device_type = "pci";
0092 interrupts = <16 2 0 0>;
0093 };
0094 };
0095
0096 /* controller at 0xb000 */
0097 &pci2 {
0098 compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
0099 device_type = "pci";
0100 #size-cells = <2>;
0101 #address-cells = <3>;
0102 bus-range = <0x0 0xff>;
0103 clock-frequency = <33333333>;
0104 interrupts = <16 2 0 0>;
0105 pcie@0 {
0106 reg = <0 0 0 0 0>;
0107 #interrupt-cells = <1>;
0108 #size-cells = <2>;
0109 #address-cells = <3>;
0110 device_type = "pci";
0111 interrupts = <16 2 0 0>;
0112 };
0113 };
0114
0115 &qportals {
0116 #address-cells = <1>;
0117 #size-cells = <1>;
0118 compatible = "simple-bus";
0119
0120 qportal0: qman-portal@0 {
0121 compatible = "fsl,qman-portal";
0122 reg = <0x0 0x4000>, <0x100000 0x1000>;
0123 interrupts = <29 2 0 0>;
0124 cell-index = <0>;
0125 };
0126 qportal1: qman-portal@4000 {
0127 compatible = "fsl,qman-portal";
0128 reg = <0x4000 0x4000>, <0x101000 0x1000>;
0129 interrupts = <31 2 0 0>;
0130 cell-index = <1>;
0131 };
0132 qportal2: qman-portal@8000 {
0133 compatible = "fsl,qman-portal";
0134 reg = <0x8000 0x4000>, <0x102000 0x1000>;
0135 interrupts = <33 2 0 0>;
0136 cell-index = <2>;
0137 };
0138 };
0139
0140 &bportals {
0141 #address-cells = <1>;
0142 #size-cells = <1>;
0143 compatible = "simple-bus";
0144
0145 bman-portal@0 {
0146 compatible = "fsl,bman-portal";
0147 reg = <0x0 0x4000>, <0x100000 0x1000>;
0148 interrupts = <30 2 0 0>;
0149 };
0150 bman-portal@4000 {
0151 compatible = "fsl,bman-portal";
0152 reg = <0x4000 0x4000>, <0x101000 0x1000>;
0153 interrupts = <32 2 0 0>;
0154 };
0155 bman-portal@8000 {
0156 compatible = "fsl,bman-portal";
0157 reg = <0x8000 0x4000>, <0x102000 0x1000>;
0158 interrupts = <34 2 0 0>;
0159 };
0160 };
0161
0162 &soc {
0163 #address-cells = <1>;
0164 #size-cells = <1>;
0165 device_type = "soc";
0166 compatible = "fsl,p1023-immr", "simple-bus";
0167 bus-frequency = <0>; // Filled out by uboot.
0168
0169 ecm-law@0 {
0170 compatible = "fsl,ecm-law";
0171 reg = <0x0 0x1000>;
0172 fsl,num-laws = <12>;
0173 };
0174
0175 ecm@1000 {
0176 compatible = "fsl,p1023-ecm", "fsl,ecm";
0177 reg = <0x1000 0x1000>;
0178 interrupts = <16 2 0 0>;
0179 };
0180
0181 memory-controller@2000 {
0182 compatible = "fsl,p1023-memory-controller";
0183 reg = <0x2000 0x1000>;
0184 interrupts = <16 2 0 0>;
0185 };
0186
0187 /include/ "pq3-i2c-0.dtsi"
0188 /include/ "pq3-i2c-1.dtsi"
0189 /include/ "pq3-duart-0.dtsi"
0190
0191 /include/ "pq3-espi-0.dtsi"
0192 spi@7000 {
0193 fsl,espi-num-chipselects = <4>;
0194 };
0195
0196 /include/ "pq3-gpio-0.dtsi"
0197
0198 L2: l2-cache-controller@20000 {
0199 compatible = "fsl,p1023-l2-cache-controller";
0200 reg = <0x20000 0x1000>;
0201 cache-line-size = <32>; // 32 bytes
0202 cache-size = <0x40000>; // L2,256K
0203 interrupts = <16 2 0 0>;
0204 };
0205
0206 /include/ "pq3-dma-0.dtsi"
0207 /include/ "pq3-usb2-dr-0.dtsi"
0208 usb@22000 {
0209 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
0210 };
0211
0212 crypto: crypto@300000 {
0213 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
0214 fsl,sec-era = <3>;
0215 #address-cells = <1>;
0216 #size-cells = <1>;
0217 reg = <0x30000 0x10000>;
0218 ranges = <0 0x30000 0x10000>;
0219 interrupts = <58 2 0 0>;
0220
0221 sec_jr0: jr@1000 {
0222 compatible = "fsl,sec-v4.2-job-ring",
0223 "fsl,sec-v4.0-job-ring";
0224 reg = <0x1000 0x1000>;
0225 interrupts = <45 2 0 0>;
0226 };
0227
0228 sec_jr1: jr@2000 {
0229 compatible = "fsl,sec-v4.2-job-ring",
0230 "fsl,sec-v4.0-job-ring";
0231 reg = <0x2000 0x1000>;
0232 interrupts = <45 2 0 0>;
0233 };
0234
0235 sec_jr2: jr@3000 {
0236 compatible = "fsl,sec-v4.2-job-ring",
0237 "fsl,sec-v4.0-job-ring";
0238 reg = <0x3000 0x1000>;
0239 interrupts = <57 2 0 0>;
0240 };
0241
0242 sec_jr3: jr@4000 {
0243 compatible = "fsl,sec-v4.2-job-ring",
0244 "fsl,sec-v4.0-job-ring";
0245 reg = <0x4000 0x1000>;
0246 interrupts = <57 2 0 0>;
0247 };
0248
0249 rtic@6000 {
0250 compatible = "fsl,sec-v4.2-rtic",
0251 "fsl,sec-v4.0-rtic";
0252 #address-cells = <1>;
0253 #size-cells = <1>;
0254 reg = <0x6000 0x100>;
0255 ranges = <0x0 0x6100 0xe00>;
0256
0257 rtic_a: rtic-a@0 {
0258 compatible = "fsl,sec-v4.2-rtic-memory",
0259 "fsl,sec-v4.0-rtic-memory";
0260 reg = <0x00 0x20 0x100 0x80>;
0261 };
0262
0263 rtic_b: rtic-b@20 {
0264 compatible = "fsl,sec-v4.2-rtic-memory",
0265 "fsl,sec-v4.0-rtic-memory";
0266 reg = <0x20 0x20 0x200 0x80>;
0267 };
0268
0269 rtic_c: rtic-c@40 {
0270 compatible = "fsl,sec-v4.2-rtic-memory",
0271 "fsl,sec-v4.0-rtic-memory";
0272 reg = <0x40 0x20 0x300 0x80>;
0273 };
0274
0275 rtic_d: rtic-d@60 {
0276 compatible = "fsl,sec-v4.2-rtic-memory",
0277 "fsl,sec-v4.0-rtic-memory";
0278 reg = <0x60 0x20 0x500 0x80>;
0279 };
0280 };
0281 };
0282
0283 /include/ "pq3-mpic.dtsi"
0284 /include/ "pq3-mpic-timer-B.dtsi"
0285
0286 qman: qman@88000 {
0287 compatible = "fsl,qman";
0288 reg = <0x88000 0x1000>;
0289 interrupts = <16 2 0 0>;
0290 fsl,qman-portals = <&qportals>;
0291 memory-region = <&qman_fqd &qman_pfdr>;
0292 };
0293
0294 bman: bman@8a000 {
0295 compatible = "fsl,bman";
0296 reg = <0x8a000 0x1000>;
0297 interrupts = <16 2 0 0>;
0298 fsl,bman-portals = <&bportals>;
0299 memory-region = <&bman_fbpr>;
0300 };
0301
0302 global-utilities@e0000 {
0303 compatible = "fsl,p1023-guts";
0304 reg = <0xe0000 0x1000>;
0305 fsl,has-rstcr;
0306 };
0307 };