xref: /freebsd/sys/arm/conf/NOTES (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# arm-specific changes for doing a LINT build.
2
3
4machine		arm armv7
5cpu		CPU_CORTEXA
6cpu		CPU_MV_PJ4B
7makeoptions	CONF_CFLAGS+="-march=armv7a"
8
9# Add options for armv7 that are not in sys/conf/NOTES...
10
11options 	FDT			# Flattened device tree support
12options 	FREEBSD_BOOT_LOADER	# Process metadata passed from loader(8)
13options 	LINUX_BOOT_ABI		# Process metadata passed from U-Boot
14options 	PLATFORM		# Include platform_if support
15options 	SMP			# Nearly all v7 SoCs are multicore
16options 	VFP			# Enable floating point hardware support
17
18# NOTE: dtrace introduces CDDL-licensed components into the kernel
19device		dtrace			# dtrace core
20device		dtraceall		# include all dtrace modules
21options 	KDTRACE_HOOKS
22
23# Add misc devices which are specific to various arm platforms...
24
25device		generic_timer   # ARM Generic Timer
26device		gic		# Interrupt controller
27device		gpio		# gpio interface and bus
28device		mpcore_timer	# ARM MPCore Timer
29device		pl310		# PL310 L2 cache controller
30device		pl330		# ARM PL330 dma controller
31device		pmu		# PMU support (for CCNT).
32device		twsi		# i2c controller on Marvel and Allwinner
33device		xdma		# xDMA framework for SoC on-chip dma controllers
34
35# PCI/PCIE
36device		pci
37device		pci_host_generic
38
39# Annapurna Alpine drivers
40device		al_ccu			# Alpine Cache Coherency Unit
41device		al_nb_service		# Alpine North Bridge Service
42device		al_iofic		# I/O Fabric Interrupt Controller
43device		al_serdes		# Serializer/Deserializer
44device		al_udma			# Universal DMA
45device		al_pci			# Annapurna Alpine PCI-E
46
47# Add pseudo devices...
48
49device		clk
50device		phy
51device		hwreset
52device		nvmem
53device		regulator
54device		syscon
55
56# Backlight subsystem
57device		backlight
58
59# Serial (COM) ports
60device		pl011
61
62# Early printf using the pl011 uart under the Arm FVP
63options 	SOCDEV_PA=0x1c090000
64options 	SOCDEV_VA=0x1c090000
65options 	EARLY_PRINTF=pl011
66
67# Undo options from sys/conf/NOTES that we do not want...
68
69nooptions	COMPAT_FREEBSD4
70nooptions	COMPAT_FREEBSD5
71nooptions	COMPAT_FREEBSD6
72nooptions	COMPAT_FREEBSD7
73nooptions	COMPAT_FREEBSD9
74nooptions	PPC_PROBE_CHIPSET
75nooptions	MAXCPU		# value is set in machine/param.h
76
77nodevice	sym
78
79nodevice	ccr
80nodevice	cxgbe
81nodevice	cxgbev
82nodevice	snd_cmi
83
84nodevice	mpr
85nodevice	mps
86
87# Build SOC-specific modules...
88
89makeoptions	MODULES_EXTRA+="allwinner"
90makeoptions	MODULES_EXTRA+="imx"
91
92# Build dtb files...
93
94makeoptions	MODULES_EXTRA+="dtb/allwinner"
95makeoptions	MODULES_EXTRA+="dtb/imx6"
96makeoptions	MODULES_EXTRA+="dtb/nvidia"
97makeoptions	MODULES_EXTRA+="dtb/rpi"
98makeoptions	MODULES_EXTRA+="dtb/zynq"
99