]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/GENERIC
Pull down pjdfstest 0.1
[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 #    http://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 (http://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 armv6
26 makeoptions     CONF_CFLAGS="-march=armv7a"
27
28 makeoptions     KERNVIRTADDR=0xc0000000
29 options         KERNVIRTADDR=0xc0000000
30
31 include         "std.armv6"
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           "../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
49 options         SOC_ALLWINNER_A10
50 options         SOC_ALLWINNER_A13
51 options         SOC_ALLWINNER_A20
52 options         SOC_ALLWINNER_A31
53 options         SOC_ALLWINNER_A31S
54 options         SOC_ALLWINNER_A33
55 options         SOC_ALLWINNER_A83T
56 options         SOC_ALLWINNER_H2PLUS
57 options         SOC_ALLWINNER_H3
58 options         SOC_BCM2836
59 options         SOC_TI_AM335X
60 options         SOC_OMAP4
61
62 options         SCHED_ULE               # ULE scheduler
63 options         SMP                     # Enable multiple cores
64 options         PLATFORM
65 options         PLATFORM_SMP
66 options         MULTIDELAY
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
103 # PCI NICs
104 device          re                      # RealTek 8139C+/8169/8169S/8110S
105
106 # VirtIO
107 device          virtio
108 device          virtio_mmio
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          psci
122
123 # I2C support
124 device          iicbus
125 device          iic
126 device          twsi
127 device          rsb                     # Allwinner Reduced Serial Bus
128 device          p2wi                    # Allwinner Push-Pull Two Wire
129 device          axp209                  # AXP209 Power Management Unit
130 device          axp81x                  # AXP813/818 Power Management Unit
131 device          bcm2835_bsc
132 device          icee
133 device          sy8106a                 # SY8106A Buck Regulator
134 device          ti_i2c
135 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
136 device          am335x_rtc              # RTC support (power management only)
137 #define         am335x_dmtpps           # Pulse Per Second capture driver
138 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
139 device          twl_vreg                # twl voltage regulation
140 device          twl_clks                # twl external clocks
141
142 # GPIO
143 device          gpio
144 device          gpiobacklight
145 device          gpioled
146 device          gpioregulator
147
148 # EVDEV support
149 device          evdev                   # input event device support
150 options         EVDEV_SUPPORT           # evdev support in legacy drivers
151 device          uinput                  # install /dev/uinput cdev
152 device          aw_cir
153
154 # SPI
155 device          spibus
156 device          spigen
157 device          bcm2835_spi
158 device          ti_spi
159
160 # ADC support
161 device          ti_adc
162
163 # Watchdog support
164 # If we don't enable the watchdog driver, the BealeBone could potentially
165 # reboot automatically because the boot loader might have enabled the
166 # watchdog.
167 device          ti_wdt
168
169 device          scbus                   # SCSI bus (required for ATA/SCSI)
170 device          da                      # Direct Access (disks)
171 device          cd                      # CD
172 device          pass                    # Passthrough device (direct ATA/SCSI access)
173
174 # USB support
175 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
176 device          usb
177 #device         uhci
178 device          ohci
179 device          ehci
180 device          dwcotg                  # DWC OTG controller
181 device          musb
182
183 device          umass                   # Disks/Mass storage - Requires scbus and da
184 device          uhid                    # "Human Interface Devices"
185 device          ukbd                    # Allow keyboard like HIDs to control console
186
187 # Device mode support
188 device          usb_template            # Control of the gadget
189
190 # Ethernet
191 device          loop
192 device          ether
193 device          vlan                    # 802.1Q VLAN support
194 device          bpf
195
196 # Ethernet NICs that use the common MII bus controller code.
197 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
198 device          miibus
199
200 device          awg                     # 10/100/1000 integrated EMAC controller
201 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
202 device          dwc                     # 10/100/1000 integrated GMAC controller
203 device          emac                    # 10/100 integrated EMAC controller
204 device          smsc                    # SMSC LAN91C111
205
206 # Sound support
207 device          sound
208
209 # Framebuffer support
210 device          vt
211 device          kbdmux
212 device          ums
213 device          videomode
214 device          hdmi
215 device          vchiq
216
217 # Pinmux
218 device          fdt_pinctrl
219
220 # TI Programmable Realtime Unit support
221 device          ti_pruss
222
223 # Mailbox support
224 device          ti_mbox
225
226 # DMA controller
227 device          ti_sdma
228
229 # Extensible Firmware Interface
230 options         EFI
231
232 # Flattened Device Tree
233 options         FDT                     # Configure using FDT/DTB data
234 makeoptions     MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4"