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