1 /* 1 /* 2 * P2041RDB Device Tree Source 2 * P2041RDB Device Tree Source 3 * 3 * 4 * Copyright 2011 - 2015 Freescale Semiconduct 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 5 * 5 * 6 * Redistribution and use in source and binary 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that t 7 * modification, are permitted provided that the following conditions are met: 8 * * Redistributions of source code must r 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and t 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must r 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and t 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Freescale Semicon 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used 14 * names of its contributors may be used to endorse or promote products 15 * derived from this software without sp 15 * derived from this software without specific prior written permission. 16 * 16 * 17 * 17 * 18 * ALTERNATIVELY, this software may be distrib 18 * ALTERNATIVELY, this software may be distributed under the terms of the 19 * GNU General Public License ("GPL") as publi 19 * GNU General Public License ("GPL") as published by the Free Software 20 * Foundation, either version 2 of that Licens 20 * Foundation, either version 2 of that License or (at your option) any 21 * later version. 21 * later version. 22 * 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 33 */ 34 34 35 /include/ "p2041si-pre.dtsi" 35 /include/ "p2041si-pre.dtsi" 36 36 37 / { 37 / { 38 model = "fsl,P2041RDB"; 38 model = "fsl,P2041RDB"; 39 compatible = "fsl,P2041RDB"; 39 compatible = "fsl,P2041RDB"; 40 #address-cells = <2>; 40 #address-cells = <2>; 41 #size-cells = <2>; 41 #size-cells = <2>; 42 interrupt-parent = <&mpic>; 42 interrupt-parent = <&mpic>; 43 43 44 aliases { 44 aliases { 45 phy_rgmii_0 = &phy_rgmii_0; 45 phy_rgmii_0 = &phy_rgmii_0; 46 phy_rgmii_1 = &phy_rgmii_1; 46 phy_rgmii_1 = &phy_rgmii_1; 47 phy_sgmii_2 = &phy_sgmii_2; 47 phy_sgmii_2 = &phy_sgmii_2; 48 phy_sgmii_3 = &phy_sgmii_3; 48 phy_sgmii_3 = &phy_sgmii_3; 49 phy_sgmii_4 = &phy_sgmii_4; 49 phy_sgmii_4 = &phy_sgmii_4; 50 phy_sgmii_1c = &phy_sgmii_1c; 50 phy_sgmii_1c = &phy_sgmii_1c; 51 phy_sgmii_1d = &phy_sgmii_1d; 51 phy_sgmii_1d = &phy_sgmii_1d; 52 phy_sgmii_1e = &phy_sgmii_1e; 52 phy_sgmii_1e = &phy_sgmii_1e; 53 phy_sgmii_1f = &phy_sgmii_1f; 53 phy_sgmii_1f = &phy_sgmii_1f; 54 phy_xgmii_2 = &phy_xgmii_2; 54 phy_xgmii_2 = &phy_xgmii_2; 55 }; 55 }; 56 56 57 memory { 57 memory { 58 device_type = "memory"; 58 device_type = "memory"; 59 }; 59 }; 60 60 61 reserved-memory { 61 reserved-memory { 62 #address-cells = <2>; 62 #address-cells = <2>; 63 #size-cells = <2>; 63 #size-cells = <2>; 64 ranges; 64 ranges; 65 65 66 bman_fbpr: bman-fbpr { 66 bman_fbpr: bman-fbpr { 67 size = <0 0x1000000>; 67 size = <0 0x1000000>; 68 alignment = <0 0x10000 68 alignment = <0 0x1000000>; 69 }; 69 }; 70 qman_fqd: qman-fqd { 70 qman_fqd: qman-fqd { 71 size = <0 0x400000>; 71 size = <0 0x400000>; 72 alignment = <0 0x40000 72 alignment = <0 0x400000>; 73 }; 73 }; 74 qman_pfdr: qman-pfdr { 74 qman_pfdr: qman-pfdr { 75 size = <0 0x2000000>; 75 size = <0 0x2000000>; 76 alignment = <0 0x20000 76 alignment = <0 0x2000000>; 77 }; 77 }; 78 }; 78 }; 79 79 80 dcsr: dcsr@f00000000 { 80 dcsr: dcsr@f00000000 { 81 ranges = <0x00000000 0xf 0x000 81 ranges = <0x00000000 0xf 0x00000000 0x01008000>; 82 }; 82 }; 83 83 84 bportals: bman-portals@ff4000000 { 84 bportals: bman-portals@ff4000000 { 85 ranges = <0x0 0xf 0xf4000000 0 85 ranges = <0x0 0xf 0xf4000000 0x200000>; 86 }; 86 }; 87 87 88 qportals: qman-portals@ff4200000 { 88 qportals: qman-portals@ff4200000 { 89 ranges = <0x0 0xf 0xf4200000 0 89 ranges = <0x0 0xf 0xf4200000 0x200000>; 90 }; 90 }; 91 91 92 soc: soc@ffe000000 { 92 soc: soc@ffe000000 { 93 ranges = <0x00000000 0xf 0xfe0 93 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 94 reg = <0xf 0xfe000000 0 0x0000 94 reg = <0xf 0xfe000000 0 0x00001000>; 95 spi@110000 { 95 spi@110000 { 96 flash@0 { 96 flash@0 { 97 #address-cells 97 #address-cells = <1>; 98 #size-cells = 98 #size-cells = <1>; 99 compatible = " 99 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 100 reg = <0>; 100 reg = <0>; 101 spi-max-freque 101 spi-max-frequency = <40000000>; /* input clock */ 102 partition@u-bo 102 partition@u-boot { 103 label 103 label = "u-boot"; 104 reg = 104 reg = <0x00000000 0x00100000>; 105 read-o 105 read-only; 106 }; 106 }; 107 partition@kern 107 partition@kernel { 108 label 108 label = "kernel"; 109 reg = 109 reg = <0x00100000 0x00500000>; 110 read-o 110 read-only; 111 }; 111 }; 112 partition@dtb 112 partition@dtb { 113 label 113 label = "dtb"; 114 reg = 114 reg = <0x00600000 0x00100000>; 115 read-o 115 read-only; 116 }; 116 }; 117 partition@fs { 117 partition@fs { 118 label 118 label = "file system"; 119 reg = 119 reg = <0x00700000 0x00900000>; 120 }; 120 }; 121 }; 121 }; 122 }; 122 }; 123 123 124 i2c@118000 { 124 i2c@118000 { 125 lm75b@48 { 125 lm75b@48 { 126 compatible = " 126 compatible = "nxp,lm75a"; 127 reg = <0x48>; 127 reg = <0x48>; 128 }; 128 }; 129 eeprom@50 { 129 eeprom@50 { 130 compatible = " !! 130 compatible = "at24,24c256"; 131 reg = <0x50>; 131 reg = <0x50>; 132 }; 132 }; 133 rtc@68 { 133 rtc@68 { 134 compatible = " 134 compatible = "pericom,pt7c4338"; 135 reg = <0x68>; 135 reg = <0x68>; 136 }; 136 }; 137 adt7461@4c { 137 adt7461@4c { 138 compatible = " 138 compatible = "adi,adt7461"; 139 reg = <0x4c>; 139 reg = <0x4c>; 140 }; 140 }; 141 }; 141 }; 142 142 143 i2c@118100 { 143 i2c@118100 { 144 eeprom@50 { 144 eeprom@50 { 145 compatible = " !! 145 compatible = "at24,24c256"; 146 reg = <0x50>; 146 reg = <0x50>; 147 }; 147 }; 148 }; 148 }; 149 149 150 usb1: usb@211000 { 150 usb1: usb@211000 { 151 dr_mode = "host"; 151 dr_mode = "host"; 152 }; 152 }; 153 153 154 fman@400000 { 154 fman@400000 { 155 ethernet@e0000 { 155 ethernet@e0000 { 156 phy-handle = < 156 phy-handle = <&phy_sgmii_2>; 157 phy-connection 157 phy-connection-type = "sgmii"; 158 }; 158 }; 159 159 160 mdio@e1120 { 160 mdio@e1120 { 161 phy_rgmii_0: e 161 phy_rgmii_0: ethernet-phy@0 { 162 reg = 162 reg = <0x0>; 163 }; 163 }; 164 164 165 phy_rgmii_1: e 165 phy_rgmii_1: ethernet-phy@1 { 166 reg = 166 reg = <0x1>; 167 }; 167 }; 168 168 169 phy_sgmii_2: e 169 phy_sgmii_2: ethernet-phy@2 { 170 reg = 170 reg = <0x2>; 171 }; 171 }; 172 172 173 phy_sgmii_3: e 173 phy_sgmii_3: ethernet-phy@3 { 174 reg = 174 reg = <0x3>; 175 }; 175 }; 176 176 177 phy_sgmii_4: e 177 phy_sgmii_4: ethernet-phy@4 { 178 reg = 178 reg = <0x4>; 179 }; 179 }; 180 180 181 phy_sgmii_1c: 181 phy_sgmii_1c: ethernet-phy@1c { 182 reg = 182 reg = <0x1c>; 183 }; 183 }; 184 184 185 phy_sgmii_1d: 185 phy_sgmii_1d: ethernet-phy@1d { 186 reg = 186 reg = <0x1d>; 187 }; 187 }; 188 188 189 phy_sgmii_1e: 189 phy_sgmii_1e: ethernet-phy@1e { 190 reg = 190 reg = <0x1e>; 191 }; 191 }; 192 192 193 phy_sgmii_1f: 193 phy_sgmii_1f: ethernet-phy@1f { 194 reg = 194 reg = <0x1f>; 195 }; 195 }; 196 }; 196 }; 197 197 198 ethernet@e2000 { 198 ethernet@e2000 { 199 phy-handle = < 199 phy-handle = <&phy_sgmii_3>; 200 phy-connection 200 phy-connection-type = "sgmii"; 201 }; 201 }; 202 202 203 ethernet@e4000 { 203 ethernet@e4000 { 204 phy-handle = < 204 phy-handle = <&phy_sgmii_4>; 205 phy-connection 205 phy-connection-type = "sgmii"; 206 }; 206 }; 207 207 208 ethernet@e6000 { 208 ethernet@e6000 { 209 phy-handle = < 209 phy-handle = <&phy_rgmii_1>; 210 phy-connection 210 phy-connection-type = "rgmii"; 211 }; 211 }; 212 212 213 ethernet@e8000 { 213 ethernet@e8000 { 214 phy-handle = < 214 phy-handle = <&phy_rgmii_0>; 215 phy-connection 215 phy-connection-type = "rgmii"; 216 }; 216 }; 217 217 218 ethernet@f0000 { 218 ethernet@f0000 { 219 phy-handle = < 219 phy-handle = <&phy_xgmii_2>; 220 phy-connection 220 phy-connection-type = "xgmii"; 221 }; 221 }; 222 222 223 mdio@f1000 { 223 mdio@f1000 { 224 phy_xgmii_2: e 224 phy_xgmii_2: ethernet-phy@0 { 225 compat 225 compatible = "ethernet-phy-ieee802.3-c45"; 226 reg = 226 reg = <0x0>; 227 }; 227 }; 228 }; 228 }; 229 }; 229 }; 230 }; 230 }; 231 231 232 rio: rapidio@ffe0c0000 { 232 rio: rapidio@ffe0c0000 { 233 reg = <0xf 0xfe0c0000 0 0x1100 233 reg = <0xf 0xfe0c0000 0 0x11000>; 234 234 235 port1 { 235 port1 { 236 ranges = <0 0 0xc 0x20 236 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 237 }; 237 }; 238 port2 { 238 port2 { 239 ranges = <0 0 0xc 0x30 239 ranges = <0 0 0xc 0x30000000 0 0x10000000>; 240 }; 240 }; 241 }; 241 }; 242 242 243 lbc: localbus@ffe124000 { 243 lbc: localbus@ffe124000 { 244 reg = <0xf 0xfe124000 0 0x1000 244 reg = <0xf 0xfe124000 0 0x1000>; 245 ranges = <0 0 0xf 0xe8000000 0 245 ranges = <0 0 0xf 0xe8000000 0x08000000 246 1 0 0xf 0xffa00000 0 246 1 0 0xf 0xffa00000 0x00040000>; 247 247 248 flash@0,0 { 248 flash@0,0 { 249 compatible = "cfi-flas 249 compatible = "cfi-flash"; 250 reg = <0 0 0x08000000> 250 reg = <0 0 0x08000000>; 251 bank-width = <2>; 251 bank-width = <2>; 252 device-width = <2>; 252 device-width = <2>; 253 }; 253 }; 254 254 255 nand@1,0 { 255 nand@1,0 { 256 #address-cells = <1>; 256 #address-cells = <1>; 257 #size-cells = <1>; 257 #size-cells = <1>; 258 compatible = "fsl,elbc 258 compatible = "fsl,elbc-fcm-nand"; 259 reg = <0x1 0x0 0x40000 259 reg = <0x1 0x0 0x40000>; 260 260 261 partition@0 { 261 partition@0 { 262 label = "NAND 262 label = "NAND U-Boot Image"; 263 reg = <0x0 0x0 263 reg = <0x0 0x02000000>; 264 read-only; 264 read-only; 265 }; 265 }; 266 266 267 partition@2000000 { 267 partition@2000000 { 268 label = "NAND 268 label = "NAND Root File System"; 269 reg = <0x02000 269 reg = <0x02000000 0x10000000>; 270 }; 270 }; 271 271 272 partition@12000000 { 272 partition@12000000 { 273 label = "NAND 273 label = "NAND Compressed RFS Image"; 274 reg = <0x12000 274 reg = <0x12000000 0x08000000>; 275 }; 275 }; 276 276 277 partition@1a000000 { 277 partition@1a000000 { 278 label = "NAND 278 label = "NAND Linux Kernel Image"; 279 reg = <0x1a000 279 reg = <0x1a000000 0x04000000>; 280 }; 280 }; 281 281 282 partition@1e000000 { 282 partition@1e000000 { 283 label = "NAND 283 label = "NAND DTB Image"; 284 reg = <0x1e000 284 reg = <0x1e000000 0x01000000>; 285 }; 285 }; 286 286 287 partition@1f000000 { 287 partition@1f000000 { 288 label = "NAND 288 label = "NAND Writable User area"; 289 reg = <0x1f000 289 reg = <0x1f000000 0x01000000>; 290 }; 290 }; 291 }; 291 }; 292 }; 292 }; 293 293 294 pci0: pcie@ffe200000 { 294 pci0: pcie@ffe200000 { 295 reg = <0xf 0xfe200000 0 0x1000 295 reg = <0xf 0xfe200000 0 0x1000>; 296 ranges = <0x02000000 0 0xe0000 296 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 297 0x01000000 0 0x00000 297 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 298 pcie@0 { 298 pcie@0 { 299 ranges = <0x02000000 0 299 ranges = <0x02000000 0 0xe0000000 300 0x02000000 0 300 0x02000000 0 0xe0000000 301 0 0x20000000 301 0 0x20000000 302 302 303 0x01000000 0 303 0x01000000 0 0x00000000 304 0x01000000 0 304 0x01000000 0 0x00000000 305 0 0x00010000 305 0 0x00010000>; 306 }; 306 }; 307 }; 307 }; 308 308 309 pci1: pcie@ffe201000 { 309 pci1: pcie@ffe201000 { 310 reg = <0xf 0xfe201000 0 0x1000 310 reg = <0xf 0xfe201000 0 0x1000>; 311 ranges = <0x02000000 0x0 0xe00 311 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 312 0x01000000 0x0 0x000 312 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 313 pcie@0 { 313 pcie@0 { 314 ranges = <0x02000000 0 314 ranges = <0x02000000 0 0xe0000000 315 0x02000000 0 315 0x02000000 0 0xe0000000 316 0 0x20000000 316 0 0x20000000 317 317 318 0x01000000 0 318 0x01000000 0 0x00000000 319 0x01000000 0 319 0x01000000 0 0x00000000 320 0 0x00010000 320 0 0x00010000>; 321 }; 321 }; 322 }; 322 }; 323 323 324 pci2: pcie@ffe202000 { 324 pci2: pcie@ffe202000 { 325 reg = <0xf 0xfe202000 0 0x1000 325 reg = <0xf 0xfe202000 0 0x1000>; 326 ranges = <0x02000000 0 0xe0000 326 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 327 0x01000000 0 0x00000 327 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 328 pcie@0 { 328 pcie@0 { 329 ranges = <0x02000000 0 329 ranges = <0x02000000 0 0xe0000000 330 0x02000000 0 330 0x02000000 0 0xe0000000 331 0 0x20000000 331 0 0x20000000 332 332 333 0x01000000 0 333 0x01000000 0 0x00000000 334 0x01000000 0 334 0x01000000 0 0x00000000 335 0 0x00010000 335 0 0x00010000>; 336 }; 336 }; 337 }; 337 }; 338 }; 338 }; 339 339 340 /include/ "p2041si-post.dtsi" 340 /include/ "p2041si-post.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.