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 { |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 111 | compatible = "fsl,gianfar-mdio"; |
| 112 | reg = <24520 20>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 113 | |
| 114 | /* Vitesse 8201 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 115 | phy1c: ethernet-phy@1c { |
| 116 | interrupt-parent = < &ipic >; |
| 117 | interrupts = <12 8>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 118 | reg = <1c>; |
| 119 | device_type = "ethernet-phy"; |
| 120 | }; |
| 121 | |
| 122 | /* Vitesse 7385 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 123 | phy1f: ethernet-phy@1f { |
| 124 | interrupt-parent = < &ipic >; |
| 125 | interrupts = <12 8>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 126 | reg = <1f>; |
| 127 | device_type = "ethernet-phy"; |
| 128 | }; |
| 129 | }; |
| 130 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 131 | enet0: ethernet@24000 { |
| 132 | cell-index = <0>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 133 | device_type = "network"; |
| 134 | model = "TSEC"; |
| 135 | compatible = "gianfar"; |
| 136 | reg = <24000 1000>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 137 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 138 | interrupts = <20 8 21 8 22 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 139 | interrupt-parent = < &ipic >; |
| 140 | phy-handle = < &phy1c >; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 141 | linux,network-index = <0>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 142 | }; |
| 143 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame^] | 144 | enet1: ethernet@25000 { |
| 145 | cell-index = <1>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 146 | device_type = "network"; |
| 147 | model = "TSEC"; |
| 148 | compatible = "gianfar"; |
| 149 | reg = <25000 1000>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 150 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 151 | interrupts = <23 8 24 8 25 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 152 | interrupt-parent = < &ipic >; |
| 153 | phy-handle = < &phy1f >; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 154 | linux,network-index = <1>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 155 | }; |
| 156 | |
| 157 | serial@4500 { |
| 158 | device_type = "serial"; |
| 159 | compatible = "ns16550"; |
| 160 | reg = <4500 100>; |
| 161 | clock-frequency = <0>; // from bootloader |
| 162 | interrupts = <9 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 163 | interrupt-parent = < &ipic >; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 164 | }; |
| 165 | |
| 166 | serial@4600 { |
| 167 | device_type = "serial"; |
| 168 | compatible = "ns16550"; |
| 169 | reg = <4600 100>; |
| 170 | clock-frequency = <0>; // from bootloader |
| 171 | interrupts = <a 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 | |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 175 | crypto@30000 { |
| 176 | device_type = "crypto"; |
| 177 | model = "SEC2"; |
| 178 | compatible = "talitos"; |
| 179 | reg = <30000 10000>; |
| 180 | interrupts = <b 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 | num-channels = <4>; |
| 183 | channel-fifo-len = <18>; |
| 184 | exec-units-mask = <0000007e>; |
| 185 | descriptor-types-mask = <01010ebf>; |
| 186 | }; |
| 187 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 188 | ipic: pic@700 { |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 189 | interrupt-controller; |
| 190 | #address-cells = <0>; |
| 191 | #interrupt-cells = <2>; |
| 192 | reg = <700 100>; |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 193 | device_type = "ipic"; |
| 194 | }; |
| 195 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 196 | |
| 197 | pci@e0008500 { |
| 198 | interrupt-map-mask = <f800 0 0 7>; |
| 199 | interrupt-map = < |
| 200 | /* IDSEL 0x10 - SATA */ |
| 201 | 8000 0 0 1 &ipic 16 8 /* SATA_INTA */ |
| 202 | >; |
| 203 | interrupt-parent = < &ipic >; |
| 204 | interrupts = <42 8>; |
| 205 | bus-range = <0 0>; |
| 206 | ranges = <42000000 0 80000000 80000000 0 10000000 |
| 207 | 02000000 0 90000000 90000000 0 10000000 |
| 208 | 01000000 0 00000000 e2000000 0 01000000>; |
| 209 | clock-frequency = <3f940aa>; |
| 210 | #interrupt-cells = <1>; |
| 211 | #size-cells = <2>; |
| 212 | #address-cells = <3>; |
| 213 | reg = <e0008500 100>; |
| 214 | compatible = "fsl,mpc8349-pci"; |
| 215 | device_type = "pci"; |
| 216 | }; |
| 217 | |
| 218 | pci@e0008600 { |
| 219 | interrupt-map-mask = <f800 0 0 7>; |
| 220 | interrupt-map = < |
| 221 | /* IDSEL 0x0E - MiniPCI Slot */ |
| 222 | 7000 0 0 1 &ipic 15 8 /* PCI_INTA */ |
| 223 | |
| 224 | /* IDSEL 0x0F - PCI Slot */ |
| 225 | 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ |
| 226 | 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ |
| 227 | >; |
| 228 | interrupt-parent = < &ipic >; |
| 229 | interrupts = <43 8>; |
| 230 | bus-range = <0 0>; |
| 231 | ranges = <42000000 0 a0000000 a0000000 0 10000000 |
| 232 | 02000000 0 b0000000 b0000000 0 10000000 |
| 233 | 01000000 0 00000000 e3000000 0 01000000>; |
| 234 | clock-frequency = <3f940aa>; |
| 235 | #interrupt-cells = <1>; |
| 236 | #size-cells = <2>; |
| 237 | #address-cells = <3>; |
| 238 | reg = <e0008600 100>; |
| 239 | compatible = "fsl,mpc8349-pci"; |
| 240 | device_type = "pci"; |
| 241 | }; |
| 242 | |
| 243 | |
| 244 | |
Timur Tabi | 74c37e8 | 2006-10-04 11:03:44 -0500 | [diff] [blame] | 245 | }; |