0001 /*
0002 * MPC8572DS Device Tree Source stub (no addresses or top-level ranges)
0003 *
0004 * Copyright 2011 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 &board_lbc {
0036 nor@0,0 {
0037 #address-cells = <1>;
0038 #size-cells = <1>;
0039 compatible = "cfi-flash";
0040 reg = <0x0 0x0 0x8000000>;
0041 bank-width = <2>;
0042 device-width = <1>;
0043
0044 partition@0 {
0045 reg = <0x0 0x03000000>;
0046 label = "ramdisk-nor";
0047 };
0048
0049 partition@3000000 {
0050 reg = <0x03000000 0x00e00000>;
0051 label = "diagnostic-nor";
0052 read-only;
0053 };
0054
0055 partition@3e00000 {
0056 reg = <0x03e00000 0x00200000>;
0057 label = "dink-nor";
0058 read-only;
0059 };
0060
0061 partition@4000000 {
0062 reg = <0x04000000 0x00400000>;
0063 label = "kernel-nor";
0064 };
0065
0066 partition@4400000 {
0067 reg = <0x04400000 0x03b00000>;
0068 label = "fs-nor";
0069 };
0070
0071 partition@7f00000 {
0072 reg = <0x07f00000 0x00060000>;
0073 label = "dtb-nor";
0074 };
0075
0076 partition@7f60000 {
0077 reg = <0x07f60000 0x00020000>;
0078 label = "env-nor";
0079 read-only;
0080 };
0081
0082 partition@7f80000 {
0083 reg = <0x07f80000 0x00080000>;
0084 label = "u-boot-nor";
0085 read-only;
0086 };
0087 };
0088
0089 nand@2,0 {
0090 #address-cells = <1>;
0091 #size-cells = <1>;
0092 compatible = "fsl,mpc8572-fcm-nand",
0093 "fsl,elbc-fcm-nand";
0094 reg = <0x2 0x0 0x40000>;
0095
0096 partition@0 {
0097 reg = <0x0 0x02000000>;
0098 label = "u-boot-nand";
0099 read-only;
0100 };
0101
0102 partition@2000000 {
0103 reg = <0x02000000 0x10000000>;
0104 label = "fs-nand";
0105 };
0106
0107 partition@12000000 {
0108 reg = <0x12000000 0x08000000>;
0109 label = "ramdisk-nand";
0110 };
0111
0112 partition@1a000000 {
0113 reg = <0x1a000000 0x04000000>;
0114 label = "kernel-nand";
0115 };
0116
0117 partition@1e000000 {
0118 reg = <0x1e000000 0x01000000>;
0119 label = "dtb-nand";
0120 };
0121
0122 partition@1f000000 {
0123 reg = <0x1f000000 0x21000000>;
0124 label = "empty-nand";
0125 };
0126 };
0127
0128 nand@4,0 {
0129 compatible = "fsl,mpc8572-fcm-nand",
0130 "fsl,elbc-fcm-nand";
0131 reg = <0x4 0x0 0x40000>;
0132 };
0133
0134 nand@5,0 {
0135 compatible = "fsl,mpc8572-fcm-nand",
0136 "fsl,elbc-fcm-nand";
0137 reg = <0x5 0x0 0x40000>;
0138 };
0139
0140 nand@6,0 {
0141 compatible = "fsl,mpc8572-fcm-nand",
0142 "fsl,elbc-fcm-nand";
0143 reg = <0x6 0x0 0x40000>;
0144 };
0145 };
0146
0147 &board_soc {
0148 enet0: ethernet@24000 {
0149 tbi-handle = <&tbi0>;
0150 phy-handle = <&phy0>;
0151 phy-connection-type = "rgmii-id";
0152 };
0153
0154 mdio@24520 {
0155 phy0: ethernet-phy@0 {
0156 interrupts = <10 1 0 0>;
0157 reg = <0x0>;
0158 };
0159 phy1: ethernet-phy@1 {
0160 interrupts = <10 1 0 0>;
0161 reg = <0x1>;
0162 };
0163 phy2: ethernet-phy@2 {
0164 interrupts = <10 1 0 0>;
0165 reg = <0x2>;
0166 };
0167 phy3: ethernet-phy@3 {
0168 interrupts = <10 1 0 0>;
0169 reg = <0x3>;
0170 };
0171
0172 sgmii_phy0: sgmii-phy@0 {
0173 interrupts = <6 1 0 0>;
0174 reg = <0x1c>;
0175 };
0176 sgmii_phy1: sgmii-phy@1 {
0177 interrupts = <6 1 0 0>;
0178 reg = <0x1d>;
0179 };
0180 sgmii_phy2: sgmii-phy@2 {
0181 interrupts = <7 1 0 0>;
0182 reg = <0x1e>;
0183 };
0184 sgmii_phy3: sgmii-phy@3 {
0185 interrupts = <7 1 0 0>;
0186 reg = <0x1f>;
0187 };
0188
0189 tbi0: tbi-phy@11 {
0190 reg = <0x11>;
0191 device_type = "tbi-phy";
0192 };
0193 };
0194
0195 ptp_clock@24e00 {
0196 fsl,tclk-period = <5>;
0197 fsl,tmr-prsc = <200>;
0198 fsl,tmr-add = <0xAAAAAAAB>;
0199 fsl,tmr-fiper1 = <0x3B9AC9FB>;
0200 fsl,tmr-fiper2 = <0x3B9AC9FB>;
0201 fsl,max-adj = <499999999>;
0202 };
0203
0204 enet1: ethernet@25000 {
0205 tbi-handle = <&tbi1>;
0206 phy-handle = <&phy1>;
0207 phy-connection-type = "rgmii-id";
0208
0209 };
0210
0211 mdio@25520 {
0212 tbi1: tbi-phy@11 {
0213 reg = <0x11>;
0214 device_type = "tbi-phy";
0215 };
0216 };
0217
0218 enet2: ethernet@26000 {
0219 tbi-handle = <&tbi2>;
0220 phy-handle = <&phy2>;
0221 phy-connection-type = "rgmii-id";
0222
0223 };
0224 mdio@26520 {
0225 tbi2: tbi-phy@11 {
0226 reg = <0x11>;
0227 device_type = "tbi-phy";
0228 };
0229 };
0230
0231 enet3: ethernet@27000 {
0232 tbi-handle = <&tbi3>;
0233 phy-handle = <&phy3>;
0234 phy-connection-type = "rgmii-id";
0235 };
0236
0237 mdio@27520 {
0238 tbi3: tbi-phy@11 {
0239 reg = <0x11>;
0240 device_type = "tbi-phy";
0241 };
0242 };
0243 };
0244
0245 &board_pci0 {
0246 pcie@0 {
0247 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
0248 interrupt-map = <
0249 /* IDSEL 0x11 func 0 - PCI slot 1 */
0250 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0251 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0252 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0253 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0254
0255 /* IDSEL 0x11 func 1 - PCI slot 1 */
0256 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0257 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0258 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0259 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0260
0261 /* IDSEL 0x11 func 2 - PCI slot 1 */
0262 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0263 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0264 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0265 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0266
0267 /* IDSEL 0x11 func 3 - PCI slot 1 */
0268 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0269 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0270 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0271 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0272
0273 /* IDSEL 0x11 func 4 - PCI slot 1 */
0274 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0275 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0276 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0277 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0278
0279 /* IDSEL 0x11 func 5 - PCI slot 1 */
0280 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0281 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0282 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0283 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0284
0285 /* IDSEL 0x11 func 6 - PCI slot 1 */
0286 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0287 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0288 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0289 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0290
0291 /* IDSEL 0x11 func 7 - PCI slot 1 */
0292 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
0293 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
0294 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
0295 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
0296
0297 /* IDSEL 0x12 func 0 - PCI slot 2 */
0298 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0299 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0300 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0301 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0302
0303 /* IDSEL 0x12 func 1 - PCI slot 2 */
0304 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0305 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0306 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0307 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0308
0309 /* IDSEL 0x12 func 2 - PCI slot 2 */
0310 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0311 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0312 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0313 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0314
0315 /* IDSEL 0x12 func 3 - PCI slot 2 */
0316 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0317 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0318 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0319 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0320
0321 /* IDSEL 0x12 func 4 - PCI slot 2 */
0322 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0323 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0324 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0325 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0326
0327 /* IDSEL 0x12 func 5 - PCI slot 2 */
0328 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0329 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0330 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0331 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0332
0333 /* IDSEL 0x12 func 6 - PCI slot 2 */
0334 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0335 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0336 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0337 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0338
0339 /* IDSEL 0x12 func 7 - PCI slot 2 */
0340 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
0341 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
0342 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
0343 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
0344
0345 // IDSEL 0x1c USB
0346 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
0347 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
0348 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
0349 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
0350
0351 // IDSEL 0x1d Audio
0352 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
0353
0354 // IDSEL 0x1e Legacy
0355 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
0356 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
0357
0358 // IDSEL 0x1f IDE/SATA
0359 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
0360 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
0361 >;
0362
0363
0364 uli1575@0 {
0365 reg = <0x0 0x0 0x0 0x0 0x0>;
0366 #size-cells = <2>;
0367 #address-cells = <3>;
0368 ranges = <0x2000000 0x0 0x80000000
0369 0x2000000 0x0 0x80000000
0370 0x0 0x20000000
0371
0372 0x1000000 0x0 0x0
0373 0x1000000 0x0 0x0
0374 0x0 0x10000>;
0375 isa@1e {
0376 device_type = "isa";
0377 #interrupt-cells = <2>;
0378 #size-cells = <1>;
0379 #address-cells = <2>;
0380 reg = <0xf000 0x0 0x0 0x0 0x0>;
0381 ranges = <0x1 0x0 0x1000000 0x0 0x0
0382 0x1000>;
0383 interrupt-parent = <&i8259>;
0384
0385 i8259: interrupt-controller@20 {
0386 reg = <0x1 0x20 0x2
0387 0x1 0xa0 0x2
0388 0x1 0x4d0 0x2>;
0389 interrupt-controller;
0390 device_type = "interrupt-controller";
0391 #address-cells = <0>;
0392 #interrupt-cells = <2>;
0393 compatible = "chrp,iic";
0394 interrupts = <9 2 0 0>;
0395 interrupt-parent = <&mpic>;
0396 };
0397
0398 i8042@60 {
0399 #size-cells = <0>;
0400 #address-cells = <1>;
0401 reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
0402 interrupts = <1 3 12 3>;
0403 interrupt-parent =
0404 <&i8259>;
0405
0406 keyboard@0 {
0407 reg = <0x0>;
0408 compatible = "pnpPNP,303";
0409 };
0410
0411 mouse@1 {
0412 reg = <0x1>;
0413 compatible = "pnpPNP,f03";
0414 };
0415 };
0416
0417 rtc@70 {
0418 compatible = "pnpPNP,b00";
0419 reg = <0x1 0x70 0x2>;
0420 };
0421
0422 gpio@400 {
0423 reg = <0x1 0x400 0x80>;
0424 };
0425 };
0426 };
0427 };
0428 };