]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/GENERIC
file: update to 5.34
[FreeBSD/FreeBSD.git] / sys / arm / conf / GENERIC
1 #
2 # GENERICV6 -- 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://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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 # $FreeBSD$
20
21 ident           GENERIC
22
23 cpu             CPU_CORTEXA
24 cpu             CPU_MV_PJ4B
25 options         SMP_ON_UP
26 machine         arm armv7
27 makeoptions     CONF_CFLAGS="-march=armv7a"
28
29 include         "std.armv7"
30 files           "../allwinner/files.allwinner"
31 files           "../allwinner/files.allwinner_up"
32 files           "../allwinner/a10/files.a10"
33 files           "../allwinner/a13/files.a13"
34 files           "../allwinner/a20/files.a20"
35 files           "../allwinner/a31/files.a31"
36 files           "../allwinner/a33/files.a33"
37 files           "../allwinner/a83t/files.a83t"
38 files           "../allwinner/h3/files.h3"
39 files           "../broadcom/bcm2835/files.bcm2836"
40 files           "../broadcom/bcm2835/files.bcm283x"
41 files           "../freescale/imx/files.imx6"
42 files           "../mv/files.arm7"
43 files           "../nvidia/tegra124/files.tegra124"
44 files           "../qemu/files.qemu"
45 files           "../ti/files.ti"
46 files           "../ti/am335x/files.am335x"
47 files           "../ti/omap4/files.omap4"
48 files           "../xilinx/files.zynq7"
49
50 options         SOC_ALLWINNER_A10
51 options         SOC_ALLWINNER_A13
52 options         SOC_ALLWINNER_A20
53 options         SOC_ALLWINNER_A31
54 options         SOC_ALLWINNER_A31S
55 options         SOC_ALLWINNER_A33
56 options         SOC_ALLWINNER_A83T
57 options         SOC_ALLWINNER_H2PLUS
58 options         SOC_ALLWINNER_H3
59 options         SOC_BCM2836
60 options         SOC_MV_ARMADA38X
61 options         SOC_MV_ARMADAXP
62 options         SOC_TI_AM335X
63 options         SOC_OMAP4
64
65 options         SCHED_ULE               # ULE scheduler
66 options         SMP                     # Enable multiple cores
67 options         PLATFORM
68 options         LINUX_BOOT_ABI
69
70 # EXT_RESOURCES pseudo devices
71 options         EXT_RESOURCES
72 device          clk
73 device          phy
74 device          hwreset
75 device          nvmem
76 device          regulator
77 device          syscon
78
79 # CPU frequency control
80 device          cpufreq
81
82 # Interrupt controller
83 options         INTRNG
84 device          gic
85
86 # PMU support (for CCNT).
87 device          pmu
88
89 # ARM Generic Timer
90 device          generic_timer
91 device          mpcore_timer
92
93 # MMC/SD/SDIO Card slot support
94 device          sdhci                   # SD controller
95 device          mmc                     # mmc/sd bus
96 device          mmcsd                   # mmc/sd flash cards
97
98 # ATA controllers
99 device          ahci                    # AHCI-compatible SATA controllers
100 #device         ata                     # Legacy ATA/SATA controllers
101
102 # PCI
103 options         NEW_PCIB
104 device          pci
105 device          pci_host_generic
106
107 # PCI NICs
108 device          re                      # RealTek 8139C+/8169/8169S/8110S
109
110 # VirtIO
111 device          virtio
112 device          virtio_mmio
113 device          virtio_pci
114 device          virtio_blk
115 device          vtnet
116
117 # Console and misc
118 device          uart
119 device          uart_ns8250
120 device          uart_snps
121 device          pl011
122 device          pty
123 device          snp
124 device          md                      # Memory "disks"
125 device          random                  # Entropy device
126 device          firmware                # firmware assist module
127 device          pl310                   # PL310 L2 cache controller
128 device          psci
129
130 # I2C support
131 device          iicbus
132 device          iic
133 device          twsi
134 device          rsb                     # Allwinner Reduced Serial Bus
135 device          p2wi                    # Allwinner Push-Pull Two Wire
136 device          axp209                  # AXP209 Power Management Unit
137 device          axp81x                  # AXP813/818 Power Management Unit
138 device          bcm2835_bsc
139 device          fsliic                  # Freescale i2c/iic
140 device          icee                    # AT24Cxxx and compatible EEPROMs
141 device          sy8106a                 # SY8106A Buck Regulator
142 device          ti_i2c
143 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
144 device          am335x_rtc              # RTC support (power management only)
145 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
146 device          twl_vreg                # twl voltage regulation
147 device          twl_clks                # twl external clocks
148
149 # i2c RTCs
150 device          ds1307                  # Dallas DS1307 RTC and compatible
151 device          ds13rtc                 # All Dallas/Maxim DS13xx RTCs
152 device          ds1672                  # Dallas DS1672 RTC
153 device          ds3231                  # Dallas DS3231 RTC + temperature
154 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
155 device          s35390a                 # Seiko s3539x RTCs
156
157 # GPIO
158 device          gpio
159 device          gpiobacklight
160 device          gpioled
161 device          gpioregulator
162
163 # EVDEV support
164 device          evdev                   # input event device support
165 options         EVDEV_SUPPORT           # evdev support in legacy drivers
166 device          uinput                  # install /dev/uinput cdev
167 device          aw_cir
168
169 # SPI
170 device          spibus
171 device          spigen
172 device          bcm2835_spi
173 device          ti_spi
174
175 # ADC support
176 device          ti_adc
177
178 # Watchdog support
179 # If we don't enable the watchdog driver, the BealeBone could potentially
180 # reboot automatically because the boot loader might have enabled the
181 # watchdog.
182 device          ti_wdt
183 device          imxwdt                  # Watchdog. WARNING: can't be disabled!!!
184
185 device          scbus                   # SCSI bus (required for ATA/SCSI)
186 device          da                      # Direct Access (disks)
187 device          cd                      # CD
188 device          pass                    # Passthrough device (direct ATA/SCSI access)
189
190 # USB support
191 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
192 device          usb
193 device          uhci
194 device          ohci
195 device          ehci
196 device          xhci
197 device          dwcotg                  # DWC OTG controller
198 device          musb
199
200 device          axe                     # USB-Ethernet
201 device          umass                   # Disks/Mass storage - Requires scbus and da
202 device          uhid                    # "Human Interface Devices"
203 device          ukbd                    # Allow keyboard like HIDs to control console
204
205 device          firmware
206
207 # Device mode support
208 device          usb_template            # Control of the gadget
209
210 # Ethernet
211 device          loop
212 device          ether
213 device          vlan                    # 802.1Q VLAN support
214 device          bpf
215 device          mii
216 device          mdio
217 device          etherswitch
218 device          e6000sw
219
220 # Ethernet NICs that use the common MII bus controller code.
221 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
222 device          miibus
223
224 device          awg                     # 10/100/1000 integrated EMAC controller
225 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
226 device          cgem                    # Zynq-7000 gig ethernet device
227 device          dwc                     # 10/100/1000 integrated GMAC controller
228 device          emac                    # 10/100 integrated EMAC controller
229 device          ffec                    # Freescale Fast Ethernet Controller
230 device          neta                    # Marvell 10/100/1000 Network controller
231 device          smsc                    # SMSC LAN91C111
232
233 # Sound support
234 device          sound
235
236 # Framebuffer support
237 device          vt
238 device          kbdmux
239 device          ums
240 device          videomode
241 device          hdmi
242 device          vchiq
243
244 # Pinmux
245 device          fdt_pinctrl
246
247 # TI Programmable Realtime Unit support
248 device          ti_pruss
249
250 # Mailbox support
251 device          ti_mbox
252
253 # DMA controller
254 device          fslsdma
255 device          ti_sdma
256
257 # Extensible Firmware Interface
258 options         EFI
259
260 # Marvell Cryptographic Engine and Security Accelerator
261 device          cesa
262 device          crypto
263 device          cryptodev
264
265 # imx6 on-chip RTC
266 device          imx6_snvs               # On-chip RTC
267
268 # Flattened Device Tree
269 options         FDT                     # Configure using FDT/DTB data
270 makeoptions     MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/imx6 dtb/nvidia dtb/rpi dtb/zynq dtb/omap4"