loader: Load platform entropy even without menu
[freebsd.git] / sys / arm / conf / GENERIC
1 #
2 # GENERIC -- Generic(ish) kernel config.
3 #
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
6 #
7 #    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19
20 ident           GENERIC
21
22 cpu             CPU_CORTEXA
23 cpu             CPU_MV_PJ4B
24 options         SMP_ON_UP
25 machine         arm armv7
26 makeoptions     CONF_CFLAGS="-march=armv7a"
27
28 include         "std.armv7"
29 files           "../allwinner/files.allwinner"
30 files           "../allwinner/files.allwinner_up"
31 files           "../allwinner/a10/files.a10"
32 files           "../allwinner/a13/files.a13"
33 files           "../allwinner/a20/files.a20"
34 files           "../allwinner/a31/files.a31"
35 files           "../allwinner/a33/files.a33"
36 files           "../allwinner/a83t/files.a83t"
37 files           "../allwinner/h3/files.h3"
38 files           "../broadcom/bcm2835/files.bcm2836"
39 files           "../broadcom/bcm2835/files.bcm283x"
40 files           "../freescale/imx/files.imx6"
41 files           "../mv/files.arm7"
42 files           "../nvidia/tegra124/files.tegra124"
43 files           "../qemu/files.qemu"
44 files           "../rockchip/files.rk32xx"
45 files           "../xilinx/files.zynq7"
46
47 options         SOC_ALLWINNER_A10
48 options         SOC_ALLWINNER_A13
49 options         SOC_ALLWINNER_A20
50 options         SOC_ALLWINNER_A31
51 options         SOC_ALLWINNER_A31S
52 options         SOC_ALLWINNER_A33
53 options         SOC_ALLWINNER_A83T
54 options         SOC_ALLWINNER_H2PLUS
55 options         SOC_ALLWINNER_H3
56 options         SOC_BCM2836
57 options         SOC_BRCM_BCM2837
58 options         SOC_MV_ARMADA38X
59 options         SOC_MV_ARMADAXP
60
61 options         SCHED_ULE               # ULE scheduler
62 options         SMP                     # Enable multiple cores
63 options         PLATFORM
64 options         LINUX_BOOT_ABI
65
66 # pseudo devices
67 device          clk
68 device          phy
69 device          hwreset
70 device          nvmem
71 device          regulator
72 device          syscon
73
74 # CPU frequency control
75 device          cpufreq
76
77 # Interrupt controller
78 device          gic
79 device          aw_r_intc
80
81 # PMU support (for CCNT).
82 device          pmu
83
84 # ARM Generic Timer
85 device          generic_timer
86 device          mpcore_timer
87
88 # MMC/SD/SDIO Card slot support
89 device          dwmmc
90 device          sdhci                   # SD controller
91 device          mmc                     # mmc/sd bus
92 device          mmcsd                   # mmc/sd flash cards
93
94 # ATA controllers
95 device          ahci                    # AHCI-compatible SATA controllers
96 #device         ata                     # Legacy ATA/SATA controllers
97
98 # PCI
99 device          pci
100 device          pci_host_generic
101
102 # PCI NICs
103 device          re                      # RealTek 8139C+/8169/8169S/8110S
104
105 # VirtIO
106 device          virtio
107 device          virtio_mmio
108 device          virtio_pci
109 device          virtio_blk
110 device          vtnet
111
112 # Console and misc
113 device          uart
114 device          uart_ns8250
115 device          uart_snps
116 device          pl011
117 device          pty
118 device          snp
119 device          md                      # Memory "disks"
120 device          firmware                # firmware assist module
121 device          pl310                   # PL310 L2 cache controller
122 device          psci
123
124 # I2C support
125 device          iicbus
126 device          iic
127 device          twsi
128 device          rsb                     # Allwinner Reduced Serial Bus
129 device          p2wi                    # Allwinner Push-Pull Two Wire
130 device          axp209                  # AXP209 Power Management Unit
131 device          axp81x                  # AXP813/818 Power Management Unit
132 device          bcm2835_bsc
133 device          fsliic                  # Freescale i2c/iic
134 device          icee                    # AT24Cxxx and compatible EEPROMs
135 device          sy8106a                 # SY8106A Buck Regulator
136
137 # i2c RTCs
138 device          ds1307                  # Dallas DS1307 RTC and compatible
139 device          ds13rtc                 # All Dallas/Maxim DS13xx RTCs
140 device          ds1672                  # Dallas DS1672 RTC
141 device          ds3231                  # Dallas DS3231 RTC + temperature
142 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
143 device          s35390a                 # Seiko s3539x RTCs
144
145 # GPIO
146 device          dwgpio                  # Synopsys DesignWare APB GPIO Controller
147 device          gpio
148 device          gpiobacklight
149 device          gpioled
150 device          gpioregulator
151
152 # EVDEV support
153 device          evdev                   # input event device support
154 options         EVDEV_SUPPORT           # evdev support in legacy drivers
155 device          uinput                  # install /dev/uinput cdev
156 device          aw_cir
157
158 # SPI
159 device          spibus
160 device          spigen
161 device          bcm2835_spi
162 device          mv_spi
163 device          zy7_qspi                # Xilinx Zynq QSPI controller
164
165 # PWM
166 device          pwm
167
168 # Watchdog support
169 device          imxwdt                  # Watchdog. WARNING: can't be disabled!!!
170 device          aw_wdog                 # Allwinner Watchdog
171
172 device          scbus                   # SCSI bus (required for ATA/SCSI)
173 device          da                      # Direct Access (disks)
174 device          cd                      # CD
175 device          pass                    # Passthrough device (direct ATA/SCSI access)
176
177 # USB support
178 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
179 device          usb
180 device          uhci
181 device          ohci
182 device          ehci
183 device          xhci
184 device          dwcotg                  # DWC OTG controller
185 device          musb
186
187 device          axe                     # USB-Ethernet
188 device          umass                   # Disks/Mass storage - Requires scbus and da
189 device          usbhid                  # USB HID Transport
190 device          uhid                    # "Human Interface Devices"
191 device          hkbd                    # Allow keyboard like HIDs to control console
192 device          ukbd                    # Allow keyboard like HIDs to control console
193
194 # Device mode support
195 device          usb_template            # Control of the gadget
196
197 # Ethernet
198 device          loop
199 device          ether
200 device          vlan                    # 802.1Q VLAN support
201 device          bpf
202 device          mii
203 device          mdio
204 device          etherswitch
205 device          e6000sw
206
207 # Ethernet NICs that use the common MII bus controller code.
208 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
209 device          miibus
210
211 device          awg                     # 10/100/1000 integrated EMAC controller
212 device          cgem                    # Cadence GEM Gigabit Ethernet device
213 device          dwc                     # 10/100/1000 integrated GMAC controller
214 device          emac                    # 10/100 integrated EMAC controller
215 device          ffec                    # Freescale Fast Ethernet Controller
216 device          neta                    # Marvell 10/100/1000 Network controller
217 device          smsc                    # SMSC LAN91C111
218
219 # Sound support
220 device          sound
221
222 # Framebuffer support
223 device          vt
224 device          kbdmux
225 device          hms
226 device          ums
227 device          videomode
228 device          vchiq
229
230 # IMX6 HDMI Controller
231 device          dwc_hdmi
232 device          imx6_hdmi
233 device          imx6_ipu
234
235 # Pinmux
236 device          fdt_pinctrl
237
238 # DMA controller
239 device          fslsdma
240 device          a10_dmac
241 device          a31_dmac
242
243 # Extensible Firmware Interface
244 options         EFI
245
246 # Marvell Cryptographic Engine and Security Accelerator
247 device          cesa
248 device          crypto
249 device          cryptodev
250
251 # RTC
252 device          imx6_snvs               # IMX6 On-chip RTC
253 device          aw_rtc                  # Allwinner On-chip RTC
254
255 # EFUSE
256 device          aw_sid          # Allwinner Secure ID EFUSE
257
258 # Thermal sensors
259 device          aw_thermal      # Allwinner Thermal Sensor Controller
260
261 # HID support
262 device          hid             # Generic HID support
263 device          hidbus          # Generic HID Bus
264
265 # Flattened Device Tree
266 options         FDT                     # Configure using FDT/DTB data
267 makeoptions     MODULES_EXTRA+="dtb/allwinner"
268 makeoptions     MODULES_EXTRA+="dtb/imx6"
269 makeoptions     MODULES_EXTRA+="dtb/nvidia"
270 makeoptions     MODULES_EXTRA+="dtb/rockchip"
271 makeoptions     MODULES_EXTRA+="dtb/rpi"
272 makeoptions     MODULES_EXTRA+="dtb/zynq"
273
274 # SOC-specific modules
275 makeoptions     MODULES_EXTRA+="allwinner"
276 makeoptions     MODULES_EXTRA+="imx"