Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * P2020DS Device Tree Source stub (no addresses or top-level ranges)
0003  *
0004  * Copyright 2011-2012 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                 ramdisk@0 {
0045                         reg = <0x0 0x03000000>;
0046                         read-only;
0047                 };
0048 
0049                 diagnostic@3000000 {
0050                         reg = <0x03000000 0x00e00000>;
0051                         read-only;
0052                 };
0053 
0054                 dink@3e00000 {
0055                         reg = <0x03e00000 0x00200000>;
0056                         read-only;
0057                 };
0058 
0059                 kernel@4000000 {
0060                         reg = <0x04000000 0x00400000>;
0061                         read-only;
0062                 };
0063 
0064                 jffs2@4400000 {
0065                         reg = <0x04400000 0x03b00000>;
0066                 };
0067 
0068                 dtb@7f00000 {
0069                         reg = <0x07f00000 0x00080000>;
0070                         read-only;
0071                 };
0072 
0073                 u-boot@7f80000 {
0074                         reg = <0x07f80000 0x00080000>;
0075                         read-only;
0076                 };
0077         };
0078 
0079         nand@2,0 {
0080                 #address-cells = <1>;
0081                 #size-cells = <1>;
0082                 compatible = "fsl,elbc-fcm-nand";
0083                 reg = <0x2 0x0 0x40000>;
0084 
0085                 u-boot@0 {
0086                         reg = <0x0 0x02000000>;
0087                         read-only;
0088                 };
0089 
0090                 jffs2@2000000 {
0091                         reg = <0x02000000 0x10000000>;
0092                 };
0093 
0094                 ramdisk@12000000 {
0095                         reg = <0x12000000 0x08000000>;
0096                         read-only;
0097                 };
0098 
0099                 kernel@1a000000 {
0100                         reg = <0x1a000000 0x04000000>;
0101                 };
0102 
0103                 dtb@1e000000 {
0104                         reg = <0x1e000000 0x01000000>;
0105                         read-only;
0106                 };
0107 
0108                 empty@1f000000 {
0109                         reg = <0x1f000000 0x21000000>;
0110                 };
0111         };
0112 
0113         board-control@3,0 {
0114                 compatible = "fsl,p2020ds-fpga", "fsl,fpga-ngpixis";
0115                 reg = <0x3 0x0 0x30>;
0116         };
0117 
0118         nand@4,0 {
0119                 compatible = "fsl,elbc-fcm-nand";
0120                 reg = <0x4 0x0 0x40000>;
0121         };
0122 
0123         nand@5,0 {
0124                 compatible = "fsl,elbc-fcm-nand";
0125                 reg = <0x5 0x0 0x40000>;
0126         };
0127 
0128         nand@6,0 {
0129                 compatible = "fsl,elbc-fcm-nand";
0130                 reg = <0x6 0x0 0x40000>;
0131         };
0132 };
0133 
0134 &board_soc {
0135         usb@22000 {
0136                 phy_type = "ulpi";
0137                 dr_mode = "host";
0138         };
0139 
0140         mdio@24520 {
0141                 phy0: ethernet-phy@0 {
0142                         interrupts = <3 1 0 0>;
0143                         reg = <0x0>;
0144                 };
0145                 phy1: ethernet-phy@1 {
0146                         interrupts = <3 1 0 0>;
0147                         reg = <0x1>;
0148                 };
0149                 phy2: ethernet-phy@2 {
0150                         interrupts = <3 1 0 0>;
0151                         reg = <0x2>;
0152                 };
0153 
0154                 sgmii_phy1: sgmii-phy@1 {
0155                         interrupts = <5 1 0 0>;
0156                         reg = <0x1c>;
0157                 };
0158                 sgmii_phy2: sgmii-phy@2 {
0159                         interrupts = <5 1 0 0>;
0160                         reg = <0x1d>;
0161                 };
0162 
0163                 tbi0: tbi-phy@11 {
0164                         reg = <0x11>;
0165                         device_type = "tbi-phy";
0166                 };
0167 
0168         };
0169 
0170         mdio@25520 {
0171                 tbi1: tbi-phy@11 {
0172                         reg = <0x11>;
0173                         device_type = "tbi-phy";
0174                 };
0175         };
0176 
0177         mdio@26520 {
0178                 tbi2: tbi-phy@11 {
0179                         reg = <0x11>;
0180                         device_type = "tbi-phy";
0181                 };
0182 
0183         };
0184 
0185         ptp_clock@24e00 {
0186                 fsl,tclk-period = <5>;
0187                 fsl,tmr-prsc = <200>;
0188                 fsl,tmr-add = <0xCCCCCCCD>;
0189                 fsl,tmr-fiper1 = <0x3B9AC9FB>;
0190                 fsl,tmr-fiper2 = <0x0001869B>;
0191                 fsl,max-adj = <249999999>;
0192         };
0193 
0194         enet0: ethernet@24000 {
0195                 tbi-handle = <&tbi0>;
0196                 phy-handle = <&phy0>;
0197                 phy-connection-type = "rgmii-id";
0198         };
0199 
0200         enet1: ethernet@25000 {
0201                 tbi-handle = <&tbi1>;
0202                 phy-handle = <&phy1>;
0203                 phy-connection-type = "rgmii-id";
0204 
0205         };
0206 
0207         enet2: ethernet@26000 {
0208                 tbi-handle = <&tbi2>;
0209                 phy-handle = <&phy2>;
0210                 phy-connection-type = "rgmii-id";
0211         };
0212 };
0213 
0214 &board_pci1 {
0215         pcie@0 {
0216                 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
0217                 interrupt-map = <
0218 
0219                         // IDSEL 0x11 func 0 - PCI slot 1
0220                         0x8800 0x0 0x0 0x1 &i8259 0x9 0x2
0221                         0x8800 0x0 0x0 0x2 &i8259 0xa 0x2
0222 
0223                         // IDSEL 0x11 func 1 - PCI slot 1
0224                         0x8900 0x0 0x0 0x1 &i8259 0x9 0x2
0225                         0x8900 0x0 0x0 0x2 &i8259 0xa 0x2
0226 
0227                         // IDSEL 0x11 func 2 - PCI slot 1
0228                         0x8a00 0x0 0x0 0x1 &i8259 0x9 0x2
0229                         0x8a00 0x0 0x0 0x2 &i8259 0xa 0x2
0230 
0231                         // IDSEL 0x11 func 3 - PCI slot 1
0232                         0x8b00 0x0 0x0 0x1 &i8259 0x9 0x2
0233                         0x8b00 0x0 0x0 0x2 &i8259 0xa 0x2
0234 
0235                         // IDSEL 0x11 func 4 - PCI slot 1
0236                         0x8c00 0x0 0x0 0x1 &i8259 0x9 0x2
0237                         0x8c00 0x0 0x0 0x2 &i8259 0xa 0x2
0238 
0239                         // IDSEL 0x11 func 5 - PCI slot 1
0240                         0x8d00 0x0 0x0 0x1 &i8259 0x9 0x2
0241                         0x8d00 0x0 0x0 0x2 &i8259 0xa 0x2
0242 
0243                         // IDSEL 0x11 func 6 - PCI slot 1
0244                         0x8e00 0x0 0x0 0x1 &i8259 0x9 0x2
0245                         0x8e00 0x0 0x0 0x2 &i8259 0xa 0x2
0246 
0247                         // IDSEL 0x11 func 7 - PCI slot 1
0248                         0x8f00 0x0 0x0 0x1 &i8259 0x9 0x2
0249                         0x8f00 0x0 0x0 0x2 &i8259 0xa 0x2
0250 
0251                         // IDSEL 0x1d  Audio
0252                         0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
0253 
0254                         // IDSEL 0x1e Legacy
0255                         0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
0256                         0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
0257 
0258                         // IDSEL 0x1f IDE/SATA
0259                         0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
0260                         0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
0261                         >;
0262 
0263                 uli1575@0 {
0264                         reg = <0x0 0x0 0x0 0x0 0x0>;
0265                         #size-cells = <2>;
0266                         #address-cells = <3>;
0267                         ranges = <0x2000000 0x0 0xa0000000
0268                                   0x2000000 0x0 0xa0000000
0269                                   0x0 0x20000000
0270 
0271                                   0x1000000 0x0 0x0
0272                                   0x1000000 0x0 0x0
0273                                   0x0 0x10000>;
0274                         isa@1e {
0275                                 device_type = "isa";
0276                                 #interrupt-cells = <2>;
0277                                 #size-cells = <1>;
0278                                 #address-cells = <2>;
0279                                 reg = <0xf000 0x0 0x0 0x0 0x0>;
0280                                 ranges = <0x1 0x0 0x1000000 0x0 0x0
0281                                           0x1000>;
0282                                 interrupt-parent = <&i8259>;
0283 
0284                                 i8259: interrupt-controller@20 {
0285                                         reg = <0x1 0x20 0x2
0286                                                0x1 0xa0 0x2
0287                                                0x1 0x4d0 0x2>;
0288                                         interrupt-controller;
0289                                         device_type = "interrupt-controller";
0290                                         #address-cells = <0>;
0291                                         #interrupt-cells = <2>;
0292                                         compatible = "chrp,iic";
0293                                         interrupts = <4 1 0 0>;
0294                                         interrupt-parent = <&mpic>;
0295                                 };
0296 
0297                                 i8042@60 {
0298                                         #size-cells = <0>;
0299                                         #address-cells = <1>;
0300                                         reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
0301                                         interrupts = <1 3 12 3>;
0302                                         interrupt-parent =
0303                                                 <&i8259>;
0304 
0305                                         keyboard@0 {
0306                                                 reg = <0x0>;
0307                                                 compatible = "pnpPNP,303";
0308                                         };
0309 
0310                                         mouse@1 {
0311                                                 reg = <0x1>;
0312                                                 compatible = "pnpPNP,f03";
0313                                         };
0314                                 };
0315 
0316                                 rtc@70 {
0317                                         compatible = "pnpPNP,b00";
0318                                         reg = <0x1 0x70 0x2>;
0319                                 };
0320 
0321                                 gpio@400 {
0322                                         reg = <0x1 0x400 0x80>;
0323                                 };
0324                         };
0325                 };
0326         };
0327 };