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