]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/TEGRA124
MFV r302003,r302037,r302038,r302056:
[FreeBSD/FreeBSD.git] / sys / arm / conf / TEGRA124
1 #
2 # Kernel configuration for NVIDIA Tegra124 based boards.
3 #
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on 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 include         "std.armv6"
22 include         "../nvidia/tegra124/std.tegra124"
23
24 ident           TEGRA124
25
26 options         HZ=100                  # Scheduling quantum is 10 milliseconds.
27 options         SCHED_ULE               # ULE scheduler
28 options         PLATFORM                # Platform based SoC
29 options         PLATFORM_SMP
30 options         SMP                     # Enable multiple cores
31 options         LINUX_BOOT_ABI
32
33 # Debugging for use in -current
34 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
35 options         BREAK_TO_DEBUGGER
36 options         ALT_BREAK_TO_DEBUGGER
37 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
38 options         KDB                     # Enable kernel debugger support
39 # For minimum debugger support (stable branch) use:
40 #options        KDB_TRACE               # Print a stack trace for a panic
41 # For full debugger support use this instead:
42 options         DDB                     # Enable the kernel debugger
43 options         INVARIANTS              # Enable calls of extra sanity checking
44 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
45 options         WITNESS                 # Enable checks to detect deadlocks and cycles
46 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
47
48 # Interrupt controller
49 device          gic
50
51 # ARM Generic Timer
52 device          generic_timer
53
54 # EXT_RESOURCES pseudo devices
55 options         EXT_RESOURCES
56 device          clk
57 device          phy
58 device          hwreset
59 device          regulator
60
61 # Pseudo devices.
62 device          loop                    # Network loopback
63 device          random                  # Entropy device
64 device          vlan                    # 802.1Q VLAN support
65 #device         tun                     # Packet tunnel.
66 device          md                      # Memory "disks"
67 #device         gif                     # IPv6 and IPv4 tunneling
68 #device         firmware                # firmware assist module
69 device          ether                   # Ethernet support
70 device          miibus                  # Required for ethernet
71 device          bpf                     # Berkeley packet filter (required for DHCP)
72
73
74 # General-purpose input/output
75 device          gpio
76 #device         gpioled
77
78 # I2C support
79 device          iic
80 device          iicbus
81 device          icee
82
83 # Serial (COM) ports
84 device          uart                    # Multi-uart driver
85 device          uart_ns8250
86
87 # MMC/SD/SDIO Card slot support
88 device          sdhci                   # SD controller
89 device          mmc                     # SD/MMC protocol
90 device          mmcsd                   # SDCard disk device
91
92 # ATA controllers
93 device          ahci                    # AHCI-compatible SATA controllers
94
95 # SCSI peripherals
96 device          scbus                   # SCSI bus (required for ATA/SCSI)
97 device          da                      # Direct Access (disks)
98 device          cd                      # CD
99 device          pass                    # Passthrough device (direct ATA/SCSI access)
100
101 # USB support
102 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
103 options         USB_DEBUG               # enable debug msgs
104 device          ehci                    # EHCI USB interface
105 device          usb                     # USB Bus (required)
106 device          umass                   # Disks/Mass storage - Requires scbus and da
107 device          uhid                    # "Human Interface Devices"
108 #device         u3g                     # USB modems
109 device          ukbd                    # Allow keyboard like HIDs to control console
110 device          ums                     # USB mouse
111
112 # USB Ethernet, requires miibus
113 #device         aue                     # ADMtek USB Ethernet
114 #device         axe                     # ASIX Electronics USB Ethernet
115 #device         cdce                    # Generic USB over Ethernet
116 #device         cue                     # CATC USB Ethernet
117 #device         kue                     # Kawasaki LSI USB Ethernet
118 #device         rue                     # RealTek RTL8150 USB Ethernet
119 #device         udav                    # Davicom DM9601E USB
120
121 # USB Wireless
122 #device         rum                     # Ralink Technology RT2501USB wireless NICs
123
124 # Wireless NIC cards
125 #device         wlan                    # 802.11 support
126 #device         wlan_wep                # 802.11 WEP support
127 #device         wlan_ccmp               # 802.11 CCMP support
128 #device         wlan_tkip               # 802.11 TKIP support
129 #device         wlan_amrr               # AMRR transmit rate control algorithm
130
131 # PCI
132 options         NEW_PCIB
133 device          pci
134
135 # PCI Ethernet NICs that use the common MII bus controller code.
136 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
137 device          re                      # RealTek 8139C+/8169/8169S/8110S
138
139 # DRM2
140 #device         fbd
141 #device         vt
142 #device         splash
143 #device         kbdmux
144 #device         drm2
145
146 # Sound
147 #device         sound
148 #device         snd_hda
149
150 # Flattened Device Tree
151 options         FDT                     # Configure using FDT/DTB data
152 device          fdt_pinctrl
153
154 # SoC-specific devices
155
156 #device         hwpmc