NETWALKER revision 1.33
1# $NetBSD: NETWALKER,v 1.33 2015/04/10 10:58:07 hkenken Exp $ 2# 3# NETWALKER -- http://www.sharp.co.jp/netwalker/ 4# 5 6include "arch/evbarm/conf/std.netwalker" 7include "arch/evbarm/conf/GENERIC.common" 8 9# CPU options 10options CPU_CORTEXA8 # Support the ARM-v7a core 11options IMX51 12 13# Device options 14 15# Console options. also need IMXUARTCONSOLE 16options CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000 17options CONSPEED=115200 # Console speed 18 19options DIAGNOSTIC # internal consistency checks 20#options DEBUG 21#options KGDB 22makeoptions DEBUG="-g" # compile full symbol table 23makeoptions COPY_SYMTAB=1 24 25# Valid options for BOOT_ARGS: 26# single Boot to single user only 27# kdb Give control to kernel debugger 28# ask Ask for file name to reboot from 29# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 30# memorydisk=<n> Set memorydisk size to <n> KB 31# quiet Show aprint_naive output 32# verbose Show aprint_normal and aprint_verbose output 33#options BOOT_ARGS="\"verbose\"" 34 35# Kernel root file system and dump configuration. 36config netbsd root on ? type ? 37config netbsd-ld0 root on ld0 type ffs 38 39# The main bus device 40mainbus0 at root 41 42# The boot cpu 43cpu0 at mainbus? 44 45# Devices 46# On-chip 47# On-chip bus 48axi0 at mainbus? 49 50# Interrupt Cotroller 51tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 52 53# Serial 54imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 55#imxuart1 at axi? addr 0x73fc0000 irq 32 56#imxuart2 at axi? addr 0x7000c000 irq 33 57#options IMXUARTCONSOLE 58 59# Clock Control 60imxccm0 at axi? addr 0x73fd4000 61options IMX51_CKIL_FREQ=32768 62#options IMXCCMDEBUG 63 64# Enhanced Periodic Interrupt Timer 65imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 66imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 67 68# IOMUX 69imxiomux0 at axi? addr 0x73fa8000 70 71# WatchDog 72imxwdog0 at axi? addr 0x73f98000 irq 58 flags 0 73 74# GPIO 75imxgpio0 at axi? addr 0x73f84000 irqbase 128 irq 50 76imxgpio1 at axi? addr 0x73f88000 irqbase 160 irq 52 77imxgpio2 at axi? addr 0x73f8c000 irqbase 192 irq 54 78imxgpio3 at axi? addr 0x73f90000 irqbase 224 irq 56 79gpio* at imxgpio? 80options IMX_GPIO_INTR_SPLIT 81 82# I2C 83imxi2c0 at axi? addr 0x83fc8000 irq 62 84imxi2c1 at axi? addr 0x83fc4000 irq 63 85 86# IIC 87iic* at imxi2c? 88 89# SPI bus 90imxspi0 at axi? addr 0x70010000 irq 36 flags 1 91#imxspi1 at axi? addr 0x83fac000 irq 37 flags 1 92#imxspi2 at axi? addr 0x83fc0000 irq 38 flags 0 93spi0 at imxspi0 # eCSPI1 94#spi1 at imxspi1 # eCSPI2 95#spi2 at imxspi2 # CSPI1 96options IMXSPINSLAVES=3 97#options IMXSPI_DEBUG=10 98 99# Optical Joystick 100oj6sh0 at spi0 slave 2 101#options OJ6SH_DEBUG=4 102options OJ6SH_UP_X_LEFT_Y 103wsmouse* at oj6sh? mux 0 104 105mousebtn0 at gpio1 offset 22 mask 0x03 # intr 182, 183 106#options MOUSEBTN_POLLING 107wsmouse* at mousebtn? mux 0 108 109pwrbtn0 at gpio1 offset 21 mask 0x01 # intr 181 110lidsw0 at gpio3 offset 12 mask 0x01 # intr 236 111imxpwm0 at axi? addr 0x73FB4000 irq 61 112 113# SPI NOR-Flash 114#spiflash0 at spiflashbus? 115#m25p0 at spi0 slave 1 116 117# SD/MMC 118sdhc0 at axi? addr 0x70004000 irq 1 # eSDHC1 119#sdhc1 at axi? addr 0x70008000 irq 2 # eSDHC2 120sdmmc* at sdhc? 121ld* at sdmmc? # MMC/SD card 122#options SDHC_DEBUG 123#options SDMMC_DEBUG 124 125# USB 126imxusbc0 at axi? addr 0x73f80000 127ehci0 at imxusbc0 unit 0 irq 18 # OTG 128ehci1 at imxusbc0 unit 1 irq 14 # Host1 129#ehci2 at imxusbc0 unit 2 irq 16 # Host2 130#ehci3 at imxusbc0 unit 3 irq 17 # Host3 131 132usb* at ehci? 133 134# USB device drivers 135include "dev/usb/usbdevices.config" 136 137midi* at midibus? 138 139ukphy* at mii? phy ? 140 141# IPUv3 LCD Controller 142ipu0 at axi? 143wsdisplay0 at wsemuldisplaydev? console ? 144wsdisplay* at wsemuldisplaydev? 145#options IPUV3_DEBUG=1 146#options LCD_DEBUG 147options IMXIPUCONSOLE 148 149# various options for wscons - we try to look as much like a standard 150# sun console as possible 151options WSEMUL_VT100 # sun terminal emulation 152options WS_DEFAULT_FG=WSCOL_WHITE 153options WS_DEFAULT_BG=WSCOL_BLACK 154options WS_KERNEL_FG=WSCOL_GREEN 155options WS_KERNEL_BG=WSCOL_BLACK 156options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 157options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 158options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 159options WSDISPLAY_DEFAULTSCREENS=4 160 161# Pseudo-Devices 162 163# wscons pseudo-devices 164pseudo-device wsmux # mouse & keyboard multiplexor 165pseudo-device wsfont 166 167# local configuration 168cinclude "arch/evbarm/conf/NETWALKER.local" 169