79 lines
1.7 KiB
Plaintext
79 lines
1.7 KiB
Plaintext
#
|
|
# $NetBSD: ODROID-C1,v 1.17 2015/04/17 18:36:15 jmcneill Exp $
|
|
#
|
|
# Hardkernel ODROID-C1 (Amlogic S805) based SBC (Single Board Computer)
|
|
#
|
|
|
|
include "arch/evbarm/conf/std.amlogic"
|
|
include "arch/evbarm/conf/GENERIC.common"
|
|
|
|
options CPU_CORTEXA5
|
|
options MULTIPROCESSOR
|
|
options CPUFREQ=1512
|
|
|
|
options DIAGNOSTIC
|
|
#options DEBUG
|
|
#options LOCKDEBUG
|
|
makeoptions DEBUG="-g" # compile full symbol table
|
|
makeoptions COPY_SYMTAB=1
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
mainbus0 at root
|
|
cpu* at mainbus?
|
|
|
|
armperiph0 at mainbus?
|
|
arml2cc0 at armperiph? # L2 Cache Controller
|
|
armgic0 at armperiph? # Interrupt Controller
|
|
a9tmr0 at armperiph? # Global Timer
|
|
a9wdt0 at armperiph? # Watchdog
|
|
|
|
# On-board I/O
|
|
amlogicio0 at mainbus?
|
|
|
|
# On-board UARTs
|
|
amlogiccom0 at amlogicio0 port 0
|
|
options CONSADDR=0xc81004c0, CONSPEED=115200
|
|
|
|
# Framebuffer
|
|
genfb0 at amlogicio0
|
|
wsdisplay* at genfb?
|
|
options VCONS_DRAW_INTR
|
|
options WSEMUL_VT100
|
|
options WS_DEFAULT_FG=WSCOL_WHITE
|
|
options WS_DEFAULT_BG=WSCOL_BLACK
|
|
options WS_KERNEL_FG=WSCOL_GREEN
|
|
options WS_KERNEL_BG=WSCOL_BLACK
|
|
options WSDISPLAY_COMPAT_PCVT
|
|
options WSDISPLAY_COMPAT_SYSCONS
|
|
options WSDISPLAY_COMPAT_USL
|
|
options WSDISPLAY_COMPAT_RAWKBD
|
|
options WSDISPLAY_DEFAULTSCREENS=4
|
|
pseudo-device wsmux
|
|
pseudo-device wsfont
|
|
|
|
# Hardware random number generator
|
|
amlogicrng0 at amlogicio0
|
|
|
|
# Real-time clock
|
|
amlogicrtc0 at amlogicio0
|
|
|
|
# SDHC controller
|
|
amlogicsdhc0 at amlogicio0 port 1
|
|
sdmmc* at amlogicsdhc?
|
|
ld* at sdmmc?
|
|
|
|
# Gigabit ethernet
|
|
awge0 at amlogicio0
|
|
rgephy* at mii? phy ?
|
|
ukphy* at mii? phy ?
|
|
|
|
# USB
|
|
dwctwo0 at amlogicio0 port 0
|
|
dwctwo1 at amlogicio0 port 1
|
|
usb* at dwctwo?
|
|
include "dev/usb/usbdevices.config"
|
|
midi* at midibus?
|
|
|
|
cinclude "arch/evbarm/conf/ODROID-C1.local"
|