0001 /*
0002 * P1010 RDB 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_ifc {
0036 nor@0,0 {
0037 #address-cells = <1>;
0038 #size-cells = <1>;
0039 compatible = "cfi-flash";
0040 reg = <0x0 0x0 0x2000000>;
0041 bank-width = <2>;
0042 device-width = <1>;
0043
0044 partition@40000 {
0045 /* 256KB for DTB Image */
0046 reg = <0x00040000 0x00040000>;
0047 label = "NOR DTB Image";
0048 };
0049
0050 partition@80000 {
0051 /* 7 MB for Linux Kernel Image */
0052 reg = <0x00080000 0x00700000>;
0053 label = "NOR Linux Kernel Image";
0054 };
0055
0056 partition@800000 {
0057 /* 20MB for JFFS2 based Root file System */
0058 reg = <0x00800000 0x01400000>;
0059 label = "NOR JFFS2 Root File System";
0060 };
0061
0062 partition@1f00000 {
0063 /* This location must not be altered */
0064 /* 512KB for u-boot Bootloader Image */
0065 /* 512KB for u-boot Environment Variables */
0066 reg = <0x01f00000 0x00100000>;
0067 label = "NOR U-Boot Image";
0068 read-only;
0069 };
0070 };
0071
0072 ifc_nand: nand@1,0 {
0073 #address-cells = <1>;
0074 #size-cells = <1>;
0075 compatible = "fsl,ifc-nand";
0076 reg = <0x1 0x0 0x10000>;
0077 };
0078
0079 cpld@3,0 {
0080 #address-cells = <1>;
0081 #size-cells = <1>;
0082 compatible = "fsl,p1010rdb-cpld";
0083 reg = <0x3 0x0 0x0000020>;
0084 bank-width = <1>;
0085 device-width = <1>;
0086 };
0087 };
0088
0089 &board_soc {
0090 i2c@3000 {
0091 eeprom@50 {
0092 compatible = "st,24c256", "atmel,24c256";
0093 reg = <0x50>;
0094 };
0095
0096 rtc@68 {
0097 compatible = "pericom,pt7c4338";
0098 reg = <0x68>;
0099 };
0100 };
0101
0102 i2c@3100 {
0103 eeprom@52 {
0104 compatible = "atmel,24c01";
0105 reg = <0x52>;
0106 };
0107 };
0108
0109 spi@7000 {
0110 flash@0 {
0111 #address-cells = <1>;
0112 #size-cells = <1>;
0113 compatible = "spansion,s25sl12801", "jedec,spi-nor";
0114 reg = <0>;
0115 spi-max-frequency = <40000000>;
0116
0117 partition@0 {
0118 /* 1MB for u-boot Bootloader Image */
0119 /* 1MB for Environment */
0120 reg = <0x0 0x00100000>;
0121 label = "SPI Flash U-Boot Image";
0122 read-only;
0123 };
0124
0125 partition@100000 {
0126 /* 512KB for DTB Image */
0127 reg = <0x00100000 0x00080000>;
0128 label = "SPI Flash DTB Image";
0129 };
0130
0131 partition@180000 {
0132 /* 4MB for Linux Kernel Image */
0133 reg = <0x00180000 0x00400000>;
0134 label = "SPI Flash Linux Kernel Image";
0135 };
0136
0137 partition@580000 {
0138 /* 4MB for Compressed RFS Image */
0139 reg = <0x00580000 0x00400000>;
0140 label = "SPI Flash Compressed RFSImage";
0141 };
0142
0143 partition@980000 {
0144 /* 6.5MB for JFFS2 based RFS */
0145 reg = <0x00980000 0x00680000>;
0146 label = "SPI Flash JFFS2 RFS";
0147 };
0148 };
0149 };
0150
0151 usb@22000 {
0152 phy_type = "utmi";
0153 dr_mode = "host";
0154 };
0155
0156 mdio@24000 {
0157 phy0: ethernet-phy@0 {
0158 reg = <0x1>;
0159 };
0160
0161 phy1: ethernet-phy@1 {
0162 reg = <0x0>;
0163 };
0164
0165 phy2: ethernet-phy@2 {
0166 reg = <0x2>;
0167 };
0168
0169 tbi-phy@3 {
0170 device_type = "tbi-phy";
0171 reg = <0x3>;
0172 };
0173 };
0174
0175 mdio@25000 {
0176 tbi0: tbi-phy@11 {
0177 reg = <0x11>;
0178 device_type = "tbi-phy";
0179 };
0180 };
0181
0182 mdio@26000 {
0183 tbi1: tbi-phy@11 {
0184 reg = <0x11>;
0185 device_type = "tbi-phy";
0186 };
0187 };
0188
0189 ptp_clock@b0e00 {
0190 compatible = "fsl,etsec-ptp";
0191 reg = <0xb0e00 0xb0>;
0192 interrupts = <68 2 0 0 69 2 0 0>;
0193 fsl,tclk-period = <10>;
0194 fsl,tmr-prsc = <2>;
0195 fsl,tmr-add = <0x80000016>;
0196 fsl,tmr-fiper1 = <999999990>;
0197 fsl,tmr-fiper2 = <99990>;
0198 fsl,max-adj = <199999999>;
0199 };
0200
0201 enet0: ethernet@b0000 {
0202 phy-handle = <&phy0>;
0203 phy-connection-type = "rgmii-id";
0204 };
0205
0206 enet1: ethernet@b1000 {
0207 phy-handle = <&phy1>;
0208 tbi-handle = <&tbi0>;
0209 phy-connection-type = "sgmii";
0210 };
0211
0212 enet2: ethernet@b2000 {
0213 phy-handle = <&phy2>;
0214 tbi-handle = <&tbi1>;
0215 phy-connection-type = "sgmii";
0216 };
0217 };
0218
0219 &pci0 {
0220 pcie@0 {
0221 interrupt-map = <
0222 /* IDSEL 0x0 */
0223 /*
0224 *irq[4:5] are active-high
0225 *irq[6:7] are active-low
0226 */
0227 0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
0228 0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
0229 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
0230 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
0231 >;
0232 };
0233 };