]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/SAM9G20EK
MFC r304021: Update iflib to support more NIC designs
[FreeBSD/FreeBSD.git] / sys / arm / conf / SAM9G20EK
1 # Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card
2 # Many after-market boards follow its conventions.
3 #
4 # For more information on this file, please read the handbook section on
5 # 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           SAM9G20EK
22
23 include         "std.arm"
24 include         "../at91/std.sam9g20ek"
25
26 #options                FDT
27 #options        FDT_DTB_STATIC
28 #makeoptions    FDT_DTS_FILE=at91sam9g20ek.dts
29
30 options         EARLY_PRINTF
31 options         SOCDEV_PA=0xfc000000
32 options         SOCDEV_VA=0xdc000000
33
34 #To statically compile in device wiring instead of /boot/device.hints
35 hints           "SAM9G20EK.hints"
36 makeoptions     MODULES_OVERRIDE=""
37
38 options         SCHED_4BSD              # 4BSD scheduler
39 options         INET                    # InterNETworking
40 #options        INET6                   # IPv6 communications protocols
41 options         TMPFS                   # Efficient memory filesystem
42 options         FFS                     # Berkeley Fast Filesystem
43 #options        SOFTUPDATES             # Enable FFS soft updates support
44 #options        UFS_ACL                 # Support for access control lists
45 #options        UFS_DIRHASH             # Improve performance on big directories
46 #options        MD_ROOT                 # MD is a potential root device
47 #options        MD_ROOT_SIZE=4096       # 4MB ram disk
48 options         NANDFS                  # NAND file system
49 options         NFSCL                   # Network Filesystem Client
50 options         NFSD                    # Network Filesystem Server
51 options         NFSLOCKD                # Network Lock Manager
52 #options        NFS_ROOT                # NFS usable as /, requires NFSCL
53 #options        MSDOSFS                 # MSDOS Filesystem
54 #options        CD9660                  # ISO 9660 Filesystem
55 #options        PROCFS                  # Process filesystem (requires PSEUDOFS)
56 #options        PSEUDOFS                # Pseudo-filesystem framework
57 options         GEOM_PART_BSD           # BSD partition scheme
58 options         GEOM_PART_MBR           # MBR partition scheme
59 #options        SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
60 #options        KTRACE                  # ktrace(1) support
61 options         SYSVSHM                 # SYSV-style shared memory
62 options         SYSVMSG                 # SYSV-style message queues
63 options         SYSVSEM                 # SYSV-style semaphores
64 options         _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
65
66 # NFS root from boopt/dhcp
67 #options        BOOTP
68 #options        BOOTP_NFSROOT
69 #options        BOOTP_COMPAT
70 #options        BOOTP_NFSV3
71 #options        BOOTP_WIRED_TO=ate0
72
73 # s3 because s1 is reserved for the DOS parittions sometimes needed to
74 # boot off SD cards on the G20 and newer chips. s2 is reserved for
75 # nanobsd's config partition. s3 and s4 are for the ping-pong upgrade
76 # path.
77 options         ROOTDEVNAME=\"ufs:/dev/mmcsd0s3a\"
78
79 # kernel/memory size reduction
80 options         MUTEX_NOINLINE
81 options         NO_FFS_SNAPSHOT
82 options         NO_SWAPPING
83 options         NO_SYSCTL_DESCR
84 options         RWLOCK_NOINLINE
85
86 # The `bpf' device enables the Berkeley Packet Filter.
87 # Be aware of the administrative consequences of enabling this!
88 # Note that 'bpf' is required for DHCP.
89 device          bpf                     # Berkeley packet filter
90
91 # Ethernet
92 device          mii                     # Minimal MII support
93 #device         ate                     # Atmel AT91 Ethernet driver
94 #options        AT91_ATE_USE_RMII
95 device          macb                    # Atmel AT91 Ethernet driver
96 options         AT91_MACB_USE_RMII
97
98 # I2C
99 device          at91_twi                # Atmel AT91 Two-wire Interface
100 device          iic                     # I2C generic I/O device driver
101 device          iicbus                  # I2C bus system
102 device          icee
103
104 # MMC/SD
105 device          at91_mci                # Atmel AT91 Multimedia Card Interface
106 options         AT91_MCI_HAS_4WIRE
107 options         AT91_MCI_SLOT_B
108 device          mmc                     # MMC/SD bus
109 device          mmcsd                   # MMC/SD memory card
110
111 # DataFlash
112 # NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
113 #       confilict on this card. Use one or the other.
114 #       see board_sam9g20ek.c
115 #device         at91_spi                # Atmel AT91 Serial Peripheral Interface
116 #device         spibus                  # SPI bus
117 #device         at45d                   # at45db642 and maybe others
118
119 # Pseudo devices.
120 device          loop                    # Network loopback
121 device          random                  # Entropy device
122 device          ether                   # Ethernet support
123 device          md                      # Memory "disks"
124
125 # SCSI peripherals
126 device          scbus                   # SCSI bus (required for ATA/SCSI)
127 device          da                      # Direct Access (disks)
128 device          cd                      # CD
129 device          pass                    # Passthrough device (direct ATA/SCSI access)
130
131 # Serial (COM) ports
132 device          uart                    # Multi-uart driver
133
134 # USB support
135 device          ohci                    # OHCI USB interface
136 device          usb                     # USB Bus (required)
137 device          umass                   # Disks/Mass storage - Requires scbus and da
138 device          uhid                    # "Human Interface Devices"
139 #device         ulpt                    # Printer
140 #device         udbp                    # USB Double Bulk Pipe devices
141
142 # USB Ethernet, requires miibus
143 #device         miibus
144 #device         aue                     # ADMtek USB Ethernet
145 #device         axe                     # ASIX Electronics USB Ethernet
146 #device         cdce                    # Generic USB over Ethernet
147 #device         cue                     # CATC USB Ethernet
148 #device         kue                     # Kawasaki LSI USB Ethernet
149 #device         rue                     # RealTek RTL8150 USB Ethernet
150 #device         udav                    # Davicom DM9601E USB
151
152 # USB Wireless
153 #device         rum                     # Ralink Technology RT2501USB wireless NICs
154 #device         uath                    # Atheros AR5523 wireless NICs
155 #device         ural                    # Ralink Technology RT2500USB wireless NICs
156 #device         zyd                     # ZyDAS zd1211/zd1211b wireless NICs
157
158 # Wireless NIC cards
159 #device         wlan                    # 802.11 support
160 #device         wlan_wep                # 802.11 WEP support
161 #device         wlan_ccmp               # 802.11 CCMP support
162 #device         wlan_tkip               # 802.11 TKIP support
163 #device         wlan_amrr               # AMRR transmit rate control algorithm
164
165 # watchdog
166 device          at91_wdt                # Atmel AT91 Watchdog Timer
167
168 # NAND Flash - Reference design has Samsung 256MB but others possible
169 device          nand                    # NAND interface on CS3