Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8568E MDS Device Tree Source |
| 3 | * |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 4 | * Copyright 2007, 2008 Freescale Semiconductor Inc. |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 12 | /dts-v1/; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 13 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 14 | / { |
| 15 | model = "MPC8568EMDS"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 16 | compatible = "MPC8568EMDS", "MPC85xxMDS"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 19 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | ethernet2 = &enet2; |
| 24 | ethernet3 = &enet3; |
| 25 | serial0 = &serial0; |
| 26 | serial1 = &serial1; |
| 27 | pci0 = &pci0; |
| 28 | pci1 = &pci1; |
| 29 | }; |
| 30 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 31 | cpus { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 34 | |
| 35 | PowerPC,8568@0 { |
| 36 | device_type = "cpu"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 37 | reg = <0x0>; |
| 38 | d-cache-line-size = <32>; // 32 bytes |
| 39 | i-cache-line-size = <32>; // 32 bytes |
| 40 | d-cache-size = <0x8000>; // L1, 32K |
| 41 | i-cache-size = <0x8000>; // L1, 32K |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 42 | timebase-frequency = <0>; |
| 43 | bus-frequency = <0>; |
| 44 | clock-frequency = <0>; |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 45 | next-level-cache = <&L2>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 46 | }; |
| 47 | }; |
| 48 | |
| 49 | memory { |
| 50 | device_type = "memory"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 51 | reg = <0x0 0x10000000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 52 | }; |
| 53 | |
| 54 | bcsr@f8000000 { |
Anton Vorontsov | fd657ef | 2008-10-18 04:23:52 +0400 | [diff] [blame] | 55 | compatible = "fsl,mpc8568mds-bcsr"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 56 | reg = <0xf8000000 0x8000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | soc8568@e0000000 { |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 62 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 63 | compatible = "simple-bus"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 64 | ranges = <0x0 0xe0000000 0x100000>; |
| 65 | reg = <0xe0000000 0x1000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 66 | bus-frequency = <0>; |
| 67 | |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 68 | memory-controller@2000 { |
| 69 | compatible = "fsl,8568-memory-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 70 | reg = <0x2000 0x1000>; |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 71 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 72 | interrupts = <18 2>; |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 73 | }; |
| 74 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 75 | L2: l2-cache-controller@20000 { |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 76 | compatible = "fsl,8568-l2-cache-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 77 | reg = <0x20000 0x1000>; |
| 78 | cache-line-size = <32>; // 32 bytes |
| 79 | cache-size = <0x80000>; // L2, 512K |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 80 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 81 | interrupts = <16 2>; |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 82 | }; |
| 83 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 84 | i2c@3000 { |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 85 | #address-cells = <1>; |
| 86 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 87 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 88 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 89 | reg = <0x3000 0x100>; |
| 90 | interrupts = <43 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 91 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 92 | dfsrr; |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 93 | |
| 94 | rtc@68 { |
| 95 | compatible = "dallas,ds1374"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 96 | reg = <0x68>; |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 97 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 98 | }; |
| 99 | |
| 100 | i2c@3100 { |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 101 | #address-cells = <1>; |
| 102 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 103 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 104 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 105 | reg = <0x3100 0x100>; |
| 106 | interrupts = <43 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 107 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 108 | dfsrr; |
| 109 | }; |
| 110 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 111 | dma@21300 { |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <1>; |
| 114 | compatible = "fsl,mpc8568-dma", "fsl,eloplus-dma"; |
| 115 | reg = <0x21300 0x4>; |
| 116 | ranges = <0x0 0x21100 0x200>; |
| 117 | cell-index = <0>; |
| 118 | dma-channel@0 { |
| 119 | compatible = "fsl,mpc8568-dma-channel", |
| 120 | "fsl,eloplus-dma-channel"; |
| 121 | reg = <0x0 0x80>; |
| 122 | cell-index = <0>; |
| 123 | interrupt-parent = <&mpic>; |
| 124 | interrupts = <20 2>; |
| 125 | }; |
| 126 | dma-channel@80 { |
| 127 | compatible = "fsl,mpc8568-dma-channel", |
| 128 | "fsl,eloplus-dma-channel"; |
| 129 | reg = <0x80 0x80>; |
| 130 | cell-index = <1>; |
| 131 | interrupt-parent = <&mpic>; |
| 132 | interrupts = <21 2>; |
| 133 | }; |
| 134 | dma-channel@100 { |
| 135 | compatible = "fsl,mpc8568-dma-channel", |
| 136 | "fsl,eloplus-dma-channel"; |
| 137 | reg = <0x100 0x80>; |
| 138 | cell-index = <2>; |
| 139 | interrupt-parent = <&mpic>; |
| 140 | interrupts = <22 2>; |
| 141 | }; |
| 142 | dma-channel@180 { |
| 143 | compatible = "fsl,mpc8568-dma-channel", |
| 144 | "fsl,eloplus-dma-channel"; |
| 145 | reg = <0x180 0x80>; |
| 146 | cell-index = <3>; |
| 147 | interrupt-parent = <&mpic>; |
| 148 | interrupts = <23 2>; |
| 149 | }; |
| 150 | }; |
| 151 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 152 | enet0: ethernet@24000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 153 | #address-cells = <1>; |
| 154 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 155 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 156 | device_type = "network"; |
| 157 | model = "eTSEC"; |
| 158 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 159 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 160 | ranges = <0x0 0x24000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 161 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 162 | interrupts = <29 2 30 2 34 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 163 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 164 | tbi-handle = <&tbi0>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 165 | phy-handle = <&phy2>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 166 | |
| 167 | mdio@520 { |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <0>; |
| 170 | compatible = "fsl,gianfar-mdio"; |
| 171 | reg = <0x520 0x20>; |
| 172 | |
| 173 | phy0: ethernet-phy@7 { |
| 174 | interrupt-parent = <&mpic>; |
| 175 | interrupts = <1 1>; |
| 176 | reg = <0x7>; |
| 177 | device_type = "ethernet-phy"; |
| 178 | }; |
| 179 | phy1: ethernet-phy@1 { |
| 180 | interrupt-parent = <&mpic>; |
| 181 | interrupts = <2 1>; |
| 182 | reg = <0x1>; |
| 183 | device_type = "ethernet-phy"; |
| 184 | }; |
| 185 | phy2: ethernet-phy@2 { |
| 186 | interrupt-parent = <&mpic>; |
| 187 | interrupts = <1 1>; |
| 188 | reg = <0x2>; |
| 189 | device_type = "ethernet-phy"; |
| 190 | }; |
| 191 | phy3: ethernet-phy@3 { |
| 192 | interrupt-parent = <&mpic>; |
| 193 | interrupts = <2 1>; |
| 194 | reg = <0x3>; |
| 195 | device_type = "ethernet-phy"; |
| 196 | }; |
| 197 | tbi0: tbi-phy@11 { |
| 198 | reg = <0x11>; |
| 199 | device_type = "tbi-phy"; |
| 200 | }; |
| 201 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 202 | }; |
| 203 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 204 | enet1: ethernet@25000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 205 | #address-cells = <1>; |
| 206 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 207 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 208 | device_type = "network"; |
| 209 | model = "eTSEC"; |
| 210 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 211 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 212 | ranges = <0x0 0x25000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 213 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 214 | interrupts = <35 2 36 2 40 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 215 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 216 | tbi-handle = <&tbi1>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 217 | phy-handle = <&phy3>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 218 | |
| 219 | mdio@520 { |
| 220 | #address-cells = <1>; |
| 221 | #size-cells = <0>; |
| 222 | compatible = "fsl,gianfar-tbi"; |
| 223 | reg = <0x520 0x20>; |
| 224 | |
| 225 | tbi1: tbi-phy@11 { |
| 226 | reg = <0x11>; |
| 227 | device_type = "tbi-phy"; |
| 228 | }; |
| 229 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 230 | }; |
| 231 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 232 | serial0: serial@4500 { |
| 233 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 234 | device_type = "serial"; |
| 235 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 236 | reg = <0x4500 0x100>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 237 | clock-frequency = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 238 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 239 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 240 | }; |
| 241 | |
Roy Zang | 10ce8c6 | 2007-07-13 17:35:33 +0800 | [diff] [blame] | 242 | global-utilities@e0000 { //global utilities block |
| 243 | compatible = "fsl,mpc8548-guts"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 244 | reg = <0xe0000 0x1000>; |
Roy Zang | 10ce8c6 | 2007-07-13 17:35:33 +0800 | [diff] [blame] | 245 | fsl,has-rstcr; |
| 246 | }; |
| 247 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 248 | serial1: serial@4600 { |
| 249 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 250 | device_type = "serial"; |
| 251 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 252 | reg = <0x4600 0x100>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 253 | clock-frequency = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 254 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 255 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 256 | }; |
| 257 | |
| 258 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 259 | compatible = "fsl,sec2.1", "fsl,sec2.0"; |
| 260 | reg = <0x30000 0x10000>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 261 | interrupts = <45 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 262 | interrupt-parent = <&mpic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 263 | fsl,num-channels = <4>; |
| 264 | fsl,channel-fifo-len = <24>; |
| 265 | fsl,exec-units-mask = <0xfe>; |
| 266 | fsl,descriptor-types-mask = <0x12b0ebf>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 267 | }; |
| 268 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 269 | mpic: pic@40000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 270 | interrupt-controller; |
| 271 | #address-cells = <0>; |
| 272 | #interrupt-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 273 | reg = <0x40000 0x40000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 274 | compatible = "chrp,open-pic"; |
| 275 | device_type = "open-pic"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 276 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 277 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 278 | par_io@e0100 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 279 | reg = <0xe0100 0x100>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 280 | device_type = "par_io"; |
| 281 | num-ports = <7>; |
| 282 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 283 | pio1: ucc_pin@01 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 284 | pio-map = < |
| 285 | /* port pin dir open_drain assignment has_irq */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 286 | 0x4 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ |
| 287 | 0x4 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ |
| 288 | 0x4 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ |
| 289 | 0x4 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ |
| 290 | 0x4 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ |
| 291 | 0x4 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ |
| 292 | 0x4 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ |
| 293 | 0x4 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ |
| 294 | 0x4 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ |
| 295 | 0x4 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ |
| 296 | 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ |
| 297 | 0x4 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ |
| 298 | 0x4 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ |
| 299 | 0x4 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ |
| 300 | 0x4 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ |
| 301 | 0x4 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ |
| 302 | 0x4 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ |
| 303 | 0x4 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ |
| 304 | 0x4 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ |
| 305 | 0x4 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ |
| 306 | 0x4 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ |
| 307 | 0x4 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ |
| 308 | 0x1 0x1f 0x2 0x0 0x3 0x0>; /* GTX125 */ |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 309 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 310 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 311 | pio2: ucc_pin@02 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 312 | pio-map = < |
| 313 | /* port pin dir open_drain assignment has_irq */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 314 | 0x5 0xa 0x1 0x0 0x2 0x0 /* TxD0 */ |
| 315 | 0x5 0x9 0x1 0x0 0x2 0x0 /* TxD1 */ |
| 316 | 0x5 0x8 0x1 0x0 0x2 0x0 /* TxD2 */ |
| 317 | 0x5 0x7 0x1 0x0 0x2 0x0 /* TxD3 */ |
| 318 | 0x5 0x17 0x1 0x0 0x2 0x0 /* TxD4 */ |
| 319 | 0x5 0x16 0x1 0x0 0x2 0x0 /* TxD5 */ |
| 320 | 0x5 0x15 0x1 0x0 0x2 0x0 /* TxD6 */ |
| 321 | 0x5 0x14 0x1 0x0 0x2 0x0 /* TxD7 */ |
| 322 | 0x5 0xf 0x2 0x0 0x2 0x0 /* RxD0 */ |
| 323 | 0x5 0xe 0x2 0x0 0x2 0x0 /* RxD1 */ |
| 324 | 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */ |
| 325 | 0x5 0xc 0x2 0x0 0x2 0x0 /* RxD3 */ |
| 326 | 0x5 0x1d 0x2 0x0 0x2 0x0 /* RxD4 */ |
| 327 | 0x5 0x1c 0x2 0x0 0x2 0x0 /* RxD5 */ |
| 328 | 0x5 0x1b 0x2 0x0 0x2 0x0 /* RxD6 */ |
| 329 | 0x5 0x1a 0x2 0x0 0x2 0x0 /* RxD7 */ |
| 330 | 0x5 0xb 0x1 0x0 0x2 0x0 /* TX_EN */ |
| 331 | 0x5 0x18 0x1 0x0 0x2 0x0 /* TX_ER */ |
| 332 | 0x5 0x10 0x2 0x0 0x2 0x0 /* RX_DV */ |
| 333 | 0x5 0x1e 0x2 0x0 0x2 0x0 /* RX_ER */ |
| 334 | 0x5 0x11 0x2 0x0 0x2 0x0 /* RX_CLK */ |
| 335 | 0x5 0x13 0x1 0x0 0x2 0x0 /* GTX_CLK */ |
| 336 | 0x1 0x1f 0x2 0x0 0x3 0x0 /* GTX125 */ |
| 337 | 0x4 0x6 0x3 0x0 0x2 0x0 /* MDIO */ |
| 338 | 0x4 0x5 0x1 0x0 0x2 0x0>; /* MDC */ |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 339 | }; |
| 340 | }; |
| 341 | }; |
| 342 | |
| 343 | qe@e0080000 { |
| 344 | #address-cells = <1>; |
| 345 | #size-cells = <1>; |
| 346 | device_type = "qe"; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 347 | compatible = "fsl,qe"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 348 | ranges = <0x0 0xe0080000 0x40000>; |
| 349 | reg = <0xe0080000 0x480>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 350 | brg-frequency = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 351 | bus-frequency = <396000000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 352 | |
| 353 | muram@10000 { |
Paul Gortmaker | 390167e | 2008-01-28 02:27:51 -0500 | [diff] [blame] | 354 | #address-cells = <1>; |
| 355 | #size-cells = <1>; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 356 | compatible = "fsl,qe-muram", "fsl,cpm-muram"; |
Haiying Wang | 8bdf573 | 2008-04-17 08:56:02 -0400 | [diff] [blame] | 357 | ranges = <0x0 0x10000 0x10000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 358 | |
Paul Gortmaker | 390167e | 2008-01-28 02:27:51 -0500 | [diff] [blame] | 359 | data-only@0 { |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 360 | compatible = "fsl,qe-muram-data", |
| 361 | "fsl,cpm-muram-data"; |
Haiying Wang | 8bdf573 | 2008-04-17 08:56:02 -0400 | [diff] [blame] | 362 | reg = <0x0 0x10000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 363 | }; |
| 364 | }; |
| 365 | |
| 366 | spi@4c0 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 367 | cell-index = <0>; |
| 368 | compatible = "fsl,spi"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 369 | reg = <0x4c0 0x40>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 370 | interrupts = <2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 371 | interrupt-parent = <&qeic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 372 | mode = "cpu"; |
| 373 | }; |
| 374 | |
| 375 | spi@500 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 376 | cell-index = <1>; |
| 377 | compatible = "fsl,spi"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 378 | reg = <0x500 0x40>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 379 | interrupts = <1>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 380 | interrupt-parent = <&qeic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 381 | mode = "cpu"; |
| 382 | }; |
| 383 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 384 | enet2: ucc@2000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 385 | device_type = "network"; |
| 386 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 387 | cell-index = <1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 388 | reg = <0x2000 0x200>; |
| 389 | interrupts = <32>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 390 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 391 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 392 | rx-clock-name = "none"; |
| 393 | tx-clock-name = "clk16"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 394 | pio-handle = <&pio1>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 395 | phy-handle = <&phy0>; |
| 396 | phy-connection-type = "rgmii-id"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 397 | }; |
| 398 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 399 | enet3: ucc@3000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 400 | device_type = "network"; |
| 401 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 402 | cell-index = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 403 | reg = <0x3000 0x200>; |
| 404 | interrupts = <33>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 405 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 406 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 407 | rx-clock-name = "none"; |
| 408 | tx-clock-name = "clk16"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 409 | pio-handle = <&pio2>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 410 | phy-handle = <&phy1>; |
| 411 | phy-connection-type = "rgmii-id"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 412 | }; |
| 413 | |
| 414 | mdio@2120 { |
| 415 | #address-cells = <1>; |
| 416 | #size-cells = <0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 417 | reg = <0x2120 0x18>; |
Anton Vorontsov | d0a2f82 | 2008-01-24 18:40:01 +0300 | [diff] [blame] | 418 | compatible = "fsl,ucc-mdio"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 419 | |
| 420 | /* These are the same PHYs as on |
| 421 | * gianfar's MDIO bus */ |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 422 | qe_phy0: ethernet-phy@07 { |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 423 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 424 | interrupts = <1 1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 425 | reg = <0x7>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 426 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 427 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 428 | qe_phy1: ethernet-phy@01 { |
| 429 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 430 | interrupts = <2 1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 431 | reg = <0x1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 432 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 433 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 434 | qe_phy2: ethernet-phy@02 { |
| 435 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 436 | interrupts = <1 1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 437 | reg = <0x2>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 438 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 439 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 440 | qe_phy3: ethernet-phy@03 { |
| 441 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 442 | interrupts = <2 1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 443 | reg = <0x3>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 444 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 445 | }; |
| 446 | }; |
| 447 | |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 448 | qeic: interrupt-controller@80 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 449 | interrupt-controller; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 450 | compatible = "fsl,qe-ic"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 451 | #address-cells = <0>; |
| 452 | #interrupt-cells = <1>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 453 | reg = <0x80 0x80>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 454 | big-endian; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 455 | interrupts = <46 2 46 2>; //high:30 low:30 |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 456 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 457 | }; |
| 458 | |
| 459 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 460 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 461 | pci0: pci@e0008000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 462 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 463 | interrupt-map = < |
| 464 | /* IDSEL 0x12 AD18 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 465 | 0x9000 0x0 0x0 0x1 &mpic 0x5 0x1 |
| 466 | 0x9000 0x0 0x0 0x2 &mpic 0x6 0x1 |
| 467 | 0x9000 0x0 0x0 0x3 &mpic 0x7 0x1 |
| 468 | 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1 |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 469 | |
| 470 | /* IDSEL 0x13 AD19 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 471 | 0x9800 0x0 0x0 0x1 &mpic 0x6 0x1 |
| 472 | 0x9800 0x0 0x0 0x2 &mpic 0x7 0x1 |
| 473 | 0x9800 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 474 | 0x9800 0x0 0x0 0x4 &mpic 0x5 0x1>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 475 | |
| 476 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 477 | interrupts = <24 2>; |
| 478 | bus-range = <0 255>; |
| 479 | ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
| 480 | 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>; |
| 481 | clock-frequency = <66666666>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 482 | #interrupt-cells = <1>; |
| 483 | #size-cells = <2>; |
| 484 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 485 | reg = <0xe0008000 0x1000>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 486 | compatible = "fsl,mpc8540-pci"; |
| 487 | device_type = "pci"; |
| 488 | }; |
| 489 | |
| 490 | /* PCI Express */ |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 491 | pci1: pcie@e000a000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 492 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 493 | interrupt-map = < |
| 494 | |
| 495 | /* IDSEL 0x0 (PEX) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 496 | 00000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 497 | 00000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 498 | 00000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 499 | 00000 0x0 0x0 0x4 &mpic 0x3 0x1>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 500 | |
| 501 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 502 | interrupts = <26 2>; |
| 503 | bus-range = <0 255>; |
| 504 | ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
| 505 | 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>; |
| 506 | clock-frequency = <33333333>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 507 | #interrupt-cells = <1>; |
| 508 | #size-cells = <2>; |
| 509 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 510 | reg = <0xe000a000 0x1000>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 511 | compatible = "fsl,mpc8548-pcie"; |
| 512 | device_type = "pci"; |
| 513 | pcie@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 514 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 515 | #size-cells = <2>; |
| 516 | #address-cells = <3>; |
| 517 | device_type = "pci"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 518 | ranges = <0x2000000 0x0 0xa0000000 |
| 519 | 0x2000000 0x0 0xa0000000 |
| 520 | 0x0 0x10000000 |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 521 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 522 | 0x1000000 0x0 0x0 |
| 523 | 0x1000000 0x0 0x0 |
| 524 | 0x0 0x800000>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 525 | }; |
| 526 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 527 | }; |