zilinx/zy7_qspi: Add a qspi driver for Zynq platforms.
[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_BRCM_BCM2837
61 options         SOC_MV_ARMADA38X
62 options         SOC_MV_ARMADAXP
63 options         SOC_TI_AM335X
64 options         SOC_OMAP4
65
66 options         SCHED_ULE               # ULE scheduler
67 options         SMP                     # Enable multiple cores
68 options         PLATFORM
69 options         LINUX_BOOT_ABI
70
71 # EXT_RESOURCES pseudo devices
72 options         EXT_RESOURCES
73 device          clk
74 device          phy
75 device          hwreset
76 device          nvmem
77 device          regulator
78 device          syscon
79
80 # CPU frequency control
81 device          cpufreq
82
83 # Interrupt controller
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          firmware                # firmware assist module
126 device          pl310                   # PL310 L2 cache controller
127 device          psci
128
129 # I2C support
130 device          iicbus
131 device          iic
132 device          twsi
133 device          rsb                     # Allwinner Reduced Serial Bus
134 device          p2wi                    # Allwinner Push-Pull Two Wire
135 device          axp209                  # AXP209 Power Management Unit
136 device          axp81x                  # AXP813/818 Power Management Unit
137 device          bcm2835_bsc
138 device          fsliic                  # Freescale i2c/iic
139 device          icee                    # AT24Cxxx and compatible EEPROMs
140 device          sy8106a                 # SY8106A Buck Regulator
141 device          ti_i2c
142 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
143 device          am335x_rtc              # RTC support (power management only)
144 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
145 device          twl_vreg                # twl voltage regulation
146 device          twl_clks                # twl external clocks
147
148 # i2c RTCs
149 device          ds1307                  # Dallas DS1307 RTC and compatible
150 device          ds13rtc                 # All Dallas/Maxim DS13xx RTCs
151 device          ds1672                  # Dallas DS1672 RTC
152 device          ds3231                  # Dallas DS3231 RTC + temperature
153 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
154 device          s35390a                 # Seiko s3539x RTCs
155
156 # GPIO
157 device          dwgpio                  # Synopsys DesignWare APB GPIO Controller
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          mv_spi
174 device          ti_spi
175 device          zy7_qspi                # Xilinx Zynq QSPI controller
176
177 # ADC support
178 device          ti_adc
179
180 # PWM
181 device          pwm
182
183 # Watchdog support
184 # If we don't enable the watchdog driver, the BealeBone could potentially
185 # reboot automatically because the boot loader might have enabled the
186 # watchdog.
187 device          ti_wdt
188 device          imxwdt                  # Watchdog. WARNING: can't be disabled!!!
189 device          aw_wdog                 # Allwinner Watchdog
190
191 device          scbus                   # SCSI bus (required for ATA/SCSI)
192 device          da                      # Direct Access (disks)
193 device          cd                      # CD
194 device          pass                    # Passthrough device (direct ATA/SCSI access)
195
196 # USB support
197 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
198 device          usb
199 device          uhci
200 device          ohci
201 device          ehci
202 device          xhci
203 device          dwcotg                  # DWC OTG controller
204 device          musb
205
206 device          axe                     # USB-Ethernet
207 device          umass                   # Disks/Mass storage - Requires scbus and da
208 device          uhid                    # "Human Interface Devices"
209 device          ukbd                    # Allow keyboard like HIDs to control console
210
211 # Device mode support
212 device          usb_template            # Control of the gadget
213
214 # Ethernet
215 device          loop
216 device          ether
217 device          vlan                    # 802.1Q VLAN support
218 device          bpf
219 device          mii
220 device          mdio
221 device          etherswitch
222 device          e6000sw
223
224 # Ethernet NICs that use the common MII bus controller code.
225 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
226 device          miibus
227
228 device          awg                     # 10/100/1000 integrated EMAC controller
229 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
230 device          cgem                    # Zynq-7000 gig ethernet device
231 device          dwc                     # 10/100/1000 integrated GMAC controller
232 device          emac                    # 10/100 integrated EMAC controller
233 device          ffec                    # Freescale Fast Ethernet Controller
234 device          neta                    # Marvell 10/100/1000 Network controller
235 device          smsc                    # SMSC LAN91C111
236
237 # Sound support
238 device          sound
239
240 # Framebuffer support
241 device          vt
242 device          kbdmux
243 device          ums
244 device          videomode
245 device          hdmi
246 device          vchiq
247
248 # Pinmux
249 device          fdt_pinctrl
250
251 # TI Programmable Realtime Unit support
252 device          ti_pruss
253
254 # Mailbox support
255 device          ti_mbox
256
257 # DMA controller
258 device          fslsdma
259 device          ti_sdma
260 device          a10_dmac
261 device          a31_dmac
262
263 # Extensible Firmware Interface
264 options         EFI
265
266 # Marvell Cryptographic Engine and Security Accelerator
267 device          cesa
268 device          crypto
269 device          cryptodev
270
271 # RTC
272 device          imx6_snvs               # IMX6 On-chip RTC
273 device          aw_rtc                  # Allwinner On-chip RTC
274
275 # EFUSE
276 device          aw_sid          # Allwinner Secure ID EFUSE
277
278 # Thermal sensors
279 device          aw_thermal      # Allwinner Thermal Sensor Controller
280
281 # Flattened Device Tree
282 options         FDT                     # Configure using FDT/DTB data
283 makeoptions     MODULES_EXTRA+="dtb/allwinner"
284 makeoptions     MODULES_EXTRA+="dtb/am335x"
285 makeoptions     MODULES_EXTRA+="dtb/imx6"
286 makeoptions     MODULES_EXTRA+="dtb/nvidia"
287 makeoptions     MODULES_EXTRA+="dtb/omap4"
288 makeoptions     MODULES_EXTRA+="dtb/rpi"
289 makeoptions     MODULES_EXTRA+="dtb/zynq"
290
291 # SOC-specific modules
292 makeoptions     MODULES_EXTRA+="allwinner"
293 makeoptions     MODULES_EXTRA+="arm_ti"
294 makeoptions     MODULES_EXTRA+="imx"
295