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