Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8349E-mITX-GP Device Tree Source |
| 3 | * |
| 4 | * Copyright 2007 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 | */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 11 | |
| 12 | /dts-v1/; |
| 13 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 14 | / { |
| 15 | model = "MPC8349EMITXGP"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 16 | compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX"; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | serial0 = &serial0; |
| 23 | serial1 = &serial1; |
| 24 | pci0 = &pci0; |
| 25 | }; |
| 26 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 27 | cpus { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | |
| 31 | PowerPC,8349@0 { |
| 32 | device_type = "cpu"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 33 | reg = <0x0>; |
| 34 | d-cache-line-size = <32>; |
| 35 | i-cache-line-size = <32>; |
| 36 | d-cache-size = <32768>; |
| 37 | i-cache-size = <32768>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 38 | timebase-frequency = <0>; // from bootloader |
| 39 | bus-frequency = <0>; // from bootloader |
| 40 | clock-frequency = <0>; // from bootloader |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 41 | }; |
| 42 | }; |
| 43 | |
| 44 | memory { |
| 45 | device_type = "memory"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 46 | reg = <0x00000000 0x10000000>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 47 | }; |
| 48 | |
| 49 | soc8349@e0000000 { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 52 | device_type = "soc"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 53 | ranges = <0x0 0xe0000000 0x00100000>; |
| 54 | reg = <0xe0000000 0x00000200>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 55 | bus-frequency = <0>; // from bootloader |
| 56 | |
| 57 | wdt@200 { |
| 58 | device_type = "watchdog"; |
| 59 | compatible = "mpc83xx_wdt"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 60 | reg = <0x200 0x100>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 67 | compatible = "fsl-i2c"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 68 | reg = <0x3000 0x100>; |
| 69 | interrupts = <14 0x8>; |
| 70 | interrupt-parent = <&ipic>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 71 | dfsrr; |
| 72 | }; |
| 73 | |
| 74 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | cell-index = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 78 | compatible = "fsl-i2c"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 79 | reg = <0x3100 0x100>; |
| 80 | interrupts = <15 0x8>; |
| 81 | interrupt-parent = <&ipic>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 82 | dfsrr; |
| 83 | }; |
| 84 | |
| 85 | spi@7000 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 86 | cell-index = <0>; |
| 87 | compatible = "fsl,spi"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 88 | reg = <0x7000 0x1000>; |
| 89 | interrupts = <16 0x8>; |
| 90 | interrupt-parent = <&ipic>; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 91 | mode = "cpu"; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 92 | }; |
| 93 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame^] | 94 | dma@82a8 { |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <1>; |
| 97 | compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; |
| 98 | reg = <0x82a8 4>; |
| 99 | ranges = <0 0x8100 0x1a8>; |
| 100 | interrupt-parent = <&ipic>; |
| 101 | interrupts = <71 8>; |
| 102 | cell-index = <0>; |
| 103 | dma-channel@0 { |
| 104 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 105 | reg = <0 0x80>; |
| 106 | interrupt-parent = <&ipic>; |
| 107 | interrupts = <71 8>; |
| 108 | }; |
| 109 | dma-channel@80 { |
| 110 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 111 | reg = <0x80 0x80>; |
| 112 | interrupt-parent = <&ipic>; |
| 113 | interrupts = <71 8>; |
| 114 | }; |
| 115 | dma-channel@100 { |
| 116 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 117 | reg = <0x100 0x80>; |
| 118 | interrupt-parent = <&ipic>; |
| 119 | interrupts = <71 8>; |
| 120 | }; |
| 121 | dma-channel@180 { |
| 122 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 123 | reg = <0x180 0x28>; |
| 124 | interrupt-parent = <&ipic>; |
| 125 | interrupts = <71 8>; |
| 126 | }; |
| 127 | }; |
| 128 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 129 | usb@23000 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 130 | compatible = "fsl-usb2-dr"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 131 | reg = <0x23000 0x1000>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 134 | interrupt-parent = <&ipic>; |
| 135 | interrupts = <38 0x8>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 136 | dr_mode = "otg"; |
| 137 | phy_type = "ulpi"; |
| 138 | }; |
| 139 | |
| 140 | mdio@24520 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 141 | #address-cells = <1>; |
| 142 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 143 | compatible = "fsl,gianfar-mdio"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 144 | reg = <0x24520 0x20>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 145 | |
| 146 | /* Vitesse 8201 */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 147 | phy1c: ethernet-phy@1c { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 148 | interrupt-parent = <&ipic>; |
| 149 | interrupts = <18 0x8>; |
| 150 | reg = <0x1c>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 151 | device_type = "ethernet-phy"; |
| 152 | }; |
| 153 | }; |
| 154 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 155 | enet0: ethernet@24000 { |
| 156 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 157 | device_type = "network"; |
| 158 | model = "TSEC"; |
| 159 | compatible = "gianfar"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 160 | reg = <0x24000 0x1000>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 161 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 162 | interrupts = <32 0x8 33 0x8 34 0x8>; |
| 163 | interrupt-parent = <&ipic>; |
| 164 | phy-handle = <&phy1c>; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 165 | linux,network-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 166 | }; |
| 167 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 168 | serial0: serial@4500 { |
| 169 | cell-index = <0>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 170 | device_type = "serial"; |
| 171 | compatible = "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 172 | reg = <0x4500 0x100>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 173 | clock-frequency = <0>; // from bootloader |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 174 | interrupts = <9 0x8>; |
| 175 | interrupt-parent = <&ipic>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 176 | }; |
| 177 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 178 | serial1: serial@4600 { |
| 179 | cell-index = <1>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 180 | device_type = "serial"; |
| 181 | compatible = "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 182 | reg = <0x4600 0x100>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 183 | clock-frequency = <0>; // from bootloader |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 184 | interrupts = <10 0x8>; |
| 185 | interrupt-parent = <&ipic>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 186 | }; |
| 187 | |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 188 | crypto@30000 { |
| 189 | device_type = "crypto"; |
| 190 | model = "SEC2"; |
| 191 | compatible = "talitos"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 192 | reg = <0x30000 0x10000>; |
| 193 | interrupts = <11 0x8>; |
| 194 | interrupt-parent = <&ipic>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 195 | num-channels = <4>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 196 | channel-fifo-len = <24>; |
| 197 | exec-units-mask = <0x0000007e>; |
| 198 | descriptor-types-mask = <0x01010ebf>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 199 | }; |
| 200 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 201 | ipic: pic@700 { |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 202 | interrupt-controller; |
| 203 | #address-cells = <0>; |
| 204 | #interrupt-cells = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 205 | reg = <0x700 0x100>; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 206 | device_type = "ipic"; |
| 207 | }; |
| 208 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 209 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 210 | pci0: pci@e0008600 { |
| 211 | cell-index = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 212 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 213 | interrupt-map = < |
| 214 | /* IDSEL 0x0F - PCI Slot */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 215 | 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ |
| 216 | 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 217 | >; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 218 | interrupt-parent = <&ipic>; |
| 219 | interrupts = <67 0x8>; |
| 220 | bus-range = <0x1 0x1>; |
| 221 | ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
| 222 | 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 |
| 223 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; |
| 224 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 225 | #interrupt-cells = <1>; |
| 226 | #size-cells = <2>; |
| 227 | #address-cells = <3>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 228 | reg = <0xe0008600 0x100>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 229 | compatible = "fsl,mpc8349-pci"; |
| 230 | device_type = "pci"; |
| 231 | }; |
Timur Tabi | 8c4a013 | 2007-02-09 14:00:36 -0600 | [diff] [blame] | 232 | }; |