]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/ALLWINNER
Add driver for "generic-ohci" as defined by FDT.
[FreeBSD/FreeBSD.git] / sys / arm / conf / ALLWINNER
1 #
2 # ALLWINNER -- Custom configuration for the Allwinner A20, A31, A31S, A83T,
3 # and H3 ARM SoCs.
4 #
5 # For more information on this file, please read the config(5) manual page,
6 # and/or the handbook section on Kernel Configuration Files:
7 #
8 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 #
10 # The handbook is also available locally in /usr/share/doc/handbook
11 # if you've installed the doc distribution, otherwise always see the
12 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13 # latest information.
14 #
15 # An exhaustive list of options and more detailed explanations of the
16 # device lines is also present in the ../../conf/NOTES and NOTES files.
17 # If you are in doubt as to the purpose or necessity of a line, check first
18 # in NOTES.
19 #
20 # $FreeBSD$
21
22 ident           ALLWINNER
23
24 include         "std.armv6"
25 include         "../allwinner/std.allwinner"
26
27 options         INTRNG
28
29 options         SOC_ALLWINNER_A20
30 options         SOC_ALLWINNER_A31
31 options         SOC_ALLWINNER_A31S
32 options         SOC_ALLWINNER_A83T
33 options         SOC_ALLWINNER_H3
34
35 options         HZ=100
36 options         SCHED_ULE               # ULE scheduler
37 options         SMP                     # Enable multiple cores
38 options         PLATFORM
39 options         PLATFORM_SMP
40 options         MULTIDELAY
41
42 # Debugging for use in -current
43 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
44 options         ALT_BREAK_TO_DEBUGGER
45 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
46 options         KDB                     # Enable kernel debugger support
47 # For minimum debugger support (stable branch) use:
48 #options        KDB_TRACE               # Print a stack trace for a panic
49 # For full debugger support use this instead:
50 options         DDB                     # Enable the kernel debugger
51 options         INVARIANTS              # Enable calls of extra sanity checking
52 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
53 options         WITNESS                 # Enable checks to detect deadlocks and cycles
54 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
55 #options        DIAGNOSTIC
56
57 # NFS root from boopt/dhcp
58 #options        BOOTP
59 #options        BOOTP_NFSROOT
60 #options        BOOTP_COMPAT
61 #options        BOOTP_NFSV3
62 #options        BOOTP_WIRED_TO=dwc0
63
64 # EXT_RESOURCES pseudo devices
65 options         EXT_RESOURCES
66 device          clk
67 device          phy
68 device          hwreset
69 device          regulator
70
71 # Interrupt controller
72 device          gic
73
74 # ARM Generic Timer
75 device          generic_timer
76
77 # MMC/SD/SDIO Card slot support
78 device          mmc                     # mmc/sd bus
79 device          mmcsd                   # mmc/sd flash cards
80
81 # ATA controllers
82 device          ahci                    # AHCI-compatible SATA controllers
83 #device         ata                     # Legacy ATA/SATA controllers
84
85 # Console and misc
86 device          uart
87 device          uart_snps
88 device          pty
89 device          snp
90 device          md
91 device          random                  # Entropy device
92
93 # I2C support
94 device          iicbus
95 device          iic
96 device          twsi
97 device          rsb
98 device          axp209                  # AXP209 Power Management Unit
99 device          axp81x                  # AXP813/818 Power Management Unit
100
101 # GPIO
102 device          gpio
103 device          gpioled
104
105 device          scbus                   # SCSI bus (required for ATA/SCSI)
106 device          da                      # Direct Access (disks)
107 device          pass                    # Passthrough device (direct ATA/SCSI access)
108
109 # USB support
110 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
111 device          usb
112 options         USB_DEBUG
113 #options        USB_REQ_DEBUG
114 #options        USB_VERBOSE
115 #device         uhci
116 device          ohci
117 device          ehci
118
119 device          umass
120
121 # Ethernet
122 device          loop
123 device          ether
124 device          mii
125 device          bpf
126
127 #device         emac                    # 10/100 integrated EMAC controller
128 device          dwc                     # 10/100/1000 integrated GMAC controller
129 device          awg                     # 10/100/1000 integrated EMAC controller
130
131 # USB ethernet support, requires miibus
132 device          miibus
133
134 # Sound support
135 device          sound
136
137 # Framebuffer support
138 device          vt
139 device          kbdmux
140 device          ums
141 device          ukbd
142 device          videomode
143 device          hdmi
144
145 # Pinmux
146 device          fdt_pinctrl
147
148 # Flattened Device Tree
149 options         FDT                     # Configure using FDT/DTB data
150 makeoptions     MODULES_EXTRA=dtb/allwinner