0001 /*
0002 * P1020 UTM-PC Device Tree Source stub (no addresses or top-level ranges)
0003 *
0004 * Copyright 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 &lbc {
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@0 {
0045 /* 256KB for DTB Image */
0046 reg = <0x0 0x00040000>;
0047 label = "NOR DTB Image";
0048 };
0049
0050 partition@40000 {
0051 /* 3.75 MB for Linux Kernel Image */
0052 reg = <0x00040000 0x003c0000>;
0053 label = "NOR Linux Kernel Image";
0054 };
0055
0056 partition@400000 {
0057 /* 27MB for Root file System */
0058 reg = <0x00400000 0x01b00000>;
0059 label = "NOR 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
0073 &soc {
0074 i2c@3000 {
0075 rtc@68 {
0076 compatible = "dallas,ds1339";
0077 reg = <0x68>;
0078 };
0079 };
0080
0081 mdio@24000 {
0082 phy0: ethernet-phy@0 {
0083 interrupts = <3 1 0 0>;
0084 reg = <0x0>;
0085 };
0086 phy1: ethernet-phy@1 {
0087 interrupts = <2 1 0 0>;
0088 reg = <0x1>;
0089 };
0090 phy2: ethernet-phy@2 {
0091 interrupts = <1 1 0 0>;
0092 reg = <0x2>;
0093 };
0094 };
0095
0096 mdio@25000 {
0097 tbi1: tbi-phy@11 {
0098 reg = <0x11>;
0099 device_type = "tbi-phy";
0100 };
0101 };
0102
0103 mdio@26000 {
0104 tbi2: tbi-phy@11 {
0105 reg = <0x11>;
0106 device_type = "tbi-phy";
0107 };
0108 };
0109
0110 enet0: ethernet@b0000 {
0111 phy-handle = <&phy2>;
0112 phy-connection-type = "rgmii-id";
0113 };
0114
0115 enet1: ethernet@b1000 {
0116 phy-handle = <&phy0>;
0117 tbi-handle = <&tbi1>;
0118 phy-connection-type = "sgmii";
0119 };
0120
0121 enet2: ethernet@b2000 {
0122 phy-handle = <&phy1>;
0123 phy-connection-type = "rgmii-id";
0124 };
0125
0126 usb@22000 {
0127 phy_type = "ulpi";
0128 };
0129
0130 /* USB2 is shared with localbus, so it must be disabled
0131 by default. We can't put 'status = "disabled";' here
0132 since U-Boot doesn't clear the status property when
0133 it enables USB2. OTOH, U-Boot does create a new node
0134 when there isn't any. So, just comment it out.
0135 */
0136 usb@23000 {
0137 status = "disabled";
0138 phy_type = "ulpi";
0139 };
0140 };