1#
2# Kernel configuration for Amlogic aml8726 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#    https://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 (https://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: stable/12/sys/arm/conf/AML8726 325096 2017-10-29 08:17:03Z eadler $
20
21# TODO: Port to INTRNG
22#NO_UNIVERSE
23
24ident		AML8726
25
26include 	"std.armv7"
27include 	"../amlogic/aml8726/std.aml8726"
28
29options 	SCHED_ULE		# ULE scheduler
30options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
31options 	LINUX_BOOT_ABI
32
33# NFS root from boopt/dhcp
34#options 	BOOTP
35#options 	BOOTP_NFSROOT
36#options 	BOOTP_COMPAT
37#options 	BOOTP_NFSV3
38#options 	BOOTP_WIRED_TO=axe0
39
40# Interrupt controller
41device		aml_pic
42
43# MMC/SD/SDIO Card slot support
44device		mmc			# mmc/sd bus
45device		mmcsd			# mmc/sd flash cards
46
47# Boot device is 2nd slice on MMC/SD card
48options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
49
50device		pl310			# PL310 L2 cache controller
51
52# GPIO
53device		gpio
54device		gpioled
55
56# I2C support
57device		iicbus
58device		iicbb
59device		iic
60
61# vt is the default console driver, resembling an SCO console
62device		vt
63#device		kbdmux
64
65# Serial (COM) ports
66device		uart			# Generic UART driver
67
68# Pseudo devices.
69device		loop			# Network loopback
70device		random			# Entropy device
71device		ether			# Ethernet support
72device		pty			# BSD-style compatibility pseudo ttys
73
74# The `bpf' device enables the Berkeley Packet Filter.
75# Be aware of the administrative consequences of enabling this!
76# Note that 'bpf' is required for DHCP.
77device		bpf			# Berkeley packet filter
78
79# USB support
80device		usb			# General USB code (mandatory for USB)
81device		dwcotg			# DWC OTG controller
82options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
83
84#device		ukbd			# USB keyboard
85#device		ums			# USB mouse
86
87device		scbus			# SCSI bus (required for ATA/SCSI)
88device		da			# Direct Access (disks)
89device		umass			# Disks/Mass storage - Requires scbus and da
90
91# Ethernet support
92device		miibus			# MII bus support
93
94# SoC Ethernet, requires miibus
95device		dwc
96
97# USB Ethernet support, requires miibus
98device		axe			# ASIX Electronics USB Ethernet
99
100# Flattened Device Tree
101options 	FDT			# Configure using FDT/DTB data
102