xref: /freebsd/sys/arm/conf/NOTES (revision b8a7548399edb3015425dffb28fa34bb42fda33c)
16b29cf33SWarner Losh# arm-specific changes for doing a LINT build.
2ef01f773SMarcel Moolenaar
36b29cf33SWarner Losh
46b29cf33SWarner Loshmachine		arm armv7
56b29cf33SWarner Loshcpu		CPU_CORTEXA
66b29cf33SWarner Loshcpu		CPU_MV_PJ4B
76b29cf33SWarner Loshmakeoptions	CONF_CFLAGS+="-march=armv7a"
86b29cf33SWarner Losh
96b29cf33SWarner Losh# Add options for armv7 that are not in sys/conf/NOTES...
106b29cf33SWarner Losh
116b29cf33SWarner Loshoptions 	FDT			# Flattened device tree support
126b29cf33SWarner Loshoptions 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
136b29cf33SWarner Loshoptions 	LINUX_BOOT_ABI		# Process metadata passed from U-Boot
146b29cf33SWarner Loshoptions 	PLATFORM		# Include platform_if support
156b29cf33SWarner Loshoptions 	SMP			# Nearly all v7 SoCs are multicore
166b29cf33SWarner Loshoptions 	VFP			# Enable floating point hardware support
176b29cf33SWarner Losh
186b29cf33SWarner Losh# NOTE: dtrace introduces CDDL-licensed components into the kernel
196b29cf33SWarner Loshdevice		dtrace			# dtrace core
206b29cf33SWarner Loshdevice		dtraceall		# include all dtrace modules
216b29cf33SWarner Loshoptions 	KDTRACE_HOOKS
226b29cf33SWarner Losh
236b29cf33SWarner Losh# Add misc devices which are specific to various arm platforms...
246b29cf33SWarner Losh
256b29cf33SWarner Loshdevice		generic_timer   # ARM Generic Timer
266b29cf33SWarner Loshdevice		gic		# Interrupt controller
276b29cf33SWarner Loshdevice		gpio		# gpio interface and bus
286b29cf33SWarner Loshdevice		mpcore_timer	# ARM MPCore Timer
296b29cf33SWarner Loshdevice		pl310		# PL310 L2 cache controller
306b29cf33SWarner Loshdevice		pl330		# ARM PL330 dma controller
316b29cf33SWarner Loshdevice		pmu		# PMU support (for CCNT).
326b29cf33SWarner Loshdevice		twsi		# i2c controller on Marvel and Allwinner
336b29cf33SWarner Loshdevice		xdma		# xDMA framework for SoC on-chip dma controllers
346b29cf33SWarner Losh
3558d487c3SEmmanuel Vadot# PCI/PCIE
3658d487c3SEmmanuel Vadotdevice		pci
3758d487c3SEmmanuel Vadotdevice		pci_host_generic
3858d487c3SEmmanuel Vadot
3958d487c3SEmmanuel Vadot# Annapurna Alpine drivers
4058d487c3SEmmanuel Vadotdevice		al_ccu			# Alpine Cache Coherency Unit
4158d487c3SEmmanuel Vadotdevice		al_nb_service		# Alpine North Bridge Service
4258d487c3SEmmanuel Vadotdevice		al_iofic		# I/O Fabric Interrupt Controller
4358d487c3SEmmanuel Vadotdevice		al_serdes		# Serializer/Deserializer
4458d487c3SEmmanuel Vadotdevice		al_udma			# Universal DMA
4558d487c3SEmmanuel Vadotdevice		al_pci			# Annapurna Alpine PCI-E
4658d487c3SEmmanuel Vadot
4734223f74SEmmanuel Vadot# Add pseudo devices...
486b29cf33SWarner Losh
496b29cf33SWarner Loshdevice		clk
506b29cf33SWarner Loshdevice		phy
516b29cf33SWarner Loshdevice		hwreset
526b29cf33SWarner Loshdevice		nvmem
536b29cf33SWarner Loshdevice		regulator
546b29cf33SWarner Loshdevice		syscon
55ef01f773SMarcel Moolenaar
5690b8c0eaSEmmanuel Vadot# Backlight subsystem
5790b8c0eaSEmmanuel Vadotdevice		backlight
5890b8c0eaSEmmanuel Vadot
5969e4b35eSAndrew Turner# Serial (COM) ports
6069e4b35eSAndrew Turnerdevice		pl011
6169e4b35eSAndrew Turner
6269e4b35eSAndrew Turner# Early printf using the pl011 uart under the Arm FVP
6369e4b35eSAndrew Turneroptions 	SOCDEV_PA=0x1c090000
6469e4b35eSAndrew Turneroptions 	SOCDEV_VA=0x1c090000
6569e4b35eSAndrew Turneroptions 	EARLY_PRINTF=pl011
6669e4b35eSAndrew Turner
675364951dSIan Lepore# Undo options from sys/conf/NOTES that we do not want...
68ef01f773SMarcel Moolenaar
69ef01f773SMarcel Moolenaarnooptions	COMPAT_FREEBSD4
708ef1f44aSAndrew Turnernooptions	COMPAT_FREEBSD5
718ef1f44aSAndrew Turnernooptions	COMPAT_FREEBSD6
728ef1f44aSAndrew Turnernooptions	COMPAT_FREEBSD7
738ef1f44aSAndrew Turnernooptions	COMPAT_FREEBSD9
745364951dSIan Leporenooptions	PPC_PROBE_CHIPSET
755364951dSIan Leporenooptions	MAXCPU		# value is set in machine/param.h
765364951dSIan Lepore
77973d3a82SJohn Baldwinnooptions 	OFED
78973d3a82SJohn Baldwinnooptions 	SDP
79973d3a82SJohn Baldwinnooptions 	IPOIB
80973d3a82SJohn Baldwinnooptions 	IPOIB_CM
81973d3a82SJohn Baldwin
8276f22e35SJohn Baldwinnodevice	iser
83ef01f773SMarcel Moolenaarnodevice	sym
84ef01f773SMarcel Moolenaar
851ec22b44SJohn Baldwinnodevice	ccr
86ca7fe84aSNavdeep Parharnodevice	cxgbe
876af45170SJohn Baldwinnodevice	cxgbev
88ef01f773SMarcel Moolenaarnodevice	snd_cmi
894f4d15f0SRuslan Bukin
90f7ab0158SWarner Loshnodevice	mpr
91f7ab0158SWarner Loshnodevice	mps
925364951dSIan Lepore
93*b8a75483SWarner Loshnodevice	bnxt
94*b8a75483SWarner Losh
956b29cf33SWarner Losh# Build SOC-specific modules...
965364951dSIan Lepore
976b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="allwinner"
986b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="imx"
99fce985b0SIan Lepore
1006b29cf33SWarner Losh# Build dtb files...
101fce985b0SIan Lepore
1026b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="dtb/allwinner"
1036b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="dtb/imx6"
1046b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="dtb/nvidia"
1056b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="dtb/rpi"
1066b29cf33SWarner Loshmakeoptions	MODULES_EXTRA+="dtb/zynq"
107