Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 2 | /* |
| 3 | * MPC832x RDB Device Tree Source |
| 4 | * |
| 5 | * Copyright 2007 Freescale Semiconductor Inc. |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 6 | */ |
| 7 | |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 8 | /dts-v1/; |
| 9 | |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 10 | / { |
| 11 | model = "MPC8323ERDB"; |
| 12 | compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB"; |
| 13 | #address-cells = <1>; |
| 14 | #size-cells = <1>; |
| 15 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 16 | aliases { |
Michael Barkowski | e871809 | 2008-11-13 10:18:28 -0500 | [diff] [blame] | 17 | ethernet0 = &enet1; |
| 18 | ethernet1 = &enet0; |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 19 | serial0 = &serial0; |
| 20 | serial1 = &serial1; |
| 21 | pci0 = &pci0; |
| 22 | }; |
| 23 | |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 24 | cpus { |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <0>; |
| 27 | |
| 28 | PowerPC,8323@0 { |
| 29 | device_type = "cpu"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 30 | reg = <0x0>; |
| 31 | d-cache-line-size = <0x20>; // 32 bytes |
| 32 | i-cache-line-size = <0x20>; // 32 bytes |
| 33 | d-cache-size = <16384>; // L1, 16K |
| 34 | i-cache-size = <16384>; // L1, 16K |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 35 | timebase-frequency = <0>; |
| 36 | bus-frequency = <0>; |
| 37 | clock-frequency = <0>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 38 | }; |
| 39 | }; |
| 40 | |
| 41 | memory { |
| 42 | device_type = "memory"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 43 | reg = <0x00000000 0x04000000>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | soc8323@e0000000 { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 49 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 50 | compatible = "simple-bus"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 51 | ranges = <0x0 0xe0000000 0x00100000>; |
| 52 | reg = <0xe0000000 0x00000200>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 53 | bus-frequency = <0>; |
| 54 | |
| 55 | wdt@200 { |
| 56 | device_type = "watchdog"; |
| 57 | compatible = "mpc83xx_wdt"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 58 | reg = <0x200 0x100>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 59 | }; |
| 60 | |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 61 | pmc: power@b00 { |
| 62 | compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc"; |
| 63 | reg = <0xb00 0x100 0xa00 0x100>; |
| 64 | interrupts = <80 0x8>; |
| 65 | interrupt-parent = <&ipic>; |
| 66 | }; |
| 67 | |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 68 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 69 | #address-cells = <1>; |
| 70 | #size-cells = <0>; |
| 71 | cell-index = <0>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 72 | compatible = "fsl-i2c"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 73 | reg = <0x3000 0x100>; |
| 74 | interrupts = <14 0x8>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 75 | interrupt-parent = <&ipic>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 76 | dfsrr; |
| 77 | }; |
| 78 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 79 | serial0: serial@4500 { |
| 80 | cell-index = <0>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 81 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 82 | compatible = "fsl,ns16550", "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 83 | reg = <0x4500 0x100>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 84 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 85 | interrupts = <9 0x8>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 86 | interrupt-parent = <&ipic>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 87 | }; |
| 88 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 89 | serial1: serial@4600 { |
| 90 | cell-index = <1>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 91 | device_type = "serial"; |
Kumar Gala | f706bed | 2011-11-28 13:58:53 -0600 | [diff] [blame] | 92 | compatible = "fsl,ns16550", "ns16550"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 93 | reg = <0x4600 0x100>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 94 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 95 | interrupts = <10 0x8>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 96 | interrupt-parent = <&ipic>; |
| 97 | }; |
| 98 | |
| 99 | dma@82a8 { |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <1>; |
| 102 | compatible = "fsl,mpc8323-dma", "fsl,elo-dma"; |
| 103 | reg = <0x82a8 4>; |
| 104 | ranges = <0 0x8100 0x1a8>; |
| 105 | interrupt-parent = <&ipic>; |
| 106 | interrupts = <71 8>; |
| 107 | cell-index = <0>; |
| 108 | dma-channel@0 { |
| 109 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 110 | reg = <0 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 111 | cell-index = <0>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 112 | interrupt-parent = <&ipic>; |
| 113 | interrupts = <71 8>; |
| 114 | }; |
| 115 | dma-channel@80 { |
| 116 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 117 | reg = <0x80 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 118 | cell-index = <1>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 119 | interrupt-parent = <&ipic>; |
| 120 | interrupts = <71 8>; |
| 121 | }; |
| 122 | dma-channel@100 { |
| 123 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 124 | reg = <0x100 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 125 | cell-index = <2>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 126 | interrupt-parent = <&ipic>; |
| 127 | interrupts = <71 8>; |
| 128 | }; |
| 129 | dma-channel@180 { |
| 130 | compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; |
| 131 | reg = <0x180 0x28>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 132 | cell-index = <3>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 133 | interrupt-parent = <&ipic>; |
| 134 | interrupts = <71 8>; |
| 135 | }; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 136 | }; |
| 137 | |
| 138 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 139 | compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; |
| 140 | reg = <0x30000 0x10000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 141 | interrupts = <11 0x8>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 142 | interrupt-parent = <&ipic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 143 | fsl,num-channels = <1>; |
| 144 | fsl,channel-fifo-len = <24>; |
| 145 | fsl,exec-units-mask = <0x4c>; |
| 146 | fsl,descriptor-types-mask = <0x0122003f>; |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 147 | sleep = <&pmc 0x03000000>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 148 | }; |
| 149 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 150 | ipic:pic@700 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 151 | interrupt-controller; |
| 152 | #address-cells = <0>; |
| 153 | #interrupt-cells = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 154 | reg = <0x700 0x100>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 155 | device_type = "ipic"; |
| 156 | }; |
| 157 | |
| 158 | par_io@1400 { |
Anton Vorontsov | 7545828 | 2009-03-31 15:24:39 -0700 | [diff] [blame] | 159 | #address-cells = <1>; |
| 160 | #size-cells = <1>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 161 | reg = <0x1400 0x100>; |
Anton Vorontsov | 7545828 | 2009-03-31 15:24:39 -0700 | [diff] [blame] | 162 | ranges = <3 0x1448 0x18>; |
| 163 | compatible = "fsl,mpc8323-qe-pario"; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 164 | device_type = "par_io"; |
| 165 | num-ports = <7>; |
| 166 | |
Anton Vorontsov | 7545828 | 2009-03-31 15:24:39 -0700 | [diff] [blame] | 167 | qe_pio_d: gpio-controller@1448 { |
| 168 | #gpio-cells = <2>; |
| 169 | compatible = "fsl,mpc8323-qe-pario-bank"; |
| 170 | reg = <3 0x18>; |
| 171 | gpio-controller; |
| 172 | }; |
| 173 | |
Mathieu Malaterre | 600ecc1 | 2017-12-14 17:54:00 +0100 | [diff] [blame] | 174 | ucc2pio:ucc_pin@2 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 175 | pio-map = < |
| 176 | /* port pin dir open_drain assignment has_irq */ |
| 177 | 3 4 3 0 2 0 /* MDIO */ |
| 178 | 3 5 1 0 2 0 /* MDC */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 179 | 3 21 2 0 1 0 /* RX_CLK (CLK16) */ |
| 180 | 3 23 2 0 1 0 /* TX_CLK (CLK3) */ |
| 181 | 0 18 1 0 1 0 /* TxD0 */ |
| 182 | 0 19 1 0 1 0 /* TxD1 */ |
| 183 | 0 20 1 0 1 0 /* TxD2 */ |
| 184 | 0 21 1 0 1 0 /* TxD3 */ |
| 185 | 0 22 2 0 1 0 /* RxD0 */ |
| 186 | 0 23 2 0 1 0 /* RxD1 */ |
| 187 | 0 24 2 0 1 0 /* RxD2 */ |
| 188 | 0 25 2 0 1 0 /* RxD3 */ |
| 189 | 0 26 2 0 1 0 /* RX_ER */ |
| 190 | 0 27 1 0 1 0 /* TX_ER */ |
| 191 | 0 28 2 0 1 0 /* RX_DV */ |
| 192 | 0 29 2 0 1 0 /* COL */ |
| 193 | 0 30 1 0 1 0 /* TX_EN */ |
| 194 | 0 31 2 0 1 0>; /* CRS */ |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 195 | }; |
Mathieu Malaterre | 600ecc1 | 2017-12-14 17:54:00 +0100 | [diff] [blame] | 196 | ucc3pio:ucc_pin@3 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 197 | pio-map = < |
| 198 | /* port pin dir open_drain assignment has_irq */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 199 | 0 13 2 0 1 0 /* RX_CLK (CLK9) */ |
| 200 | 3 24 2 0 1 0 /* TX_CLK (CLK10) */ |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 201 | 1 0 1 0 1 0 /* TxD0 */ |
| 202 | 1 1 1 0 1 0 /* TxD1 */ |
| 203 | 1 2 1 0 1 0 /* TxD2 */ |
| 204 | 1 3 1 0 1 0 /* TxD3 */ |
| 205 | 1 4 2 0 1 0 /* RxD0 */ |
| 206 | 1 5 2 0 1 0 /* RxD1 */ |
| 207 | 1 6 2 0 1 0 /* RxD2 */ |
| 208 | 1 7 2 0 1 0 /* RxD3 */ |
| 209 | 1 8 2 0 1 0 /* RX_ER */ |
| 210 | 1 9 1 0 1 0 /* TX_ER */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 211 | 1 10 2 0 1 0 /* RX_DV */ |
| 212 | 1 11 2 0 1 0 /* COL */ |
| 213 | 1 12 1 0 1 0 /* TX_EN */ |
| 214 | 1 13 2 0 1 0>; /* CRS */ |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 215 | }; |
| 216 | }; |
| 217 | }; |
| 218 | |
| 219 | qe@e0100000 { |
| 220 | #address-cells = <1>; |
| 221 | #size-cells = <1>; |
| 222 | device_type = "qe"; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 223 | compatible = "fsl,qe"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 224 | ranges = <0x0 0xe0100000 0x00100000>; |
| 225 | reg = <0xe0100000 0x480>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 226 | brg-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 227 | bus-frequency = <198000000>; |
Haiying Wang | 01b14a9 | 2009-05-01 15:40:51 -0400 | [diff] [blame] | 228 | fsl,qe-num-riscs = <1>; |
| 229 | fsl,qe-num-snums = <28>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 230 | |
| 231 | muram@10000 { |
Paul Gortmaker | 390167e | 2008-01-28 02:27:51 -0500 | [diff] [blame] | 232 | #address-cells = <1>; |
| 233 | #size-cells = <1>; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 234 | compatible = "fsl,qe-muram", "fsl,cpm-muram"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 235 | ranges = <0x0 0x00010000 0x00004000>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 236 | |
| 237 | data-only@0 { |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 238 | compatible = "fsl,qe-muram-data", |
| 239 | "fsl,cpm-muram-data"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 240 | reg = <0x0 0x4000>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 241 | }; |
| 242 | }; |
| 243 | |
| 244 | spi@4c0 { |
Anton Vorontsov | 7545828 | 2009-03-31 15:24:39 -0700 | [diff] [blame] | 245 | #address-cells = <1>; |
| 246 | #size-cells = <0>; |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 247 | cell-index = <0>; |
| 248 | compatible = "fsl,spi"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 249 | reg = <0x4c0 0x40>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 250 | interrupts = <2>; |
| 251 | interrupt-parent = <&qeic>; |
Christophe Leroy | 8c452a8 | 2019-11-28 12:16:35 +0000 | [diff] [blame] | 252 | cs-gpios = <&qe_pio_d 13 0>; |
Anton Vorontsov | 8237bf0 | 2007-08-23 15:36:00 +0400 | [diff] [blame] | 253 | mode = "cpu-qe"; |
Anton Vorontsov | 7545828 | 2009-03-31 15:24:39 -0700 | [diff] [blame] | 254 | |
| 255 | mmc-slot@0 { |
| 256 | compatible = "fsl,mpc8323rdb-mmc-slot", |
| 257 | "mmc-spi-slot"; |
| 258 | reg = <0>; |
| 259 | gpios = <&qe_pio_d 14 1 |
| 260 | &qe_pio_d 15 0>; |
| 261 | voltage-ranges = <3300 3300>; |
| 262 | spi-max-frequency = <50000000>; |
| 263 | }; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 264 | }; |
| 265 | |
| 266 | spi@500 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 267 | cell-index = <1>; |
| 268 | compatible = "fsl,spi"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 269 | reg = <0x500 0x40>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 270 | interrupts = <1>; |
| 271 | interrupt-parent = <&qeic>; |
| 272 | mode = "cpu"; |
| 273 | }; |
| 274 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 275 | enet0: ucc@3000 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 276 | device_type = "network"; |
| 277 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 278 | cell-index = <2>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 279 | reg = <0x3000 0x200>; |
| 280 | interrupts = <33>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 281 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 282 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 283 | rx-clock-name = "clk16"; |
| 284 | tx-clock-name = "clk3"; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 285 | phy-handle = <&phy00>; |
| 286 | pio-handle = <&ucc2pio>; |
| 287 | }; |
| 288 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 289 | enet1: ucc@2200 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 290 | device_type = "network"; |
| 291 | compatible = "ucc_geth"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 292 | cell-index = <3>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 293 | reg = <0x2200 0x200>; |
| 294 | interrupts = <34>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 295 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 296 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame] | 297 | rx-clock-name = "clk9"; |
| 298 | tx-clock-name = "clk10"; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 299 | phy-handle = <&phy04>; |
| 300 | pio-handle = <&ucc3pio>; |
| 301 | }; |
| 302 | |
| 303 | mdio@3120 { |
| 304 | #address-cells = <1>; |
| 305 | #size-cells = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 306 | reg = <0x3120 0x18>; |
Anton Vorontsov | d0a2f82 | 2008-01-24 18:40:01 +0300 | [diff] [blame] | 307 | compatible = "fsl,ucc-mdio"; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 308 | |
Mathieu Malaterre | 600ecc1 | 2017-12-14 17:54:00 +0100 | [diff] [blame] | 309 | phy00:ethernet-phy@0 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 310 | reg = <0x0>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 311 | }; |
Mathieu Malaterre | 600ecc1 | 2017-12-14 17:54:00 +0100 | [diff] [blame] | 312 | phy04:ethernet-phy@4 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 313 | reg = <0x4>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 314 | }; |
| 315 | }; |
| 316 | |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 317 | qeic:interrupt-controller@80 { |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 318 | interrupt-controller; |
Anton Vorontsov | a2dd70a | 2008-01-24 18:39:59 +0300 | [diff] [blame] | 319 | compatible = "fsl,qe-ic"; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 320 | #address-cells = <0>; |
| 321 | #interrupt-cells = <1>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 322 | reg = <0x80 0x80>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 323 | big-endian; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 324 | interrupts = <32 0x8 33 0x8>; //high:32 low:33 |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 325 | interrupt-parent = <&ipic>; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 326 | }; |
| 327 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 328 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 329 | pci0: pci@e0008500 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 330 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 331 | interrupt-map = < |
| 332 | /* IDSEL 0x10 AD16 (USB) */ |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 333 | 0x8000 0x0 0x0 0x1 &ipic 17 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 334 | |
| 335 | /* IDSEL 0x11 AD17 (Mini1)*/ |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 336 | 0x8800 0x0 0x0 0x1 &ipic 18 0x8 |
| 337 | 0x8800 0x0 0x0 0x2 &ipic 19 0x8 |
| 338 | 0x8800 0x0 0x0 0x3 &ipic 20 0x8 |
| 339 | 0x8800 0x0 0x0 0x4 &ipic 48 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 340 | |
| 341 | /* IDSEL 0x12 AD18 (PCI/Mini2) */ |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 342 | 0x9000 0x0 0x0 0x1 &ipic 19 0x8 |
| 343 | 0x9000 0x0 0x0 0x2 &ipic 20 0x8 |
| 344 | 0x9000 0x0 0x0 0x3 &ipic 48 0x8 |
| 345 | 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 346 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 347 | interrupt-parent = <&ipic>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 348 | interrupts = <66 0x8>; |
| 349 | bus-range = <0x0 0x0>; |
| 350 | ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
| 351 | 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 352 | 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 353 | clock-frequency = <0>; |
| 354 | #interrupt-cells = <1>; |
| 355 | #size-cells = <2>; |
| 356 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 357 | reg = <0xe0008500 0x100 /* internal registers */ |
| 358 | 0xe0008300 0x8>; /* config space access registers */ |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 359 | compatible = "fsl,mpc8349-pci"; |
| 360 | device_type = "pci"; |
Anton Vorontsov | 1f8a25d | 2009-09-16 01:44:02 +0400 | [diff] [blame] | 361 | sleep = <&pmc 0x00010000>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 362 | }; |
Michael Barkowski | 23308c5 | 2007-03-19 09:15:28 -0500 | [diff] [blame] | 363 | }; |