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