Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8323E EMDS 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. |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 10 | |
| 11 | * To enable external serial I/O on a Freescale MPC 8323 SYS/MDS board, do |
| 12 | * this: |
| 13 | * |
| 14 | * 1) On chip U61, lift (disconnect) pins 21 (TXD) and 22 (RXD) from the board. |
| 15 | * 2) Solder a wire from U61-21 to P19A-23. P19 is a grid of pins on the board |
| 16 | * next to the serial ports. |
| 17 | * 3) Solder a wire from U61-22 to P19K-22. |
| 18 | * |
| 19 | * Note that there's a typo in the schematic. The board labels the last column |
| 20 | * of pins "P19K", but in the schematic, that column is called "P19J". So if |
| 21 | * you're going by the schematic, the pin is called "P19J-K22". |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 22 | */ |
| 23 | |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 24 | /dts-v1/; |
| 25 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 26 | / { |
| 27 | model = "MPC8323EMDS"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 28 | compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 29 | #address-cells = <1>; |
| 30 | #size-cells = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 31 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 32 | aliases { |
| 33 | ethernet0 = &enet0; |
| 34 | ethernet1 = &enet1; |
| 35 | serial0 = &serial0; |
| 36 | serial1 = &serial1; |
| 37 | pci0 = &pci0; |
| 38 | }; |
| 39 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 40 | cpus { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 43 | |
| 44 | PowerPC,8323@0 { |
| 45 | device_type = "cpu"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 46 | reg = <0x0>; |
| 47 | d-cache-line-size = <32>; // 32 bytes |
| 48 | i-cache-line-size = <32>; // 32 bytes |
| 49 | d-cache-size = <16384>; // L1, 16K |
| 50 | i-cache-size = <16384>; // L1, 16K |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 51 | timebase-frequency = <0>; |
| 52 | bus-frequency = <0>; |
| 53 | clock-frequency = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 54 | }; |
| 55 | }; |
| 56 | |
| 57 | memory { |
| 58 | device_type = "memory"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 59 | reg = <0x00000000 0x08000000>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | bcsr@f8000000 { |
Anton Vorontsov | fd657ef | 2008-10-18 04:23:52 +0400 | [diff] [blame] | 63 | compatible = "fsl,mpc8323mds-bcsr"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 64 | reg = <0xf8000000 0x8000>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 65 | }; |
| 66 | |
| 67 | soc8323@e0000000 { |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 70 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 71 | compatible = "simple-bus"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 72 | ranges = <0x0 0xe0000000 0x00100000>; |
| 73 | reg = <0xe0000000 0x00000200>; |
| 74 | bus-frequency = <132000000>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 75 | |
| 76 | wdt@200 { |
| 77 | device_type = "watchdog"; |
| 78 | compatible = "mpc83xx_wdt"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 79 | reg = <0x200 0x100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 80 | }; |
| 81 | |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 82 | pmc: power@b00 { |
| 83 | compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc"; |
| 84 | reg = <0xb00 0x100 0xa00 0x100>; |
| 85 | interrupts = <80 0x8>; |
| 86 | interrupt-parent = <&ipic>; |
| 87 | }; |
| 88 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 89 | i2c@3000 { |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 90 | #address-cells = <1>; |
| 91 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 92 | cell-index = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 93 | compatible = "fsl-i2c"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 94 | reg = <0x3000 0x100>; |
| 95 | interrupts = <14 0x8>; |
| 96 | interrupt-parent = <&ipic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 97 | dfsrr; |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 98 | |
| 99 | rtc@68 { |
| 100 | compatible = "dallas,ds1374"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 101 | reg = <0x68>; |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 102 | }; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 103 | }; |
| 104 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 105 | serial0: serial@4500 { |
| 106 | cell-index = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 107 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 108 | compatible = "fsl,ns16550", "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 109 | reg = <0x4500 0x100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 110 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 111 | interrupts = <9 0x8>; |
| 112 | interrupt-parent = <&ipic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 113 | }; |
| 114 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 115 | serial1: serial@4600 { |
| 116 | cell-index = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 117 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 118 | compatible = "fsl,ns16550", "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 119 | reg = <0x4600 0x100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 120 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 121 | interrupts = <10 0x8>; |
| 122 | interrupt-parent = <&ipic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 123 | }; |
| 124 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 125 | dma@82a8 { |
| 126 | #address-cells = <1>; |
| 127 | #size-cells = <1>; |
| 128 | compatible = "fsl,mpc8323-dma", "fsl,elo-dma"; |
| 129 | reg = <0x82a8 4>; |
| 130 | ranges = <0 0x8100 0x1a8>; |
| 131 | interrupt-parent = <&ipic>; |
| 132 | interrupts = <71 8>; |
| 133 | cell-index = <0>; |
| 134 | dma-channel@0 { |
| 135 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 136 | reg = <0 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 137 | cell-index = <0>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 138 | interrupt-parent = <&ipic>; |
| 139 | interrupts = <71 8>; |
| 140 | }; |
| 141 | dma-channel@80 { |
| 142 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 143 | reg = <0x80 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 144 | cell-index = <1>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 145 | interrupt-parent = <&ipic>; |
| 146 | interrupts = <71 8>; |
| 147 | }; |
| 148 | dma-channel@100 { |
| 149 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 150 | reg = <0x100 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 151 | cell-index = <2>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 152 | interrupt-parent = <&ipic>; |
| 153 | interrupts = <71 8>; |
| 154 | }; |
| 155 | dma-channel@180 { |
| 156 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 157 | reg = <0x180 0x28>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 158 | cell-index = <3>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 159 | interrupt-parent = <&ipic>; |
| 160 | interrupts = <71 8>; |
| 161 | }; |
| 162 | }; |
| 163 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 164 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 165 | compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; |
| 166 | reg = <0x30000 0x10000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 167 | interrupts = <11 0x8>; |
| 168 | interrupt-parent = <&ipic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 169 | fsl,num-channels = <1>; |
| 170 | fsl,channel-fifo-len = <24>; |
| 171 | fsl,exec-units-mask = <0x4c>; |
| 172 | fsl,descriptor-types-mask = <0x0122003f>; |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 173 | sleep = <&pmc 0x03000000>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 174 | }; |
| 175 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 176 | ipic: pic@700 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 177 | interrupt-controller; |
| 178 | #address-cells = <0>; |
| 179 | #interrupt-cells = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 180 | reg = <0x700 0x100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 181 | device_type = "ipic"; |
| 182 | }; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 183 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 184 | par_io@1400 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 185 | reg = <0x1400 0x100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 186 | device_type = "par_io"; |
| 187 | num-ports = <7>; |
| 188 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 189 | pio3: ucc_pin@03 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 190 | pio-map = < |
| 191 | /* port pin dir open_drain assignment has_irq */ |
| 192 | 3 4 3 0 2 0 /* MDIO */ |
| 193 | 3 5 1 0 2 0 /* MDC */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 194 | 0 13 2 0 1 0 /* RX_CLK (CLK9) */ |
| 195 | 3 24 2 0 1 0 /* TX_CLK (CLK10) */ |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 196 | 1 0 1 0 1 0 /* TxD0 */ |
| 197 | 1 1 1 0 1 0 /* TxD1 */ |
| 198 | 1 2 1 0 1 0 /* TxD2 */ |
| 199 | 1 3 1 0 1 0 /* TxD3 */ |
| 200 | 1 4 2 0 1 0 /* RxD0 */ |
| 201 | 1 5 2 0 1 0 /* RxD1 */ |
| 202 | 1 6 2 0 1 0 /* RxD2 */ |
| 203 | 1 7 2 0 1 0 /* RxD3 */ |
| 204 | 1 8 2 0 1 0 /* RX_ER */ |
| 205 | 1 9 1 0 1 0 /* TX_ER */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 206 | 1 10 2 0 1 0 /* RX_DV */ |
| 207 | 1 11 2 0 1 0 /* COL */ |
| 208 | 1 12 1 0 1 0 /* TX_EN */ |
| 209 | 1 13 2 0 1 0>; /* CRS */ |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 210 | }; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 211 | pio4: ucc_pin@04 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 212 | pio-map = < |
| 213 | /* port pin dir open_drain assignment has_irq */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 214 | 3 31 2 0 1 0 /* RX_CLK (CLK7) */ |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 215 | 3 6 2 0 1 0 /* TX_CLK (CLK8) */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 216 | 1 18 1 0 1 0 /* TxD0 */ |
| 217 | 1 19 1 0 1 0 /* TxD1 */ |
| 218 | 1 20 1 0 1 0 /* TxD2 */ |
| 219 | 1 21 1 0 1 0 /* TxD3 */ |
| 220 | 1 22 2 0 1 0 /* RxD0 */ |
| 221 | 1 23 2 0 1 0 /* RxD1 */ |
| 222 | 1 24 2 0 1 0 /* RxD2 */ |
| 223 | 1 25 2 0 1 0 /* RxD3 */ |
| 224 | 1 26 2 0 1 0 /* RX_ER */ |
| 225 | 1 27 1 0 1 0 /* TX_ER */ |
| 226 | 1 28 2 0 1 0 /* RX_DV */ |
| 227 | 1 29 2 0 1 0 /* COL */ |
| 228 | 1 30 1 0 1 0 /* TX_EN */ |
| 229 | 1 31 2 0 1 0>; /* CRS */ |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 230 | }; |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 231 | pio5: ucc_pin@05 { |
| 232 | pio-map = < |
| 233 | /* |
| 234 | * open has |
| 235 | * port pin dir drain sel irq |
| 236 | */ |
| 237 | 2 0 1 0 2 0 /* TxD5 */ |
| 238 | 2 8 2 0 2 0 /* RxD5 */ |
| 239 | |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 240 | 2 29 2 0 0 0 /* CTS5 */ |
| 241 | 2 31 1 0 2 0 /* RTS5 */ |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 242 | |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 243 | 2 24 2 0 0 0 /* CD */ |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 244 | |
| 245 | >; |
| 246 | }; |
| 247 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 248 | }; |
| 249 | }; |
| 250 | |
| 251 | qe@e0100000 { |
| 252 | #address-cells = <1>; |
| 253 | #size-cells = <1>; |
| 254 | device_type = "qe"; |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 255 | compatible = "fsl,qe"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 256 | ranges = <0x0 0xe0100000 0x00100000>; |
| 257 | reg = <0xe0100000 0x480>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 258 | brg-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 259 | bus-frequency = <198000000>; |
Haiying Wang | 01b14a9 | 2009-05-01 15:40:51 -0400 | [diff] [blame] | 260 | fsl,qe-num-riscs = <1>; |
| 261 | fsl,qe-num-snums = <28>; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 262 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 263 | muram@10000 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 264 | #address-cells = <1>; |
| 265 | #size-cells = <1>; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 266 | compatible = "fsl,qe-muram", "fsl,cpm-muram"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 267 | ranges = <0x0 0x00010000 0x00004000>; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 268 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 269 | data-only@0 { |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 270 | compatible = "fsl,qe-muram-data", |
| 271 | "fsl,cpm-muram-data"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 272 | reg = <0x0 0x4000>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 273 | }; |
| 274 | }; |
| 275 | |
| 276 | spi@4c0 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 277 | cell-index = <0>; |
| 278 | compatible = "fsl,spi"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 279 | reg = <0x4c0 0x40>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 280 | interrupts = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 281 | interrupt-parent = <&qeic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 282 | mode = "cpu"; |
| 283 | }; |
| 284 | |
| 285 | spi@500 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 286 | cell-index = <1>; |
| 287 | compatible = "fsl,spi"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 288 | reg = <0x500 0x40>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 289 | interrupts = <1>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 290 | interrupt-parent = <&qeic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 291 | mode = "cpu"; |
| 292 | }; |
| 293 | |
| 294 | usb@6c0 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 295 | compatible = "qe_udc"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 296 | reg = <0x6c0 0x40 0x8b00 0x100>; |
| 297 | interrupts = <11>; |
| 298 | interrupt-parent = <&qeic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 299 | mode = "slave"; |
| 300 | }; |
| 301 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 302 | enet0: ucc@2200 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 303 | device_type = "network"; |
| 304 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 305 | cell-index = <3>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 306 | reg = <0x2200 0x200>; |
| 307 | interrupts = <34>; |
| 308 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 309 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 310 | rx-clock-name = "clk9"; |
| 311 | tx-clock-name = "clk10"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 312 | phy-handle = <&phy3>; |
| 313 | pio-handle = <&pio3>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 314 | }; |
| 315 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 316 | enet1: ucc@3200 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 317 | device_type = "network"; |
| 318 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 319 | cell-index = <4>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 320 | reg = <0x3200 0x200>; |
| 321 | interrupts = <35>; |
| 322 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 323 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 324 | rx-clock-name = "clk7"; |
| 325 | tx-clock-name = "clk8"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 326 | phy-handle = <&phy4>; |
| 327 | pio-handle = <&pio4>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 328 | }; |
| 329 | |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 330 | ucc@2400 { |
| 331 | device_type = "serial"; |
| 332 | compatible = "ucc_uart"; |
Anton Vorontsov | 56626f3 | 2008-04-11 20:06:54 +0400 | [diff] [blame] | 333 | cell-index = <5>; /* The UCC number, 1-7*/ |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 334 | port-number = <0>; /* Which ttyQEx device */ |
| 335 | soft-uart; /* We need Soft-UART */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 336 | reg = <0x2400 0x200>; |
| 337 | interrupts = <40>; /* From Table 18-12 */ |
Timur Tabi | 845cf50 | 2008-01-09 17:35:05 -0600 | [diff] [blame] | 338 | interrupt-parent = < &qeic >; |
| 339 | /* |
| 340 | * For Soft-UART, we need to set TX to 1X, which |
| 341 | * means specifying separate clock sources. |
| 342 | */ |
| 343 | rx-clock-name = "brg5"; |
| 344 | tx-clock-name = "brg6"; |
| 345 | pio-handle = < &pio5 >; |
| 346 | }; |
| 347 | |
| 348 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 349 | mdio@2320 { |
| 350 | #address-cells = <1>; |
| 351 | #size-cells = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 352 | reg = <0x2320 0x18>; |
Anton Vorontsov | d0a2f82 | 2008-01-24 18:40:01 +0300 | [diff] [blame] | 353 | compatible = "fsl,ucc-mdio"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 354 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 355 | phy3: ethernet-phy@03 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 356 | interrupt-parent = <&ipic>; |
| 357 | interrupts = <17 0x8>; |
| 358 | reg = <0x3>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 359 | }; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 360 | phy4: ethernet-phy@04 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 361 | interrupt-parent = <&ipic>; |
| 362 | interrupts = <18 0x8>; |
| 363 | reg = <0x4>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 364 | }; |
| 365 | }; |
| 366 | |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 367 | qeic: interrupt-controller@80 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 368 | interrupt-controller; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 369 | compatible = "fsl,qe-ic"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 370 | #address-cells = <0>; |
| 371 | #interrupt-cells = <1>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 372 | reg = <0x80 0x80>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 373 | big-endian; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 374 | interrupts = <32 0x8 33 0x8>; //high:32 low:33 |
| 375 | interrupt-parent = <&ipic>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 376 | }; |
| 377 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 378 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 379 | pci0: pci@e0008500 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 380 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 381 | interrupt-map = < |
| 382 | /* IDSEL 0x11 AD17 */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 383 | 0x8800 0x0 0x0 0x1 &ipic 20 0x8 |
| 384 | 0x8800 0x0 0x0 0x2 &ipic 21 0x8 |
| 385 | 0x8800 0x0 0x0 0x3 &ipic 22 0x8 |
| 386 | 0x8800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 387 | |
| 388 | /* IDSEL 0x12 AD18 */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 389 | 0x9000 0x0 0x0 0x1 &ipic 22 0x8 |
| 390 | 0x9000 0x0 0x0 0x2 &ipic 23 0x8 |
| 391 | 0x9000 0x0 0x0 0x3 &ipic 20 0x8 |
| 392 | 0x9000 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 393 | |
| 394 | /* IDSEL 0x13 AD19 */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 395 | 0x9800 0x0 0x0 0x1 &ipic 23 0x8 |
| 396 | 0x9800 0x0 0x0 0x2 &ipic 20 0x8 |
| 397 | 0x9800 0x0 0x0 0x3 &ipic 21 0x8 |
| 398 | 0x9800 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 399 | |
| 400 | /* IDSEL 0x15 AD21*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 401 | 0xa800 0x0 0x0 0x1 &ipic 20 0x8 |
| 402 | 0xa800 0x0 0x0 0x2 &ipic 21 0x8 |
| 403 | 0xa800 0x0 0x0 0x3 &ipic 22 0x8 |
| 404 | 0xa800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 405 | |
| 406 | /* IDSEL 0x16 AD22*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 407 | 0xb000 0x0 0x0 0x1 &ipic 23 0x8 |
| 408 | 0xb000 0x0 0x0 0x2 &ipic 20 0x8 |
| 409 | 0xb000 0x0 0x0 0x3 &ipic 21 0x8 |
| 410 | 0xb000 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 411 | |
| 412 | /* IDSEL 0x17 AD23*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 413 | 0xb800 0x0 0x0 0x1 &ipic 22 0x8 |
| 414 | 0xb800 0x0 0x0 0x2 &ipic 23 0x8 |
| 415 | 0xb800 0x0 0x0 0x3 &ipic 20 0x8 |
| 416 | 0xb800 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 417 | |
| 418 | /* IDSEL 0x18 AD24*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 419 | 0xc000 0x0 0x0 0x1 &ipic 21 0x8 |
| 420 | 0xc000 0x0 0x0 0x2 &ipic 22 0x8 |
| 421 | 0xc000 0x0 0x0 0x3 &ipic 23 0x8 |
| 422 | 0xc000 0x0 0x0 0x4 &ipic 20 0x8>; |
| 423 | interrupt-parent = <&ipic>; |
| 424 | interrupts = <66 0x8>; |
| 425 | bus-range = <0x0 0x0>; |
| 426 | ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 427 | 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
| 428 | 0x01000000 0x0 0x00000000 0xd0000000 0x0 0x00100000>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 429 | clock-frequency = <0>; |
| 430 | #interrupt-cells = <1>; |
| 431 | #size-cells = <2>; |
| 432 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 433 | reg = <0xe0008500 0x100 /* internal registers */ |
| 434 | 0xe0008300 0x8>; /* config space access registers */ |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 435 | compatible = "fsl,mpc8349-pci"; |
| 436 | device_type = "pci"; |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 437 | sleep = <&pmc 0x00010000>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 438 | }; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 439 | }; |