0001 /*
0002 * MPC8536DS 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 &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 0x00080000>;
0073 label = "dtb-nor";
0074 };
0075
0076 partition@7f80000 {
0077 reg = <0x07f80000 0x00080000>;
0078 label = "u-boot-nor";
0079 read-only;
0080 };
0081 };
0082
0083 nand@2,0 {
0084 #address-cells = <1>;
0085 #size-cells = <1>;
0086 compatible = "fsl,mpc8536-fcm-nand",
0087 "fsl,elbc-fcm-nand";
0088 reg = <0x2 0x0 0x40000>;
0089
0090 partition@0 {
0091 reg = <0x0 0x02000000>;
0092 label = "u-boot-nand";
0093 read-only;
0094 };
0095
0096 partition@2000000 {
0097 reg = <0x02000000 0x10000000>;
0098 label = "fs-nand";
0099 };
0100
0101 partition@12000000 {
0102 reg = <0x12000000 0x08000000>;
0103 label = "ramdisk-nand";
0104 };
0105
0106 partition@1a000000 {
0107 reg = <0x1a000000 0x04000000>;
0108 label = "kernel-nand";
0109 };
0110
0111 partition@1e000000 {
0112 reg = <0x1e000000 0x01000000>;
0113 label = "dtb-nand";
0114 };
0115
0116 partition@1f000000 {
0117 reg = <0x1f000000 0x21000000>;
0118 label = "empty-nand";
0119 };
0120 };
0121
0122 board-control@3,0 {
0123 compatible = "fsl,mpc8536ds-fpga-pixis";
0124 reg = <0x3 0x0 0x8000>;
0125 };
0126 };
0127
0128 &board_soc {
0129 i2c@3100 {
0130 rtc@68 {
0131 compatible = "dallas,ds3232";
0132 reg = <0x68>;
0133 interrupts = <0 0x1 0 0>;
0134 };
0135 adt7461@4c {
0136 compatible = "adi,adt7461";
0137 reg = <0x4c>;
0138 };
0139 };
0140
0141 spi@7000 {
0142 flash@0 {
0143 #address-cells = <1>;
0144 #size-cells = <1>;
0145 compatible = "spansion,s25sl12801", "jedec,spi-nor";
0146 reg = <0>;
0147 spi-max-frequency = <40000000>;
0148 partition@u-boot {
0149 label = "u-boot";
0150 reg = <0x00000000 0x00100000>;
0151 read-only;
0152 };
0153 partition@kernel {
0154 label = "kernel";
0155 reg = <0x00100000 0x00500000>;
0156 read-only;
0157 };
0158 partition@dtb {
0159 label = "dtb";
0160 reg = <0x00600000 0x00100000>;
0161 read-only;
0162 };
0163 partition@fs {
0164 label = "file system";
0165 reg = <0x00700000 0x00900000>;
0166 };
0167 };
0168 flash@1 {
0169 compatible = "spansion,s25sl12801", "jedec,spi-nor";
0170 reg = <1>;
0171 spi-max-frequency = <40000000>;
0172 };
0173 flash@2 {
0174 compatible = "spansion,s25sl12801", "jedec,spi-nor";
0175 reg = <2>;
0176 spi-max-frequency = <40000000>;
0177 };
0178 flash@3 {
0179 compatible = "spansion,s25sl12801", "jedec,spi-nor";
0180 reg = <3>;
0181 spi-max-frequency = <40000000>;
0182 };
0183 };
0184
0185 usb@22000 {
0186 phy_type = "ulpi";
0187 };
0188
0189 usb@23000 {
0190 phy_type = "ulpi";
0191 };
0192
0193 enet0: ethernet@24000 {
0194 tbi-handle = <&tbi0>;
0195 phy-handle = <&phy1>;
0196 phy-connection-type = "rgmii-id";
0197 };
0198
0199 mdio@24520 {
0200 phy0: ethernet-phy@0 {
0201 interrupts = <10 0x1 0 0>;
0202 reg = <0>;
0203 };
0204 phy1: ethernet-phy@1 {
0205 interrupts = <10 0x1 0 0>;
0206 reg = <1>;
0207 };
0208 sgmii_phy0: sgmii-phy@0 {
0209 interrupts = <6 1 0 0>;
0210 reg = <0x1d>;
0211 };
0212 sgmii_phy1: sgmii-phy@1 {
0213 interrupts = <6 1 0 0>;
0214 reg = <0x1c>;
0215 };
0216 tbi0: tbi-phy@11 {
0217 reg = <0x11>;
0218 device_type = "tbi-phy";
0219 };
0220 };
0221
0222 enet2: ethernet@26000 {
0223 tbi-handle = <&tbi1>;
0224 phy-handle = <&phy0>;
0225 phy-connection-type = "rgmii-id";
0226 };
0227
0228 mdio@26520 {
0229 #address-cells = <1>;
0230 #size-cells = <0>;
0231 compatible = "fsl,gianfar-tbi";
0232 reg = <0x26520 0x20>;
0233
0234 tbi1: tbi-phy@11 {
0235 reg = <0x11>;
0236 device_type = "tbi-phy";
0237 };
0238 };
0239
0240 usb@2b000 {
0241 dr_mode = "peripheral";
0242 phy_type = "ulpi";
0243 };
0244 };