p1020utm-pc.dtsi (3851B)
1/* 2 * P1020 UTM-PC Device Tree Source stub (no addresses or top-level ranges) 3 * 4 * Copyright 2012 Freescale Semiconductor Inc. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used to endorse or promote products 15 * derived from this software without specific prior written permission. 16 * 17 * 18 * ALTERNATIVELY, this software may be distributed under the terms of the 19 * GNU General Public License ("GPL") as published by the Free Software 20 * Foundation, either version 2 of that License or (at your option) any 21 * later version. 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 34 35&lbc { 36 nor@0,0 { 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 40 reg = <0x0 0x0 0x2000000>; 41 bank-width = <2>; 42 device-width = <1>; 43 44 partition@0 { 45 /* 256KB for DTB Image */ 46 reg = <0x0 0x00040000>; 47 label = "NOR DTB Image"; 48 }; 49 50 partition@40000 { 51 /* 3.75 MB for Linux Kernel Image */ 52 reg = <0x00040000 0x003c0000>; 53 label = "NOR Linux Kernel Image"; 54 }; 55 56 partition@400000 { 57 /* 27MB for Root file System */ 58 reg = <0x00400000 0x01b00000>; 59 label = "NOR Root File System"; 60 }; 61 62 partition@1f00000 { 63 /* This location must not be altered */ 64 /* 512KB for u-boot Bootloader Image */ 65 /* 512KB for u-boot Environment Variables */ 66 reg = <0x01f00000 0x00100000>; 67 label = "NOR U-Boot Image"; 68 read-only; 69 }; 70 }; 71}; 72 73&soc { 74 i2c@3000 { 75 rtc@68 { 76 compatible = "dallas,ds1339"; 77 reg = <0x68>; 78 }; 79 }; 80 81 mdio@24000 { 82 phy0: ethernet-phy@0 { 83 interrupts = <3 1 0 0>; 84 reg = <0x0>; 85 }; 86 phy1: ethernet-phy@1 { 87 interrupts = <2 1 0 0>; 88 reg = <0x1>; 89 }; 90 phy2: ethernet-phy@2 { 91 interrupts = <1 1 0 0>; 92 reg = <0x2>; 93 }; 94 }; 95 96 mdio@25000 { 97 tbi1: tbi-phy@11 { 98 reg = <0x11>; 99 device_type = "tbi-phy"; 100 }; 101 }; 102 103 mdio@26000 { 104 tbi2: tbi-phy@11 { 105 reg = <0x11>; 106 device_type = "tbi-phy"; 107 }; 108 }; 109 110 enet0: ethernet@b0000 { 111 phy-handle = <&phy2>; 112 phy-connection-type = "rgmii-id"; 113 }; 114 115 enet1: ethernet@b1000 { 116 phy-handle = <&phy0>; 117 tbi-handle = <&tbi1>; 118 phy-connection-type = "sgmii"; 119 }; 120 121 enet2: ethernet@b2000 { 122 phy-handle = <&phy1>; 123 phy-connection-type = "rgmii-id"; 124 }; 125 126 usb@22000 { 127 phy_type = "ulpi"; 128 }; 129 130 /* USB2 is shared with localbus, so it must be disabled 131 by default. We can't put 'status = "disabled";' here 132 since U-Boot doesn't clear the status property when 133 it enables USB2. OTOH, U-Boot does create a new node 134 when there isn't any. So, just comment it out. 135 */ 136 usb@23000 { 137 status = "disabled"; 138 phy_type = "ulpi"; 139 }; 140};