]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/GENERIC
Update to bmake-201802222
[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 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           "../nvidia/tegra124/files.tegra124"
42 files           "../qemu/files.qemu"
43 files           "../ti/files.ti"
44 files           "../ti/am335x/files.am335x"
45 files           "../ti/omap4/files.omap4"
46 files           "../xilinx/files.zynq7"
47
48 options         SOC_ALLWINNER_A10
49 options         SOC_ALLWINNER_A13
50 options         SOC_ALLWINNER_A20
51 options         SOC_ALLWINNER_A31
52 options         SOC_ALLWINNER_A31S
53 options         SOC_ALLWINNER_A33
54 options         SOC_ALLWINNER_A83T
55 options         SOC_ALLWINNER_H2PLUS
56 options         SOC_ALLWINNER_H3
57 options         SOC_BCM2836
58 options         SOC_TI_AM335X
59 options         SOC_OMAP4
60
61 options         SCHED_ULE               # ULE scheduler
62 options         SMP                     # Enable multiple cores
63 options         PLATFORM
64 options         LINUX_BOOT_ABI
65
66 # EXT_RESOURCES pseudo devices
67 options         EXT_RESOURCES
68 device          clk
69 device          phy
70 device          hwreset
71 device          regulator
72 device          syscon
73
74 # CPU frequency control
75 device          cpufreq
76
77 # Interrupt controller
78 options         INTRNG
79 device          gic
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          sdhci                   # SD controller
90 device          mmc                     # mmc/sd bus
91 device          mmcsd                   # mmc/sd flash cards
92
93 # ATA controllers
94 device          ahci                    # AHCI-compatible SATA controllers
95 #device         ata                     # Legacy ATA/SATA controllers
96
97 # PCI
98 options         NEW_PCIB
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          random                  # Entropy device
121 device          firmware                # firmware assist module
122 device          pl310                   # PL310 L2 cache controller
123 device          psci
124
125 # I2C support
126 device          iicbus
127 device          iic
128 device          twsi
129 device          rsb                     # Allwinner Reduced Serial Bus
130 device          p2wi                    # Allwinner Push-Pull Two Wire
131 device          axp209                  # AXP209 Power Management Unit
132 device          axp81x                  # AXP813/818 Power Management Unit
133 device          bcm2835_bsc
134 device          fsliic                  # Freescale i2c/iic
135 device          icee                    # AT24Cxxx and compatible EEPROMs
136 device          sy8106a                 # SY8106A Buck Regulator
137 device          ti_i2c
138 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
139 device          am335x_rtc              # RTC support (power management only)
140 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
141 device          twl_vreg                # twl voltage regulation
142 device          twl_clks                # twl external clocks
143
144 # i2c RTCs
145 device          ds1307                  # Dallas DS1307 RTC and compatible
146 device          ds13rtc                 # All Dallas/Maxim DS13xx RTCs
147 device          ds1672                  # Dallas DS1672 RTC
148 device          ds3231                  # Dallas DS3231 RTC + temperature
149 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
150 device          s35390a                 # Seiko s3539x RTCs
151
152 # GPIO
153 device          gpio
154 device          gpiobacklight
155 device          gpioled
156 device          gpioregulator
157
158 # EVDEV support
159 device          evdev                   # input event device support
160 options         EVDEV_SUPPORT           # evdev support in legacy drivers
161 device          uinput                  # install /dev/uinput cdev
162 device          aw_cir
163
164 # SPI
165 device          spibus
166 device          spigen
167 device          bcm2835_spi
168 device          ti_spi
169
170 # ADC support
171 device          ti_adc
172
173 # Watchdog support
174 # If we don't enable the watchdog driver, the BealeBone could potentially
175 # reboot automatically because the boot loader might have enabled the
176 # watchdog.
177 device          ti_wdt
178 device          imxwdt                  # Watchdog. WARNING: can't be disabled!!!
179
180 device          scbus                   # SCSI bus (required for ATA/SCSI)
181 device          da                      # Direct Access (disks)
182 device          cd                      # CD
183 device          pass                    # Passthrough device (direct ATA/SCSI access)
184
185 # USB support
186 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
187 device          usb
188 #device         uhci
189 device          ohci
190 device          ehci
191 device          dwcotg                  # DWC OTG controller
192 device          musb
193
194 device          axe                     # USB-Ethernet
195 device          umass                   # Disks/Mass storage - Requires scbus and da
196 device          uhid                    # "Human Interface Devices"
197 device          ukbd                    # Allow keyboard like HIDs to control console
198
199 # Device mode support
200 device          usb_template            # Control of the gadget
201
202 # Ethernet
203 device          loop
204 device          ether
205 device          vlan                    # 802.1Q VLAN support
206 device          bpf
207
208 # Ethernet NICs that use the common MII bus controller code.
209 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
210 device          miibus
211
212 device          awg                     # 10/100/1000 integrated EMAC controller
213 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
214 device          cgem                    # Zynq-7000 gig ethernet device
215 device          dwc                     # 10/100/1000 integrated GMAC controller
216 device          emac                    # 10/100 integrated EMAC controller
217 device          ffec                    # Freescale Fast Ethernet Controller
218 device          smsc                    # SMSC LAN91C111
219
220 # Sound support
221 device          sound
222
223 # Framebuffer support
224 device          vt
225 device          kbdmux
226 device          ums
227 device          videomode
228 device          hdmi
229 device          vchiq
230
231 # Pinmux
232 device          fdt_pinctrl
233
234 # TI Programmable Realtime Unit support
235 device          ti_pruss
236
237 # Mailbox support
238 device          ti_mbox
239
240 # DMA controller
241 device          fslsdma
242 device          ti_sdma
243
244 # Extensible Firmware Interface
245 options         EFI
246
247 # Flattened Device Tree
248 options         FDT                     # Configure using FDT/DTB data
249 makeoptions     MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/imx6 dtb/nvidia dtb/rpi dtb/zynq dtb/omap4"