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