1 /* 2 * P1020 MBG-PC Device Tree Source stub (no ad 3 * 4 * Copyright 2012 Freescale Semiconductor Inc. 5 * 6 * Redistribution and use in source and binary 7 * modification, are permitted provided that t 8 * * Redistributions of source code must r 9 * notice, this list of conditions and t 10 * * Redistributions in binary form must r 11 * notice, this list of conditions and t 12 * documentation and/or other materials 13 * * Neither the name of Freescale Semicon 14 * names of its contributors may be used 15 * derived from this software without sp 16 * 17 * 18 * ALTERNATIVELY, this software may be distrib 19 * GNU General Public License ("GPL") as publi 20 * Foundation, either version 2 of that Licens 21 * later version. 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 33 */ 34 35 &lbc { 36 nor@0,0 { 37 #address-cells = <1>; 38 #size-cells = <1>; 39 compatible = "cfi-flash"; 40 reg = <0x0 0x0 0x4000000>; 41 bank-width = <2>; 42 device-width = <1>; 43 44 partition@0 { 45 /* 128KB for DTB Image 46 reg = <0x0 0x00020000> 47 label = "NOR DTB Image 48 }; 49 50 partition@20000 { 51 /* 3.875 MB for Linux 52 reg = <0x00020000 0x00 53 label = "NOR Linux Ker 54 }; 55 56 partition@400000 { 57 /* 58MB for Root file 58 reg = <0x00400000 0x03 59 label = "NOR Root File 60 }; 61 62 partition@3e00000 { 63 /* This location must 64 /* 1M for Vitesse 7385 65 reg = <0x3e00000 0x001 66 label = "NOR Vitesse-7 67 read-only; 68 }; 69 70 partition@3f00000 { 71 /* This location must 72 /* 512KB for u-boot Bo 73 /* 512KB for u-boot En 74 reg = <0x03f00000 0x00 75 label = "NOR U-Boot Im 76 read-only; 77 }; 78 }; 79 80 L2switch@2,0 { 81 #address-cells = <1>; 82 #size-cells = <1>; 83 compatible = "vitesse-7385"; 84 reg = <0x2 0x0 0x20000>; 85 }; 86 }; 87 88 &soc { 89 i2c@3000 { 90 rtc@68 { 91 compatible = "dallas,d 92 reg = <0x68>; 93 }; 94 }; 95 96 mdio@24000 { 97 phy0: ethernet-phy@0 { 98 interrupts = <3 1 0 0> 99 reg = <0x0>; 100 }; 101 phy1: ethernet-phy@1 { 102 interrupts = <2 1 0 0> 103 reg = <0x1>; 104 }; 105 }; 106 107 mdio@25000 { 108 tbi1: tbi-phy@11 { 109 reg = <0x11>; 110 device_type = "tbi-phy 111 }; 112 }; 113 114 mdio@26000 { 115 tbi2: tbi-phy@11 { 116 reg = <0x11>; 117 device_type = "tbi-phy 118 }; 119 }; 120 121 enet0: ethernet@b0000 { 122 fixed-link = <1 1 1000 0 0>; 123 phy-connection-type = "rgmii-i 124 }; 125 126 enet1: ethernet@b1000 { 127 phy-handle = <&phy0>; 128 tbi-handle = <&tbi1>; 129 phy-connection-type = "sgmii"; 130 }; 131 132 enet2: ethernet@b2000 { 133 phy-handle = <&phy1>; 134 phy-connection-type = "rgmii-i 135 }; 136 137 usb@22000 { 138 phy_type = "ulpi"; 139 }; 140 141 /* USB2 is shared with localbus, so it 142 by default. We can't put 'status = 143 since U-Boot doesn't clear the stat 144 it enables USB2. OTOH, U-Boot does 145 when there isn't any. So, just comm 146 */ 147 usb@23000 { 148 status = "disabled"; 149 phy_type = "ulpi"; 150 }; 151 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.