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