Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8349E-mITX Device Tree Source |
| 3 | * |
| 4 | * Copyright 2006 Freescale Semiconductor Inc. |
| 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 | / { |
| 12 | model = "MPC8349EMITX"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 13 | compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 14 | #address-cells = <1>; |
| 15 | #size-cells = <1>; |
| 16 | |
| 17 | cpus { |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
| 20 | |
| 21 | PowerPC,8349@0 { |
| 22 | device_type = "cpu"; |
| 23 | reg = <0>; |
| 24 | d-cache-line-size = <20>; |
| 25 | i-cache-line-size = <20>; |
| 26 | d-cache-size = <8000>; |
| 27 | i-cache-size = <8000>; |
| 28 | timebase-frequency = <0>; // from bootloader |
| 29 | bus-frequency = <0>; // from bootloader |
| 30 | clock-frequency = <0>; // from bootloader |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 31 | }; |
| 32 | }; |
| 33 | |
| 34 | memory { |
| 35 | device_type = "memory"; |
| 36 | reg = <00000000 10000000>; |
| 37 | }; |
| 38 | |
| 39 | soc8349@e0000000 { |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <1>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 42 | device_type = "soc"; |
| 43 | ranges = <0 e0000000 00100000>; |
| 44 | reg = <e0000000 00000200>; |
| 45 | bus-frequency = <0>; // from bootloader |
| 46 | |
| 47 | wdt@200 { |
| 48 | device_type = "watchdog"; |
| 49 | compatible = "mpc83xx_wdt"; |
| 50 | reg = <200 100>; |
| 51 | }; |
| 52 | |
| 53 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame^] | 54 | #address-cells = <1>; |
| 55 | #size-cells = <0>; |
| 56 | cell-index = <0>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 57 | compatible = "fsl-i2c"; |
| 58 | reg = <3000 100>; |
| 59 | interrupts = <e 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 60 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 61 | dfsrr; |
| 62 | }; |
| 63 | |
| 64 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame^] | 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
| 67 | cell-index = <1>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 68 | compatible = "fsl-i2c"; |
| 69 | reg = <3100 100>; |
| 70 | interrupts = <f 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 71 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 72 | dfsrr; |
| 73 | }; |
| 74 | |
| 75 | spi@7000 { |
| 76 | device_type = "spi"; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 77 | compatible = "fsl_spi"; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 78 | reg = <7000 1000>; |
| 79 | interrupts = <10 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 80 | interrupt-parent = < &ipic >; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 81 | mode = "cpu"; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 82 | }; |
| 83 | |
| 84 | usb@22000 { |
| 85 | device_type = "usb"; |
| 86 | compatible = "fsl-usb2-mph"; |
| 87 | reg = <22000 1000>; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 90 | interrupt-parent = < &ipic >; |
| 91 | interrupts = <27 8>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 92 | phy_type = "ulpi"; |
| 93 | port1; |
| 94 | }; |
| 95 | |
| 96 | usb@23000 { |
| 97 | device_type = "usb"; |
| 98 | compatible = "fsl-usb2-dr"; |
| 99 | reg = <23000 1000>; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 102 | interrupt-parent = < &ipic >; |
| 103 | interrupts = <26 8>; |
jacmet@sunsite.dk | f93c7c5 | 2007-09-28 16:21:15 +0200 | [diff] [blame] | 104 | dr_mode = "peripheral"; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 105 | phy_type = "ulpi"; |
| 106 | }; |
| 107 | |
| 108 | mdio@24520 { |
| 109 | device_type = "mdio"; |
| 110 | compatible = "gianfar"; |
| 111 | reg = <24520 20>; |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 114 | |
| 115 | /* Vitesse 8201 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 116 | phy1c: ethernet-phy@1c { |
| 117 | interrupt-parent = < &ipic >; |
| 118 | interrupts = <12 8>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 119 | reg = <1c>; |
| 120 | device_type = "ethernet-phy"; |
| 121 | }; |
| 122 | |
| 123 | /* Vitesse 7385 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 124 | phy1f: ethernet-phy@1f { |
| 125 | interrupt-parent = < &ipic >; |
| 126 | interrupts = <12 8>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 127 | reg = <1f>; |
| 128 | device_type = "ethernet-phy"; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | ethernet@24000 { |
| 133 | device_type = "network"; |
| 134 | model = "TSEC"; |
| 135 | compatible = "gianfar"; |
| 136 | reg = <24000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 137 | /* |
| 138 | * address is deprecated and will be removed |
| 139 | * in 2.6.25. Only recent versions of |
| 140 | * U-Boot support local-mac-address, however. |
| 141 | */ |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 142 | address = [ 00 00 00 00 00 00 ]; |
| 143 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 144 | interrupts = <20 8 21 8 22 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 145 | interrupt-parent = < &ipic >; |
| 146 | phy-handle = < &phy1c >; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 147 | linux,network-index = <0>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 148 | }; |
| 149 | |
| 150 | ethernet@25000 { |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
| 153 | device_type = "network"; |
| 154 | model = "TSEC"; |
| 155 | compatible = "gianfar"; |
| 156 | reg = <25000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 157 | /* |
| 158 | * address is deprecated and will be removed |
| 159 | * in 2.6.25. Only recent versions of |
| 160 | * U-Boot support local-mac-address, however. |
| 161 | */ |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 162 | address = [ 00 00 00 00 00 00 ]; |
| 163 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 164 | interrupts = <23 8 24 8 25 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 165 | interrupt-parent = < &ipic >; |
| 166 | phy-handle = < &phy1f >; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 167 | linux,network-index = <1>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 168 | }; |
| 169 | |
| 170 | serial@4500 { |
| 171 | device_type = "serial"; |
| 172 | compatible = "ns16550"; |
| 173 | reg = <4500 100>; |
| 174 | clock-frequency = <0>; // from bootloader |
| 175 | interrupts = <9 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 176 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 177 | }; |
| 178 | |
| 179 | serial@4600 { |
| 180 | device_type = "serial"; |
| 181 | compatible = "ns16550"; |
| 182 | reg = <4600 100>; |
| 183 | clock-frequency = <0>; // from bootloader |
| 184 | interrupts = <a 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 185 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 186 | }; |
| 187 | |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 188 | crypto@30000 { |
| 189 | device_type = "crypto"; |
| 190 | model = "SEC2"; |
| 191 | compatible = "talitos"; |
| 192 | reg = <30000 10000>; |
| 193 | interrupts = <b 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 194 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 195 | num-channels = <4>; |
| 196 | channel-fifo-len = <18>; |
| 197 | exec-units-mask = <0000007e>; |
| 198 | descriptor-types-mask = <01010ebf>; |
| 199 | }; |
| 200 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 201 | ipic: pic@700 { |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 202 | interrupt-controller; |
| 203 | #address-cells = <0>; |
| 204 | #interrupt-cells = <2>; |
| 205 | reg = <700 100>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 206 | device_type = "ipic"; |
| 207 | }; |
| 208 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 209 | |
| 210 | pci@e0008500 { |
| 211 | interrupt-map-mask = <f800 0 0 7>; |
| 212 | interrupt-map = < |
| 213 | /* IDSEL 0x10 - SATA */ |
| 214 | 8000 0 0 1 &ipic 16 8 /* SATA_INTA */ |
| 215 | >; |
| 216 | interrupt-parent = < &ipic >; |
| 217 | interrupts = <42 8>; |
| 218 | bus-range = <0 0>; |
| 219 | ranges = <42000000 0 80000000 80000000 0 10000000 |
| 220 | 02000000 0 90000000 90000000 0 10000000 |
| 221 | 01000000 0 00000000 e2000000 0 01000000>; |
| 222 | clock-frequency = <3f940aa>; |
| 223 | #interrupt-cells = <1>; |
| 224 | #size-cells = <2>; |
| 225 | #address-cells = <3>; |
| 226 | reg = <e0008500 100>; |
| 227 | compatible = "fsl,mpc8349-pci"; |
| 228 | device_type = "pci"; |
| 229 | }; |
| 230 | |
| 231 | pci@e0008600 { |
| 232 | interrupt-map-mask = <f800 0 0 7>; |
| 233 | interrupt-map = < |
| 234 | /* IDSEL 0x0E - MiniPCI Slot */ |
| 235 | 7000 0 0 1 &ipic 15 8 /* PCI_INTA */ |
| 236 | |
| 237 | /* IDSEL 0x0F - PCI Slot */ |
| 238 | 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ |
| 239 | 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ |
| 240 | >; |
| 241 | interrupt-parent = < &ipic >; |
| 242 | interrupts = <43 8>; |
| 243 | bus-range = <0 0>; |
| 244 | ranges = <42000000 0 a0000000 a0000000 0 10000000 |
| 245 | 02000000 0 b0000000 b0000000 0 10000000 |
| 246 | 01000000 0 00000000 e3000000 0 01000000>; |
| 247 | clock-frequency = <3f940aa>; |
| 248 | #interrupt-cells = <1>; |
| 249 | #size-cells = <2>; |
| 250 | #address-cells = <3>; |
| 251 | reg = <e0008600 100>; |
| 252 | compatible = "fsl,mpc8349-pci"; |
| 253 | device_type = "pci"; |
| 254 | }; |
| 255 | |
| 256 | |
| 257 | |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 258 | }; |