]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/ALLWINNER
Revert and redo r306083.
[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         SCHED_ULE               # ULE scheduler
36 options         SMP                     # Enable multiple cores
37 options         PLATFORM
38 options         PLATFORM_SMP
39 options         MULTIDELAY
40
41 # NFS root from boopt/dhcp
42 #options        BOOTP
43 #options        BOOTP_NFSROOT
44 #options        BOOTP_COMPAT
45 #options        BOOTP_NFSV3
46 #options        BOOTP_WIRED_TO=dwc0
47
48 # EXT_RESOURCES pseudo devices
49 options         EXT_RESOURCES
50 device          clk
51 device          phy
52 device          hwreset
53 device          regulator
54
55 # CPU frequency control
56 device          cpufreq
57
58 # Interrupt controller
59 device          gic
60
61 # ARM Generic Timer
62 device          generic_timer
63
64 # MMC/SD/SDIO Card slot support
65 device          mmc                     # mmc/sd bus
66 device          mmcsd                   # mmc/sd flash cards
67
68 # ATA controllers
69 device          ahci                    # AHCI-compatible SATA controllers
70 #device         ata                     # Legacy ATA/SATA controllers
71
72 # Console and misc
73 device          uart
74 device          uart_snps
75 device          pty
76 device          snp
77 device          md
78 device          random                  # Entropy device
79
80 # I2C support
81 device          iicbus
82 device          iic
83 device          twsi
84 device          rsb
85 device          axp209                  # AXP209 Power Management Unit
86 device          axp81x                  # AXP813/818 Power Management Unit
87 device          sy8106a                 # SY8106A Buck Regulator
88
89 # GPIO
90 device          gpio
91 device          gpioled
92
93 device          scbus                   # SCSI bus (required for ATA/SCSI)
94 device          da                      # Direct Access (disks)
95 device          pass                    # Passthrough device (direct ATA/SCSI access)
96
97 # USB support
98 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
99 device          usb
100 #device         uhci
101 device          ohci
102 device          ehci
103
104 device          umass
105
106 # Ethernet
107 device          loop
108 device          ether
109 device          mii
110 device          bpf
111
112 #device         emac                    # 10/100 integrated EMAC controller
113 device          dwc                     # 10/100/1000 integrated GMAC controller
114 device          awg                     # 10/100/1000 integrated EMAC controller
115
116 # USB ethernet support, requires miibus
117 device          miibus
118
119 # Sound support
120 device          sound
121
122 # Framebuffer support
123 device          vt
124 device          kbdmux
125 device          ums
126 device          ukbd
127 device          videomode
128 device          hdmi
129
130 # Pinmux
131 device          fdt_pinctrl
132
133 # Flattened Device Tree
134 options         FDT                     # Configure using FDT/DTB data
135 makeoptions     MODULES_EXTRA=dtb/allwinner