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