1 /* 1 /* 2 * T104xQDS Device Tree Source 2 * T104xQDS Device Tree Source 3 * 3 * 4 * Copyright 2013 - 2015 Freescale Semiconduct 4 * Copyright 2013 - 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 / { 35 / { 36 model = "fsl,T1040QDS"; 36 model = "fsl,T1040QDS"; 37 #address-cells = <2>; 37 #address-cells = <2>; 38 #size-cells = <2>; 38 #size-cells = <2>; 39 interrupt-parent = <&mpic>; 39 interrupt-parent = <&mpic>; 40 40 41 aliases { 41 aliases { 42 emi1_rgmii0 = &t1040mdio0; 42 emi1_rgmii0 = &t1040mdio0; 43 emi1_rgmii1 = &t1040mdio1; 43 emi1_rgmii1 = &t1040mdio1; 44 emi1_slot3 = &t1040mdio3; 44 emi1_slot3 = &t1040mdio3; 45 emi1_slot5 = &t1040mdio5; 45 emi1_slot5 = &t1040mdio5; 46 emi1_slot6 = &t1040mdio6; 46 emi1_slot6 = &t1040mdio6; 47 emi1_slot7 = &t1040mdio7; 47 emi1_slot7 = &t1040mdio7; 48 rgmii_phy1 = &rgmii_phy1; 48 rgmii_phy1 = &rgmii_phy1; 49 rgmii_phy2 = &rgmii_phy2; 49 rgmii_phy2 = &rgmii_phy2; 50 phy_s3_01 = &phy_s3_01; 50 phy_s3_01 = &phy_s3_01; 51 phy_s3_02 = &phy_s3_02; 51 phy_s3_02 = &phy_s3_02; 52 phy_s3_03 = &phy_s3_03; 52 phy_s3_03 = &phy_s3_03; 53 phy_s3_04 = &phy_s3_04; 53 phy_s3_04 = &phy_s3_04; 54 phy_s5_01 = &phy_s5_01; 54 phy_s5_01 = &phy_s5_01; 55 phy_s5_02 = &phy_s5_02; 55 phy_s5_02 = &phy_s5_02; 56 phy_s5_03 = &phy_s5_03; 56 phy_s5_03 = &phy_s5_03; 57 phy_s5_04 = &phy_s5_04; 57 phy_s5_04 = &phy_s5_04; 58 phy_s6_01 = &phy_s6_01; 58 phy_s6_01 = &phy_s6_01; 59 phy_s6_02 = &phy_s6_02; 59 phy_s6_02 = &phy_s6_02; 60 phy_s6_03 = &phy_s6_03; 60 phy_s6_03 = &phy_s6_03; 61 phy_s6_04 = &phy_s6_04; 61 phy_s6_04 = &phy_s6_04; 62 phy_s7_01 = &phy_s7_01; 62 phy_s7_01 = &phy_s7_01; 63 phy_s7_02 = &phy_s7_02; 63 phy_s7_02 = &phy_s7_02; 64 phy_s7_03 = &phy_s7_03; 64 phy_s7_03 = &phy_s7_03; 65 phy_s7_04 = &phy_s7_04; 65 phy_s7_04 = &phy_s7_04; 66 }; 66 }; 67 67 68 reserved-memory { 68 reserved-memory { 69 #address-cells = <2>; 69 #address-cells = <2>; 70 #size-cells = <2>; 70 #size-cells = <2>; 71 ranges; 71 ranges; 72 72 73 bman_fbpr: bman-fbpr { 73 bman_fbpr: bman-fbpr { 74 size = <0 0x1000000>; 74 size = <0 0x1000000>; 75 alignment = <0 0x10000 75 alignment = <0 0x1000000>; 76 }; 76 }; 77 qman_fqd: qman-fqd { 77 qman_fqd: qman-fqd { 78 size = <0 0x400000>; 78 size = <0 0x400000>; 79 alignment = <0 0x40000 79 alignment = <0 0x400000>; 80 }; 80 }; 81 qman_pfdr: qman-pfdr { 81 qman_pfdr: qman-pfdr { 82 size = <0 0x2000000>; 82 size = <0 0x2000000>; 83 alignment = <0 0x20000 83 alignment = <0 0x2000000>; 84 }; 84 }; 85 }; 85 }; 86 86 87 ifc: localbus@ffe124000 { 87 ifc: localbus@ffe124000 { 88 reg = <0xf 0xfe124000 0 0x2000 88 reg = <0xf 0xfe124000 0 0x2000>; 89 ranges = <0 0 0xf 0xe8000000 0 89 ranges = <0 0 0xf 0xe8000000 0x08000000 90 2 0 0xf 0xff800000 0 90 2 0 0xf 0xff800000 0x00010000 91 3 0 0xf 0xffdf0000 0 91 3 0 0xf 0xffdf0000 0x00008000>; 92 92 93 nor@0,0 { 93 nor@0,0 { 94 #address-cells = <1>; 94 #address-cells = <1>; 95 #size-cells = <1>; 95 #size-cells = <1>; 96 compatible = "cfi-flas 96 compatible = "cfi-flash"; 97 reg = <0x0 0x0 0x80000 97 reg = <0x0 0x0 0x8000000>; 98 98 99 bank-width = <2>; 99 bank-width = <2>; 100 device-width = <1>; 100 device-width = <1>; 101 }; 101 }; 102 102 103 nand@2,0 { 103 nand@2,0 { 104 #address-cells = <1>; 104 #address-cells = <1>; 105 #size-cells = <1>; 105 #size-cells = <1>; 106 compatible = "fsl,ifc- 106 compatible = "fsl,ifc-nand"; 107 reg = <0x2 0x0 0x10000 107 reg = <0x2 0x0 0x10000>; 108 }; 108 }; 109 109 110 board-control@3,0 { 110 board-control@3,0 { 111 #address-cells = <1>; 111 #address-cells = <1>; 112 #size-cells = <1>; 112 #size-cells = <1>; 113 compatible = "fsl,fpga 113 compatible = "fsl,fpga-qixis"; 114 reg = <3 0 0x300>; 114 reg = <3 0 0x300>; 115 ranges = <0 3 0 0x300> 115 ranges = <0 3 0 0x300>; 116 116 117 mdio-mux-emi1 { 117 mdio-mux-emi1 { 118 #address-cells 118 #address-cells = <1>; 119 #size-cells = 119 #size-cells = <0>; 120 compatible = " 120 compatible = "mdio-mux-mmioreg", "mdio-mux"; 121 mdio-parent-bu 121 mdio-parent-bus = <&mdio0>; 122 reg = <0x54 1> 122 reg = <0x54 1>; 123 mux-mask = <0x 123 mux-mask = <0xe0>; 124 124 125 t1040mdio0: md 125 t1040mdio0: mdio@0 { 126 #addre 126 #address-cells = <1>; 127 #size- 127 #size-cells = <0>; 128 reg = 128 reg = <0x00>; 129 status 129 status = "disabled"; 130 130 131 rgmii_ 131 rgmii_phy1: ethernet-phy@1 { 132 132 reg = <0x1>; 133 }; 133 }; 134 }; 134 }; 135 135 136 t1040mdio1: md 136 t1040mdio1: mdio@20 { 137 #addre 137 #address-cells = <1>; 138 #size- 138 #size-cells = <0>; 139 reg = 139 reg = <0x20>; 140 status 140 status = "disabled"; 141 141 142 rgmii_ 142 rgmii_phy2: ethernet-phy@2 { 143 143 reg = <0x2>; 144 }; 144 }; 145 }; 145 }; 146 146 147 t1040mdio3: md 147 t1040mdio3: mdio@60 { 148 #addre 148 #address-cells = <1>; 149 #size- 149 #size-cells = <0>; 150 reg = 150 reg = <0x60>; 151 status 151 status = "disabled"; 152 152 153 phy_s3 153 phy_s3_01: ethernet-phy@1c { 154 154 reg = <0x1c>; 155 }; 155 }; 156 156 157 phy_s3 157 phy_s3_02: ethernet-phy@1d { 158 158 reg = <0x1d>; 159 }; 159 }; 160 160 161 phy_s3 161 phy_s3_03: ethernet-phy@1e { 162 162 reg = <0x1e>; 163 }; 163 }; 164 164 165 phy_s3 165 phy_s3_04: ethernet-phy@1f { 166 166 reg = <0x1f>; 167 }; 167 }; 168 }; 168 }; 169 169 170 t1040mdio5: md 170 t1040mdio5: mdio@a0 { 171 #addre 171 #address-cells = <1>; 172 #size- 172 #size-cells = <0>; 173 reg = 173 reg = <0xa0>; 174 174 175 phy_s5 175 phy_s5_01: ethernet-phy@1c { 176 176 reg = <0x14>; 177 }; 177 }; 178 178 179 phy_s5 179 phy_s5_02: ethernet-phy@1d { 180 180 reg = <0x15>; 181 }; 181 }; 182 182 183 phy_s5 183 phy_s5_03: ethernet-phy@1e { 184 184 reg = <0x16>; 185 }; 185 }; 186 186 187 phy_s5 187 phy_s5_04: ethernet-phy@1f { 188 188 reg = <0x17>; 189 }; 189 }; 190 }; 190 }; 191 191 192 t1040mdio6: md 192 t1040mdio6: mdio@c0 { 193 #addre 193 #address-cells = <1>; 194 #size- 194 #size-cells = <0>; 195 reg = 195 reg = <0xc0>; 196 196 197 phy_s6 197 phy_s6_01: ethernet-phy@1c { 198 198 reg = <0x18>; 199 }; 199 }; 200 200 201 phy_s6 201 phy_s6_02: ethernet-phy@1d { 202 202 reg = <0x19>; 203 }; 203 }; 204 204 205 phy_s6 205 phy_s6_03: ethernet-phy@1e { 206 206 reg = <0x1a>; 207 }; 207 }; 208 208 209 phy_s6 209 phy_s6_04: ethernet-phy@1f { 210 210 reg = <0x1b>; 211 }; 211 }; 212 }; 212 }; 213 213 214 t1040mdio7: md 214 t1040mdio7: mdio@e0 { 215 #addre 215 #address-cells = <1>; 216 #size- 216 #size-cells = <0>; 217 reg = 217 reg = <0xe0>; 218 status 218 status = "disabled"; 219 219 220 phy_s7 220 phy_s7_01: ethernet-phy@1c { 221 221 reg = <0x1c>; 222 }; 222 }; 223 223 224 phy_s7 224 phy_s7_02: ethernet-phy@1d { 225 225 reg = <0x1d>; 226 }; 226 }; 227 227 228 phy_s7 228 phy_s7_03: ethernet-phy@1e { 229 229 reg = <0x1e>; 230 }; 230 }; 231 231 232 phy_s7 232 phy_s7_04: ethernet-phy@1f { 233 233 reg = <0x1f>; 234 }; 234 }; 235 }; 235 }; 236 }; 236 }; 237 }; 237 }; 238 }; 238 }; 239 239 240 memory { 240 memory { 241 device_type = "memory"; 241 device_type = "memory"; 242 }; 242 }; 243 243 244 dcsr: dcsr@f00000000 { 244 dcsr: dcsr@f00000000 { 245 ranges = <0x00000000 0xf 0x000 245 ranges = <0x00000000 0xf 0x00000000 0x01072000>; 246 }; 246 }; 247 247 248 bportals: bman-portals@ff4000000 { 248 bportals: bman-portals@ff4000000 { 249 ranges = <0x0 0xf 0xf4000000 0 249 ranges = <0x0 0xf 0xf4000000 0x2000000>; 250 }; 250 }; 251 251 252 qportals: qman-portals@ff6000000 { 252 qportals: qman-portals@ff6000000 { 253 ranges = <0x0 0xf 0xf6000000 0 253 ranges = <0x0 0xf 0xf6000000 0x2000000>; 254 }; 254 }; 255 255 256 soc: soc@ffe000000 { 256 soc: soc@ffe000000 { 257 ranges = <0x00000000 0xf 0xfe0 257 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 258 reg = <0xf 0xfe000000 0 0x0000 258 reg = <0xf 0xfe000000 0 0x00001000>; 259 259 260 spi@110000 { 260 spi@110000 { 261 flash@0 { 261 flash@0 { 262 #address-cells 262 #address-cells = <1>; 263 #size-cells = 263 #size-cells = <1>; 264 compatible = " 264 compatible = "micron,n25q128a11", "jedec,spi-nor"; 265 reg = <0>; 265 reg = <0>; 266 spi-max-freque 266 spi-max-frequency = <10000000>; /* input clock */ 267 }; 267 }; 268 }; 268 }; 269 269 270 i2c@118000 { 270 i2c@118000 { 271 i2c-mux@77 { 271 i2c-mux@77 { 272 compatible = " 272 compatible = "nxp,pca9547"; 273 reg = <0x77>; 273 reg = <0x77>; 274 }; 274 }; 275 rtc@68 { 275 rtc@68 { 276 compatible = " 276 compatible = "dallas,ds3232"; 277 reg = <0x68>; 277 reg = <0x68>; 278 interrupts = < 278 interrupts = <0x1 0x1 0 0>; 279 }; 279 }; 280 }; 280 }; 281 281 282 fman@400000 { 282 fman@400000 { 283 ethernet@e0000 { 283 ethernet@e0000 { 284 fixed-link = < 284 fixed-link = <0 1 1000 0 0>; 285 phy-connection 285 phy-connection-type = "sgmii"; 286 }; 286 }; 287 287 288 ethernet@e2000 { 288 ethernet@e2000 { 289 fixed-link = < 289 fixed-link = <1 1 1000 0 0>; 290 phy-connection 290 phy-connection-type = "sgmii"; 291 }; 291 }; 292 292 293 ethernet@e4000 { 293 ethernet@e4000 { 294 phy-handle = < 294 phy-handle = <&phy_s7_03>; 295 phy-connection 295 phy-connection-type = "sgmii"; 296 }; 296 }; 297 297 298 ethernet@e6000 { 298 ethernet@e6000 { 299 phy-handle = < 299 phy-handle = <&rgmii_phy1>; 300 phy-connection 300 phy-connection-type = "rgmii"; 301 }; 301 }; 302 302 303 ethernet@e8000 { 303 ethernet@e8000 { 304 phy-handle = < 304 phy-handle = <&rgmii_phy2>; 305 phy-connection 305 phy-connection-type = "rgmii"; 306 }; 306 }; 307 }; 307 }; 308 }; 308 }; 309 309 310 pci0: pcie@ffe240000 { 310 pci0: pcie@ffe240000 { 311 reg = <0xf 0xfe240000 0 0x1000 311 reg = <0xf 0xfe240000 0 0x10000>; 312 ranges = <0x02000000 0 0xe0000 312 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x10000000 313 0x01000000 0 0x00000 313 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 314 pcie@0 { 314 pcie@0 { 315 ranges = <0x02000000 0 315 ranges = <0x02000000 0 0xe0000000 316 0x02000000 0 316 0x02000000 0 0xe0000000 317 0 0x10000000 317 0 0x10000000 318 318 319 0x01000000 0 319 0x01000000 0 0x00000000 320 0x01000000 0 320 0x01000000 0 0x00000000 321 0 0x00010000 321 0 0x00010000>; 322 }; 322 }; 323 }; 323 }; 324 324 325 pci1: pcie@ffe250000 { 325 pci1: pcie@ffe250000 { 326 reg = <0xf 0xfe250000 0 0x1000 326 reg = <0xf 0xfe250000 0 0x10000>; 327 ranges = <0x02000000 0x0 0xe00 327 ranges = <0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000 328 0x01000000 0x0 0x000 328 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 329 pcie@0 { 329 pcie@0 { 330 ranges = <0x02000000 0 330 ranges = <0x02000000 0 0xe0000000 331 0x02000000 0 331 0x02000000 0 0xe0000000 332 0 0x10000000 332 0 0x10000000 333 333 334 0x01000000 0 334 0x01000000 0 0x00000000 335 0x01000000 0 335 0x01000000 0 0x00000000 336 0 0x00010000 336 0 0x00010000>; 337 }; 337 }; 338 }; 338 }; 339 339 340 pci2: pcie@ffe260000 { 340 pci2: pcie@ffe260000 { 341 reg = <0xf 0xfe260000 0 0x1000 341 reg = <0xf 0xfe260000 0 0x10000>; 342 ranges = <0x02000000 0 0xe0000 342 ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 343 0x01000000 0 0x00000 343 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 344 pcie@0 { 344 pcie@0 { 345 ranges = <0x02000000 0 345 ranges = <0x02000000 0 0xe0000000 346 0x02000000 0 346 0x02000000 0 0xe0000000 347 0 0x10000000 347 0 0x10000000 348 348 349 0x01000000 0 349 0x01000000 0 0x00000000 350 0x01000000 0 350 0x01000000 0 0x00000000 351 0 0x00010000 351 0 0x00010000>; 352 }; 352 }; 353 }; 353 }; 354 354 355 pci3: pcie@ffe270000 { 355 pci3: pcie@ffe270000 { 356 reg = <0xf 0xfe270000 0 0x1000 356 reg = <0xf 0xfe270000 0 0x10000>; 357 ranges = <0x02000000 0 0xe0000 357 ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 358 0x01000000 0 0x00000 358 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 359 pcie@0 { 359 pcie@0 { 360 ranges = <0x02000000 0 360 ranges = <0x02000000 0 0xe0000000 361 0x02000000 0 361 0x02000000 0 0xe0000000 362 0 0x10000000 362 0 0x10000000 363 363 364 0x01000000 0 364 0x01000000 0 0x00000000 365 0x01000000 0 365 0x01000000 0 0x00000000 366 0 0x00010000 366 0 0x00010000>; 367 }; 367 }; 368 }; 368 }; 369 369 370 qe: qe@ffe140000 { 370 qe: qe@ffe140000 { 371 ranges = <0x0 0xf 0xfe140000 0 371 ranges = <0x0 0xf 0xfe140000 0x40000>; 372 reg = <0xf 0xfe140000 0 0x480> 372 reg = <0xf 0xfe140000 0 0x480>; 373 brg-frequency = <0>; 373 brg-frequency = <0>; 374 bus-frequency = <0>; 374 bus-frequency = <0>; 375 375 376 si1: si@700 { 376 si1: si@700 { 377 compatible = "fsl,t104 377 compatible = "fsl,t1040-qe-si"; 378 reg = <0x700 0x80>; 378 reg = <0x700 0x80>; 379 }; 379 }; 380 380 381 siram1: siram@1000 { 381 siram1: siram@1000 { 382 compatible = "fsl,t104 382 compatible = "fsl,t1040-qe-siram"; 383 reg = <0x1000 0x800>; 383 reg = <0x1000 0x800>; 384 }; 384 }; 385 385 386 ucc_hdlc: ucc@2000 { 386 ucc_hdlc: ucc@2000 { 387 compatible = "fsl,ucc- 387 compatible = "fsl,ucc-hdlc"; 388 rx-clock-name = "clk8" 388 rx-clock-name = "clk8"; 389 tx-clock-name = "clk9" 389 tx-clock-name = "clk9"; 390 fsl,rx-sync-clock = "r 390 fsl,rx-sync-clock = "rsync_pin"; 391 fsl,tx-sync-clock = "t 391 fsl,tx-sync-clock = "tsync_pin"; 392 fsl,tx-timeslot-mask = 392 fsl,tx-timeslot-mask = <0xfffffffe>; 393 fsl,rx-timeslot-mask = 393 fsl,rx-timeslot-mask = <0xfffffffe>; 394 fsl,tdm-framer-type = 394 fsl,tdm-framer-type = "e1"; 395 fsl,tdm-id = <0>; 395 fsl,tdm-id = <0>; 396 fsl,siram-entry-id = < 396 fsl,siram-entry-id = <0>; 397 fsl,tdm-interface; 397 fsl,tdm-interface; 398 }; 398 }; 399 399 400 ucc_serial: ucc@2200 { 400 ucc_serial: ucc@2200 { 401 compatible = "fsl,t104 401 compatible = "fsl,t1040-ucc-uart"; 402 port-number = <0>; 402 port-number = <0>; 403 rx-clock-name = "brg2" 403 rx-clock-name = "brg2"; 404 tx-clock-name = "brg2" 404 tx-clock-name = "brg2"; 405 }; 405 }; 406 }; 406 }; 407 }; 407 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.