]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/ALLWINNER
Merge ACPICA 20160422.
[FreeBSD/FreeBSD.git] / sys / arm / conf / ALLWINNER
1 #
2 # ALLWINNER -- Custom configuration for the Allwinner A20 and A31 ARM SoC
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           ALLWINNER
22
23 include         "std.armv6"
24 include         "../allwinner/std.allwinner"
25
26 options         INTRNG
27
28 options         SOC_ALLWINNER_A20
29 options         SOC_ALLWINNER_A31
30 options         SOC_ALLWINNER_A31S
31
32 options         HZ=100
33 options         SCHED_ULE               # ULE scheduler
34 options         SMP                     # Enable multiple cores
35 options         PLATFORM
36 options         PLATFORM_SMP
37
38 # Debugging for use in -current
39 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
40 options         ALT_BREAK_TO_DEBUGGER
41 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
42 options         KDB                     # Enable kernel debugger support
43 # For minimum debugger support (stable branch) use:
44 #options        KDB_TRACE               # Print a stack trace for a panic
45 # For full debugger support use this instead:
46 options         DDB                     # Enable the kernel debugger
47 options         INVARIANTS              # Enable calls of extra sanity checking
48 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
49 options         WITNESS                 # Enable checks to detect deadlocks and cycles
50 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
51 #options        DIAGNOSTIC
52
53 # NFS root from boopt/dhcp
54 #options        BOOTP
55 #options        BOOTP_NFSROOT
56 #options        BOOTP_COMPAT
57 #options        BOOTP_NFSV3
58 #options        BOOTP_WIRED_TO=dwc0
59
60 # EXT_RESOURCES pseudo devices
61 options         EXT_RESOURCES
62 device          clk
63 device          phy
64 device          hwreset
65 device          regulator
66
67 # Interrupt controller
68 device          gic
69
70 # ARM Generic Timer
71 device          generic_timer
72
73 # MMC/SD/SDIO Card slot support
74 device          mmc                     # mmc/sd bus
75 device          mmcsd                   # mmc/sd flash cards
76
77 # ATA controllers
78 device          ahci                    # AHCI-compatible SATA controllers
79 #device         ata                     # Legacy ATA/SATA controllers
80
81 # Console and misc
82 device          uart
83 device          uart_snps
84 device          pty
85 device          snp
86 device          md
87 device          random                  # Entropy device
88
89 # I2C support
90 device          iicbus
91 device          iic
92 device          twsi
93 device          axp209                  # AXP209 Power Management Unit
94
95 # GPIO
96 device          gpio
97 device          gpioled
98
99 device          scbus                   # SCSI bus (required for ATA/SCSI)
100 device          da                      # Direct Access (disks)
101 device          pass                    # Passthrough device (direct ATA/SCSI access)
102
103 # USB support
104 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
105 device          usb
106 options         USB_DEBUG
107 #options        USB_REQ_DEBUG
108 #options        USB_VERBOSE
109 #device         uhci
110 #device         ohci
111 device          ehci
112
113 device          umass
114
115 # Ethernet
116 device          loop
117 device          ether
118 device          mii
119 device          bpf
120
121 #device         emac                    # 10/100 integrated EMAC controller
122 device          dwc                     # 10/100/1000 integrated GMAC controller
123
124 # USB ethernet support, requires miibus
125 device          miibus
126
127 # Sound support
128 device          sound
129
130 # Framebuffer support
131 device          vt
132 device          kbdmux
133 device          ums
134 device          ukbd
135 device          videomode
136 device          hdmi
137
138 # Pinmux
139 device          fdt_pinctrl
140
141 # Flattened Device Tree
142 options         FDT                     # Configure using FDT/DTB data
143 makeoptions     MODULES_EXTRA=dtb/allwinner