xref: /netbsd-src/sys/arch/mips/conf/files.octeon (revision 3f80beca6580ca79d0f7cf069cf1ce7cc73433ee)
1*3f80becaSriastradh#	$NetBSD: files.octeon,v 1.13 2024/03/26 10:51:16 riastradh Exp $
2f693c922Shikaru
3f693c922Shikarufile	arch/mips/mips/locore_octeon.S
4f693c922Shikarufile	arch/mips/mips/bus_dma.c
5f693c922Shikarufile	arch/mips/mips/mips3_clock.c
6f693c922Shikarufile	arch/mips/mips/mips3_clockintr.c
7f693c922Shikaru
8f693c922Shikarufile	arch/mips/cavium/octeon_dma.c
9f693c922Shikarufile	arch/mips/cavium/octeon_intr.c
107beb3ab7Ssimonbfile	arch/mips/cavium/octeon_misc.c
11f693c922Shikaru
1284507484Sjmcneillfile	arch/mips/fdt/fdt_dma_machdep.c
1384507484Sjmcneill
1484507484Sjmcneilldevice	mainbus {}: fdt
15f693c922Shikaruattach	mainbus at root
16f693c922Shikarufile	arch/mips/cavium/mainbus.c		mainbus
17f693c922Shikarufile	arch/mips/cavium/mainbus_octeon1p.c	mainbus
18f693c922Shikaru
192d299731Smattdevice	cpunode { [core=-1] }
202d299731Smattattach	cpunode at mainbus
212d299731Smatt
22047792e8Smattdevice	cpu {}
23047792e8Smattattach	cpu at cpunode with cpu_cpunode
24047792e8Smatt
25047792e8Smattdevice	wdog: sysmon_wdog
26047792e8Smattattach	wdog at cpunode with wdog_cpunode
27047792e8Smatt
28047792e8Smattfile	arch/mips/cavium/octeon_cpunode.c	cpunode | cpu | wdog needs-flag
292d299731Smatt
3084507484Sjmcneill# FDT
3184507484Sjmcneilldevice	octintc
3284507484Sjmcneillattach	octintc at fdt
3384507484Sjmcneillfile	arch/mips/cavium/dev/octeon_intc.c	octintc
3484507484Sjmcneill
35571c5712Sjmcneilldevice	octcib
36571c5712Sjmcneillattach	octcib at fdt
37571c5712Sjmcneillfile	arch/mips/cavium/dev/octeon_cib.c	octcib
38571c5712Sjmcneill
399164e37dSjmcneillattach	xhci at fdt with octxhci
409164e37dSjmcneillfile	arch/mips/cavium/dev/octeon_xhci.c	octxhci
419164e37dSjmcneill
42f693c922Shikaru# I/O Bus
43f693c922Shikaru
44f693c922Shikarudevice	iobus {}
45f693c922Shikaruattach	iobus at mainbus
46f693c922Shikarufile	arch/mips/cavium/octeon_iobus.c		iobus
47f693c922Shikarufile	arch/mips/cavium/octeon1p_iobus.c	iobus
48f693c922Shikarufile	arch/mips/cavium/dev/octeon_fpa.c	iobus
49f693c922Shikarufile	arch/mips/cavium/dev/octeon_pow.c	iobus
50f693c922Shikarufile	arch/mips/cavium/dev/octeon_fau.c	iobus
51f693c922Shikarufile	arch/mips/cavium/dev/octeon_ipd.c	iobus
52f693c922Shikarufile	arch/mips/cavium/dev/octeon_pko.c	iobus
53f693c922Shikarufile	arch/mips/cavium/dev/octeon_asx.c	iobus
54f693c922Shikaru
55f693c922Shikaru# I/O Bus devices
56f693c922Shikaru
578aae866fSsimonbattach	com at iobus with com_iobus
588aae866fSsimonbfile	arch/mips/cavium/dev/octeon_uart.c	com_iobus
59f693c922Shikaruoptions 	COM_REGMAP
60f693c922Shikaru
618aae866fSsimonbdevice	octrnm
628aae866fSsimonbattach	octrnm at iobus
63*3f80becaSriastradhfile	arch/mips/cavium/dev/octeon_rnm.c	octrnm
64f693c922Shikaru
658aae866fSsimonbdevice	octtwsi: i2cbus
668aae866fSsimonbattach	octtwsi at iobus
678aae866fSsimonbfile	arch/mips/cavium/dev/octeon_twsi.c	octtwsi
68f693c922Shikaru
69f9650ca6Ssimonb# XXX rename to octspi?
70f9650ca6Ssimonbdevice	octmpi: spibus
718aae866fSsimonbattach	octmpi at iobus
728aae866fSsimonbfile	arch/mips/cavium/dev/octeon_mpi.c	octmpi
73f693c922Shikaru
74f9650ca6Ssimonbdevice	octcit {}
75f9650ca6Ssimonbattach	octcit at iobus
76f9650ca6Ssimonbfile	arch/mips/cavium/dev/octeon_cit.c	octcit
77f9650ca6Ssimonb
78f9650ca6Ssimonbdevice	octciu {}
79f9650ca6Ssimonbattach	octciu at iobus
80f9650ca6Ssimonbfile	arch/mips/cavium/dev/octeon_ciu.c	octciu
81f9650ca6Ssimonb
82f9650ca6Ssimonbdevice	octsmi {}
8384507484Sjmcneillattach	octsmi at iobus with octsmi_iobus
8484507484Sjmcneillattach	octsmi at fdt with octsmi_fdt
8584507484Sjmcneillfile	arch/mips/cavium/dev/octeon_smi.c	octsmi_iobus | octsmi_fdt
86f9650ca6Ssimonb
87f9650ca6Ssimonbdevice	octpip {}
8884507484Sjmcneillattach	octpip at iobus with octpip_iobus
8984507484Sjmcneillattach	octpip at fdt with octpip_fdt
9084507484Sjmcneillfile	arch/mips/cavium/dev/octeon_pip.c	octpip_iobus | octpip_fdt
91f9650ca6Ssimonb
928aae866fSsimonbdevice	octgmx {}
93f9650ca6Ssimonbattach	octgmx at octpip
948aae866fSsimonbfile	arch/mips/cavium/dev/octeon_gmx.c	octgmx
95f693c922Shikaru
96f693c922Shikaru# On-chip ethernet device(s)
97f693c922Shikarudevice	cnmac: ether, ifnet, arp, mii
988aae866fSsimonbattach	cnmac at octgmx
99f693c922Shikarufile	arch/mips/cavium/dev/if_cnmac.c		cnmac
100f693c922Shikaru
101f9650ca6Ssimonb# CN3xxx/CN5xxx USB
1028aae866fSsimonbattach	dwctwo at iobus with octdwctwo
1038aae866fSsimonbfile	arch/mips/cavium/dev/octeon_dwctwo.c	octdwctwo
104f693c922Shikaru
105f9650ca6Ssimonb# CN6xxx USB
106f9650ca6Ssimonbdevice	octuctl {}
107f9650ca6Ssimonbattach	octuctl at iobus with octuctl
108f9650ca6Ssimonbfile	arch/mips/cavium/dev/octeon_uctl.c	octuctl
109f9650ca6Ssimonb
110f9650ca6Ssimonb# CN7xxx USB
111f9650ca6Ssimonbdevice	octxctl {}
112f9650ca6Ssimonbattach	octxctl at iobus with octxctl
113f9650ca6Ssimonbfile	arch/mips/cavium/dev/octeon_xctl.c	octuctl
114f9650ca6Ssimonb
115f693c922Shikaru# Boot-Bus
116f693c922Shikaru
117f693c922Shikarudevice	bootbus {}
118f693c922Shikaruattach	bootbus at mainbus
119f693c922Shikarufile	arch/mips/cavium/octeon_bootbus.c	bootbus
120f693c922Shikaru
121f693c922Shikaru# Machine-independent I2O drivers.
122f693c922Shikaruinclude "dev/i2o/files.i2o"
123f693c922Shikaru
124f693c922Shikaru# Machine-independent SCSI drivers
125f693c922Shikaruinclude "dev/scsipi/files.scsipi"
126f693c922Shikaru
127f693c922Shikaru# Machine-independent ATA drivers
128f693c922Shikaruinclude "dev/ata/files.ata"
129f693c922Shikaru
130f693c922Shikaru# Machine-independent USB device support
131f693c922Shikaruinclude "dev/usb/files.usb"
132f693c922Shikaru
133f9650ca6Ssimonb## # Machine-independent PCI device support
134f9650ca6Ssimonb## include "dev/pci/files.pci"
135