1 /* 2 * P1024 RDB Device Tree Source stub (no addre 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 0x1000000>; 41 bank-width = <2>; 42 device-width = <1>; 43 44 partition@0 { 45 /* This location must 46 /* 256KB for Vitesse 7 47 reg = <0x0 0x00040000> 48 label = "NOR Vitesse-7 49 read-only; 50 }; 51 52 partition@40000 { 53 /* 256KB for DTB Image 54 reg = <0x00040000 0x00 55 label = "NOR DTB Image 56 }; 57 58 partition@80000 { 59 /* 3.5 MB for Linux Ke 60 reg = <0x00080000 0x00 61 label = "NOR Linux Ker 62 }; 63 64 partition@400000 { 65 /* 11MB for JFFS2 base 66 reg = <0x00400000 0x00 67 label = "NOR JFFS2 Roo 68 }; 69 70 partition@f00000 { 71 /* This location must 72 /* 512KB for u-boot Bo 73 /* 512KB for u-boot En 74 reg = <0x00f00000 0x00 75 label = "NOR U-Boot Im 76 read-only; 77 }; 78 }; 79 80 nand@1,0 { 81 #address-cells = <1>; 82 #size-cells = <1>; 83 compatible = "fsl,p1020-fcm-na 84 "fsl,elbc-fcm 85 reg = <0x1 0x0 0x40000>; 86 87 partition@0 { 88 /* This location must 89 /* 1MB for u-boot Boot 90 reg = <0x0 0x00100000> 91 label = "NAND U-Boot I 92 read-only; 93 }; 94 95 partition@100000 { 96 /* 1MB for DTB Image * 97 reg = <0x00100000 0x00 98 label = "NAND DTB Imag 99 }; 100 101 partition@200000 { 102 /* 4MB for Linux Kerne 103 reg = <0x00200000 0x00 104 label = "NAND Linux Ke 105 }; 106 107 partition@600000 { 108 /* 4MB for Compressed 109 reg = <0x00600000 0x00 110 label = "NAND Compress 111 }; 112 113 partition@a00000 { 114 /* 15MB for JFFS2 base 115 reg = <0x00a00000 0x00 116 label = "NAND JFFS2 Ro 117 }; 118 119 partition@1900000 { 120 /* 7MB for User Writab 121 reg = <0x01900000 0x00 122 label = "NAND Writable 123 }; 124 }; 125 }; 126 127 &soc { 128 spi@7000 { 129 flash@0 { 130 #address-cells = <1>; 131 #size-cells = <1>; 132 compatible = "spansion 133 reg = <0>; 134 spi-max-frequency = <4 135 136 partition@0 { 137 /* 512KB for u 138 reg = <0x0 0x0 139 label = "SPI U 140 read-only; 141 }; 142 143 partition@80000 { 144 /* 512KB for D 145 reg = <0x00080 146 label = "SPI D 147 }; 148 149 partition@100000 { 150 /* 4MB for Lin 151 reg = <0x00100 152 label = "SPI L 153 }; 154 155 partition@500000 { 156 /* 4MB for Com 157 reg = <0x00500 158 label = "SPI C 159 }; 160 161 partition@900000 { 162 /* 7MB for JFF 163 reg = <0x00900 164 label = "SPI J 165 }; 166 }; 167 }; 168 169 i2c@3000 { 170 rtc@68 { 171 compatible = "dallas,d 172 reg = <0x68>; 173 }; 174 }; 175 176 usb@22000 { 177 phy_type = "ulpi"; 178 }; 179 180 usb@23000 { 181 status = "disabled"; 182 }; 183 184 mdio@24000 { 185 phy0: ethernet-phy@0 { 186 interrupts = <3 1 0 0> 187 reg = <0x0>; 188 }; 189 phy1: ethernet-phy@1 { 190 interrupts = <2 1 0 0> 191 reg = <0x1>; 192 }; 193 phy2: ethernet-phy@2 { 194 interrupts = <1 1 0 0> 195 reg = <0x2>; 196 }; 197 }; 198 199 mdio@25000 { 200 tbi0: tbi-phy@11 { 201 reg = <0x11>; 202 device_type = "tbi-phy 203 }; 204 }; 205 206 mdio@26000 { 207 tbi1: tbi-phy@11 { 208 reg = <0x11>; 209 device_type = "tbi-phy 210 }; 211 }; 212 213 ethernet@b0000 { 214 phy-handle = <&phy2>; 215 phy-connection-type = "rgmii-i 216 }; 217 218 ethernet@b1000 { 219 phy-handle = <&phy0>; 220 tbi-handle = <&tbi0>; 221 phy-connection-type = "sgmii"; 222 }; 223 224 ethernet@b2000 { 225 phy-handle = <&phy1>; 226 phy-connection-type = "rgmii-i 227 }; 228 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.