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