1 1.23 thorpej # $NetBSD: files.discovery,v 1.23 2021/04/24 23:36:56 thorpej Exp $ 2 1.1 matt # 3 1.1 matt # Config file and device description for machine-independent support for 4 1.7 nisimura # the Marvell (formerly Galileo Technology) Discovery system controllers. 5 1.1 matt # 6 1.1 matt # Ports that include this must also supply some glue code of their own. 7 1.1 matt # Notably: 8 1.1 matt # * devices here are indirectly configured by the configuration 9 1.7 nisimura # file since different systems will be configured somewhat 10 1.1 matt # differently, 11 1.1 matt # * The Multi-Purpose Port (MPP) is configured differently on 12 1.1 matt # different systems, 13 1.1 matt # * CPU attachment is handled in largely a machine-independent 14 1.1 matt # fashion, 15 1.1 matt # * The interrupts on different systems will be handled differently. 16 1.1 matt # 17 1.1 matt # Systems with multiple GT controllers are not currently handled by this 18 1.1 matt # code. 19 1.1 matt 20 1.3 matt defparam opt_marvell.h MPSC_CONSOLE 21 1.1 matt defparam opt_marvell.h GT_MPSC_DEFAULT_BAUD_RATE 22 1.3 matt defparam opt_marvell.h GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE 23 1.11 kiyohara defparam opt_marvell.h GT_MPP_WATCHDOG 24 1.11 kiyohara defflag opt_marvell.h GT_DEVBUS GT_ECC GT_COMM GT_WATCHDOG 25 1.1 matt 26 1.23 thorpej device gt { [unit = -1], [offset = -1], [irq = -1] } 27 1.11 kiyohara file dev/marvell/gt.c gt 28 1.1 matt 29 1.11 kiyohara # PCI Interface 30 1.14 kiyohara device gtpci: pcibus 31 1.15 kiyohara file dev/marvell/gtpci.c gtpci & (gtpci_gt|gtpci_mbus) needs-flag 32 1.11 kiyohara attach gtpci at gt with gtpci_gt 33 1.11 kiyohara 34 1.11 kiyohara # PCI Express Interface 35 1.15 kiyohara device mvpex: pcibus 36 1.15 kiyohara file dev/marvell/mvpex.c mvpex & (mvpex_gt|mvpex_mbus) needs-flag 37 1.15 kiyohara attach mvpex at gt with mvpex_gt 38 1.1 matt 39 1.1 matt # Fast ethernet 40 1.23 thorpej device gfec { [port = -1], [irq = -1] } 41 1.11 kiyohara attach gfec at gt 42 1.1 matt device gfe: ether, ifnet, arp, mii 43 1.11 kiyohara attach gfe at gfec 44 1.11 kiyohara file dev/marvell/if_gfe.c gfec | gfe 45 1.1 matt 46 1.11 kiyohara # Multi-Protocol Serial controller 47 1.1 matt device gtmpsc: tty 48 1.1 matt attach gtmpsc at gt 49 1.11 kiyohara file dev/marvell/gtmpsc.c gtmpsc needs-flag 50 1.2 matt 51 1.23 thorpej device obio { [offset = -1], [size = 0], [irq = -1] } 52 1.2 matt attach obio at gt 53 1.11 kiyohara file dev/marvell/obio.c obio 54 1.9 matt 55 1.11 kiyohara # Serial-ATA II Host Controller (SATAHC) 56 1.16 kiyohara attach mvsata at gt with mvsata_gt 57 1.16 kiyohara file dev/marvell/mvsata_mv.c mvsata_gt | mvsata_mbus 58 1.11 kiyohara 59 1.11 kiyohara # Gigabit Ethernet Controller Interface 60 1.23 thorpej device mvgbec { [port = -1], [irq = -1] } 61 1.13 kiyohara attach mvgbec at gt with mvgbec_gt 62 1.13 kiyohara device mvgbe: ether, ifnet, arp, mii 63 1.13 kiyohara attach mvgbe at mvgbec 64 1.13 kiyohara file dev/marvell/if_mvgbe.c mvgbec | mvgbe 65 1.11 kiyohara 66 1.11 kiyohara # USB 2.0 Interface 67 1.18 kiyohara attach ehci at gt with mvusb_gt 68 1.18 kiyohara file dev/marvell/ehci_mv.c mvusb_gt | mvusb_mbus 69 1.11 kiyohara 70 1.11 kiyohara # Cryptographic Engines and Security Accelerator 71 1.19 kiyohara device mvcesa: opencrypto 72 1.19 kiyohara file dev/marvell/mvcesa.c mvcesa 73 1.19 kiyohara attach mvcesa at gt with mvcesa_gt 74 1.11 kiyohara 75 1.11 kiyohara # Two-Wire Serial Interface 76 1.22 matt device gttwsi: i2cbus, mvi2c 77 1.11 kiyohara file dev/marvell/gttwsi.c gttwsi 78 1.11 kiyohara attach gttwsi at gt with gttwsi_gt 79 1.11 kiyohara 80 1.11 kiyohara # UART Interface 81 1.15 kiyohara attach com at gt with mvuart_gt 82 1.15 kiyohara file dev/marvell/com_mv.c mvuart_gt | mvuart_mbus 83 1.11 kiyohara 84 1.11 kiyohara # IDMA Controller and XOR Engine 85 1.14 kiyohara device gtidmac: dmover_service 86 1.12 kiyohara file dev/marvell/gtidmac.c gtidmac 87 1.12 kiyohara attach gtidmac at gt with gtidmac_gt 88 1.17 kiyohara 89 1.17 kiyohara # Secure Digital Input/Output (SDIO) Interface 90 1.17 kiyohara device mvsdio: sdmmcbus 91 1.17 kiyohara file dev/marvell/mvsdio.c mvsdio 92 1.17 kiyohara defparam opt_mvsdio.h MVSDIO_CARD_DETECT 93 1.17 kiyohara MVSDIO_WRITE_PROTECT 94 1.20 kiyohara 95 1.20 kiyohara # SPI Serial Peripheral Interface 96 1.20 kiyohara device mvspi: spibus 97 1.20 kiyohara file dev/marvell/mvspi.c mvspi 98