2 * Copyright (c) 2015 Landon Fuller <landon@landonf.org>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer,
10 * without modification.
11 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
12 * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
13 * redistribution must be conditioned upon including a substantially
14 * similar Disclaimer requirement for further binary redistribution.
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
20 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
30 #include <sys/cdefs.h>
31 __FBSDID("$FreeBSD$");
34 * Resource specifications and register maps for Broadcom PCI/PCIe cores
35 * configured as PCI-BHND bridges.
38 #include <sys/param.h>
41 #include <machine/bus.h>
43 #include <machine/resource.h>
45 #include <dev/pci/pcireg.h>
46 #include <dev/pci/pcivar.h>
48 #include <dev/bhnd/cores/pci/bhnd_pcireg.h>
49 #include <dev/bhnd/cores/pcie2/bhnd_pcie2_reg.h>
52 #include "bhndb_pcireg.h"
54 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v0;
55 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v1_pci;
56 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v1_pcie;
57 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v2;
58 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v3;
61 * Define a bhndb_hw match entry.
63 * @param _name The entry name.
64 * @param _vers The configuration version associated with this entry.
66 #define BHNDB_HW_MATCH(_name, _vers, ...) { \
68 .hw_reqs = _BHNDB_HW_REQ_ARRAY(__VA_ARGS__), \
69 .num_hw_reqs = (sizeof(_BHNDB_HW_REQ_ARRAY(__VA_ARGS__)) / \
70 sizeof(_BHNDB_HW_REQ_ARRAY(__VA_ARGS__)[0])), \
71 .cfg = &bhndb_pci_hwcfg_ ## _vers \
73 #define _BHNDB_HW_REQ_ARRAY(...) (struct bhnd_core_match[]) { __VA_ARGS__ }
76 * Generic PCI-SIBA bridge configuration usable with all known siba(4)-based
77 * PCI devices; this configuration is adequate for enumerating a bridged
78 * siba(4) bus to determine the full hardware configuration.
81 * - Compatible with PCI_V0, PCI_V1, PCI_V2, and PCI_V3 devices.
82 * - Compatible with siba(4) bus enumeration.
83 * - Compatible with bcma(4) bus enumeration if the ChipCommon core is mapped
84 * at the default enumeration address (0x18000000).
86 const struct bhndb_hwcfg bhndb_pci_siba_generic_hwcfg = {
87 .resource_specs = (const struct resource_spec[]) {
88 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
92 .register_windows = (const struct bhndb_regwin[]) {
93 /* bar0+0x0000: configurable backplane window */
95 .win_type = BHNDB_REGWIN_T_DYN,
96 .win_offset = BHNDB_PCI_V1_BAR0_WIN0_OFFSET,
97 .win_size = BHNDB_PCI_V1_BAR0_WIN0_SIZE,
99 .cfg_offset = BHNDB_PCI_V1_BAR0_WIN0_CONTROL
101 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
103 BHNDB_REGWIN_TABLE_END
106 /* DMA unsupported under generic configuration */
107 .dma_translations = NULL,
111 * Generic PCI-BCMA bridge configuration usable with all known bcma(4)-based
112 * PCI devices; this configuration is adequate for enumerating a bridged
113 * bcma(4) bus to determine the full hardware configuration.
116 * - Compatible with PCI_V1, PCI_V2, and PCI_V3 devices.
117 * - Compatible with both siba(4) and bcma(4) bus enumeration.
119 const struct bhndb_hwcfg bhndb_pci_bcma_generic_hwcfg = {
120 .resource_specs = (const struct resource_spec[]) {
121 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
125 .register_windows = (const struct bhndb_regwin[]) {
126 /* bar0+0x0000: configurable backplane window */
128 .win_type = BHNDB_REGWIN_T_DYN,
129 .win_offset = BHNDB_PCI_V1_BAR0_WIN0_OFFSET,
130 .win_size = BHNDB_PCI_V1_BAR0_WIN0_SIZE,
132 .cfg_offset = BHNDB_PCI_V1_BAR0_WIN0_CONTROL,
134 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
137 /* bar0+0x3000: chipc core registers */
139 .win_type = BHNDB_REGWIN_T_CORE,
140 .win_offset = BHNDB_PCI_V1_BAR0_CCREGS_OFFSET,
141 .win_size = BHNDB_PCI_V1_BAR0_CCREGS_SIZE,
143 .class = BHND_DEVCLASS_CC,
147 .port_type = BHND_PORT_DEVICE
149 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
152 BHNDB_REGWIN_TABLE_END
155 /* DMA unsupported under generic configuration */
156 .dma_translations = NULL,
160 * Hardware configuration tables for Broadcom HND PCI NICs.
162 const struct bhndb_hw bhndb_pci_generic_hw_table[] = {
164 BHNDB_HW_MATCH("PCI/v0 WLAN", v0,
167 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
168 BHND_MATCH_CORE_ID (BHND_COREID_PCI),
170 HWREV_LTE (BHNDB_PCI_V0_MAX_PCI_HWREV)),
171 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_PCI),
172 BHND_MATCH_CORE_UNIT (0)
177 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
178 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_WLAN),
179 BHND_MATCH_CORE_UNIT (0)
184 BHNDB_HW_MATCH("PCI/v1 WLAN", v1_pci,
187 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
188 BHND_MATCH_CORE_ID (BHND_COREID_PCI),
190 HWREV_GTE (BHNDB_PCI_V1_MIN_PCI_HWREV)),
191 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_PCI),
192 BHND_MATCH_CORE_UNIT (0)
197 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
198 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_WLAN),
199 BHND_MATCH_CORE_UNIT (0)
204 BHNDB_HW_MATCH("PCIe/v1 WLAN", v1_pcie,
207 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
208 BHND_MATCH_CORE_ID (BHND_COREID_PCIE),
209 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_PCIE),
210 BHND_MATCH_CORE_UNIT (0)
213 /* ChipCommon (revision <= 31) */
215 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
216 BHND_MATCH_CORE_ID (BHND_COREID_CC),
218 HWREV_LTE (BHNDB_PCI_V1_MAX_CHIPC_HWREV)),
219 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_CC),
220 BHND_MATCH_CORE_UNIT (0)
225 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
226 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_WLAN),
227 BHND_MATCH_CORE_UNIT (0)
232 BHNDB_HW_MATCH("PCIe/v2 WLAN", v2,
235 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
236 BHND_MATCH_CORE_ID (BHND_COREID_PCIE),
237 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_PCIE),
238 BHND_MATCH_CORE_UNIT (0)
241 /* ChipCommon (revision >= 32) */
243 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
244 BHND_MATCH_CORE_ID (BHND_COREID_CC),
246 HWREV_GTE (BHNDB_PCI_V2_MIN_CHIPC_HWREV)),
247 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_CC),
248 BHND_MATCH_CORE_UNIT (0)
253 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
254 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_WLAN),
255 BHND_MATCH_CORE_UNIT (0)
260 BHNDB_HW_MATCH("PCIe-Gen2/v3 WLAN", v3,
263 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
264 BHND_MATCH_CORE_ID (BHND_COREID_PCIE2),
265 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_PCIE),
266 BHND_MATCH_CORE_UNIT (0)
271 BHND_MATCH_CORE_VENDOR (BHND_MFGID_BCM),
272 BHND_MATCH_CORE_CLASS (BHND_DEVCLASS_WLAN),
273 BHND_MATCH_CORE_UNIT (0)
276 { NULL, NULL, 0, NULL }
280 * PCI_V0 hardware configuration.
283 * - PCI (cid=0x804, revision <= 12)
285 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v0 = {
286 .resource_specs = (const struct resource_spec[]) {
287 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
291 .register_windows = (const struct bhndb_regwin[]) {
292 /* bar0+0x0000: configurable backplane window */
294 .win_type = BHNDB_REGWIN_T_DYN,
295 .win_offset = BHNDB_PCI_V0_BAR0_WIN0_OFFSET,
296 .win_size = BHNDB_PCI_V0_BAR0_WIN0_SIZE,
298 .cfg_offset = BHNDB_PCI_V0_BAR0_WIN0_CONTROL
300 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
303 /* bar0+0x1000: sprom shadow */
305 .win_type = BHNDB_REGWIN_T_SPROM,
306 .win_offset = BHNDB_PCI_V0_BAR0_SPROM_OFFSET,
307 .win_size = BHNDB_PCI_V0_BAR0_SPROM_SIZE,
308 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
312 * bar0+0x1800: pci core registers.
314 * Does not include the SSB CFG registers found at the end of
315 * the 4K core register block; these are mapped non-contigiously
319 .win_type = BHNDB_REGWIN_T_CORE,
320 .win_offset = BHNDB_PCI_V0_BAR0_PCIREG_OFFSET,
321 .win_size = BHNDB_PCI_V0_BAR0_PCIREG_SIZE,
323 .class = BHND_DEVCLASS_PCI,
327 .port_type = BHND_PORT_DEVICE,
329 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
332 /* bar0+0x1E00: pci core (SSB CFG registers) */
334 .win_type = BHNDB_REGWIN_T_CORE,
335 .win_offset = BHNDB_PCI_V0_BAR0_PCISB_OFFSET ,
336 .win_size = BHNDB_PCI_V0_BAR0_PCISB_SIZE,
338 .class = BHND_DEVCLASS_PCI,
342 .offset = BHNDB_PCI_V0_BAR0_PCISB_COREOFF,
343 .port_type = BHND_PORT_DEVICE
345 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
348 BHNDB_REGWIN_TABLE_END
351 .dma_translations = (const struct bhnd_dma_translation[]) {
353 .base_addr = BHND_PCI_DMA32_TRANSLATION,
354 .addr_mask = ~BHND_PCI_DMA32_MASK,
355 .addrext_mask = BHND_PCI_DMA32_MASK
357 BHND_DMA_TRANSLATION_TABLE_END
362 * PCI_V1 (PCI-only) hardware configuration (PCI version)
365 * - PCI (cid=0x804, revision >= 13)
367 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v1_pci = {
368 .resource_specs = (const struct resource_spec[]) {
369 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
373 .register_windows = (const struct bhndb_regwin[]) {
374 /* bar0+0x0000: configurable backplane window */
376 .win_type = BHNDB_REGWIN_T_DYN,
377 .win_offset = BHNDB_PCI_V1_BAR0_WIN0_OFFSET,
378 .win_size = BHNDB_PCI_V1_BAR0_WIN0_SIZE,
380 .cfg_offset = BHNDB_PCI_V1_BAR0_WIN0_CONTROL
382 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
385 /* bar0+0x1000: sprom shadow */
387 .win_type = BHNDB_REGWIN_T_SPROM,
388 .win_offset = BHNDB_PCI_V1_BAR0_SPROM_OFFSET,
389 .win_size = BHNDB_PCI_V1_BAR0_SPROM_SIZE,
390 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
393 /* bar0+0x2000: pci core registers */
395 .win_type = BHNDB_REGWIN_T_CORE,
396 .win_offset = BHNDB_PCI_V1_BAR0_PCIREG_OFFSET,
397 .win_size = BHNDB_PCI_V1_BAR0_PCIREG_SIZE,
399 .class = BHND_DEVCLASS_PCI,
403 .port_type = BHND_PORT_DEVICE
405 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
408 /* bar0+0x3000: chipc core registers */
410 .win_type = BHNDB_REGWIN_T_CORE,
411 .win_offset = BHNDB_PCI_V1_BAR0_CCREGS_OFFSET,
412 .win_size = BHNDB_PCI_V1_BAR0_CCREGS_SIZE,
414 .class = BHND_DEVCLASS_CC,
418 .port_type = BHND_PORT_DEVICE
420 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
423 BHNDB_REGWIN_TABLE_END
426 .dma_translations = (const struct bhnd_dma_translation[]) {
428 .base_addr = BHND_PCI_DMA32_TRANSLATION,
429 .addr_mask = ~BHND_PCI_DMA32_MASK,
430 .addrext_mask = BHND_PCI_DMA32_MASK
432 BHND_DMA_TRANSLATION_TABLE_END
437 * PCI_V1 hardware configuration (PCIE version).
440 * - PCIE (cid=0x820) with ChipCommon (revision <= 31)
442 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v1_pcie = {
443 .resource_specs = (const struct resource_spec[]) {
444 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
448 .register_windows = (const struct bhndb_regwin[]) {
449 /* bar0+0x0000: configurable backplane window */
451 .win_type = BHNDB_REGWIN_T_DYN,
452 .win_offset = BHNDB_PCI_V1_BAR0_WIN0_OFFSET,
453 .win_size = BHNDB_PCI_V1_BAR0_WIN0_SIZE,
455 .cfg_offset = BHNDB_PCI_V1_BAR0_WIN0_CONTROL
457 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
460 /* bar0+0x1000: sprom shadow */
462 .win_type = BHNDB_REGWIN_T_SPROM,
463 .win_offset = BHNDB_PCI_V1_BAR0_SPROM_OFFSET,
464 .win_size = BHNDB_PCI_V1_BAR0_SPROM_SIZE,
465 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
468 /* bar0+0x2000: pci core registers */
470 .win_type = BHNDB_REGWIN_T_CORE,
471 .win_offset = BHNDB_PCI_V1_BAR0_PCIREG_OFFSET,
472 .win_size = BHNDB_PCI_V1_BAR0_PCIREG_SIZE,
474 .class = BHND_DEVCLASS_PCIE,
478 .port_type = BHND_PORT_DEVICE
480 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
483 /* bar0+0x3000: chipc core registers */
485 .win_type = BHNDB_REGWIN_T_CORE,
486 .win_offset = BHNDB_PCI_V1_BAR0_CCREGS_OFFSET,
487 .win_size = BHNDB_PCI_V1_BAR0_CCREGS_SIZE,
489 .class = BHND_DEVCLASS_CC,
493 .port_type = BHND_PORT_DEVICE
495 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
498 BHNDB_REGWIN_TABLE_END
501 .dma_translations = (const struct bhnd_dma_translation[]) {
503 .base_addr = BHND_PCIE_DMA32_TRANSLATION,
504 .addr_mask = ~BHND_PCIE_DMA32_MASK,
505 .addrext_mask = BHND_PCIE_DMA32_MASK
508 .base_addr = BHND_PCIE_DMA64_TRANSLATION,
509 .addr_mask = ~BHND_PCIE_DMA64_MASK,
510 .addrext_mask = BHND_PCIE_DMA64_MASK
512 BHND_DMA_TRANSLATION_TABLE_END
517 * PCI_V2 hardware configuration.
520 * - PCIE (cid=0x820) with ChipCommon (revision >= 32)
522 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v2 = {
523 .resource_specs = (const struct resource_spec[]) {
524 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
528 .register_windows = (const struct bhndb_regwin[]) {
529 /* bar0+0x0000: configurable backplane window */
531 .win_type = BHNDB_REGWIN_T_DYN,
532 .win_offset = BHNDB_PCI_V2_BAR0_WIN0_OFFSET,
533 .win_size = BHNDB_PCI_V2_BAR0_WIN0_SIZE,
535 .cfg_offset = BHNDB_PCI_V2_BAR0_WIN0_CONTROL,
537 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
540 /* bar0+0x1000: configurable backplane window */
542 .win_type = BHNDB_REGWIN_T_DYN,
543 .win_offset = BHNDB_PCI_V2_BAR0_WIN1_OFFSET,
544 .win_size = BHNDB_PCI_V2_BAR0_WIN1_SIZE,
546 .cfg_offset = BHNDB_PCI_V2_BAR0_WIN1_CONTROL,
548 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
551 /* bar0+0x2000: pcie core registers */
553 .win_type = BHNDB_REGWIN_T_CORE,
554 .win_offset = BHNDB_PCI_V2_BAR0_PCIREG_OFFSET,
555 .win_size = BHNDB_PCI_V2_BAR0_PCIREG_SIZE,
557 .class = BHND_DEVCLASS_PCIE,
561 .port_type = BHND_PORT_DEVICE
563 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
566 /* bar0+0x3000: chipc core registers */
568 .win_type = BHNDB_REGWIN_T_CORE,
569 .win_offset = BHNDB_PCI_V2_BAR0_CCREGS_OFFSET,
570 .win_size = BHNDB_PCI_V2_BAR0_CCREGS_SIZE,
572 .class = BHND_DEVCLASS_CC,
576 .port_type = BHND_PORT_DEVICE
578 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
581 BHNDB_REGWIN_TABLE_END
584 .dma_translations = (const struct bhnd_dma_translation[]) {
586 .base_addr = BHND_PCIE_DMA32_TRANSLATION,
587 .addr_mask = ~BHND_PCIE_DMA32_MASK,
588 .addrext_mask = BHND_PCIE_DMA32_MASK
591 .base_addr = BHND_PCIE_DMA64_TRANSLATION,
592 .addr_mask = ~BHND_PCIE_DMA64_MASK,
593 .addrext_mask = BHND_PCIE_DMA64_MASK
595 BHND_DMA_TRANSLATION_TABLE_END
600 * PCI_V3 hardware configuration.
603 * - PCIE2 (cid=0x83c)
605 static const struct bhndb_hwcfg bhndb_pci_hwcfg_v3 = {
606 .resource_specs = (const struct resource_spec[]) {
607 { SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
611 .register_windows = (const struct bhndb_regwin[]) {
612 /* bar0+0x0000: configurable backplane window */
614 .win_type = BHNDB_REGWIN_T_DYN,
615 .win_offset = BHNDB_PCI_V3_BAR0_WIN0_OFFSET,
616 .win_size = BHNDB_PCI_V3_BAR0_WIN0_SIZE,
618 .cfg_offset = BHNDB_PCI_V3_BAR0_WIN0_CONTROL,
620 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
623 /* bar0+0x1000: configurable backplane window */
625 .win_type = BHNDB_REGWIN_T_DYN,
626 .win_offset = BHNDB_PCI_V3_BAR0_WIN1_OFFSET,
627 .win_size = BHNDB_PCI_V3_BAR0_WIN1_SIZE,
629 .cfg_offset = BHNDB_PCI_V3_BAR0_WIN1_CONTROL,
631 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
634 /* bar0+0x2000: pcie core registers */
636 .win_type = BHNDB_REGWIN_T_CORE,
637 .win_offset = BHNDB_PCI_V3_BAR0_PCIREG_OFFSET,
638 .win_size = BHNDB_PCI_V3_BAR0_PCIREG_SIZE,
640 .class = BHND_DEVCLASS_PCIE,
644 .port_type = BHND_PORT_DEVICE
646 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
649 /* bar0+0x3000: chipc core registers */
651 .win_type = BHNDB_REGWIN_T_CORE,
652 .win_offset = BHNDB_PCI_V3_BAR0_CCREGS_OFFSET,
653 .win_size = BHNDB_PCI_V3_BAR0_CCREGS_SIZE,
655 .class = BHND_DEVCLASS_CC,
659 .port_type = BHND_PORT_DEVICE
661 .res = { SYS_RES_MEMORY, PCIR_BAR(0) }
664 BHNDB_REGWIN_TABLE_END
667 .dma_translations = (const struct bhnd_dma_translation[]) {
669 .base_addr = BHND_PCIE2_DMA64_TRANSLATION,
670 .addr_mask = ~BHND_PCIE2_DMA64_MASK,
671 .addrext_mask = BHND_PCIE_DMA64_MASK
673 BHND_DMA_TRANSLATION_TABLE_END