1 1.36 hkenken # $NetBSD: NETWALKER,v 1.36 2017/08/07 09:24:43 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.35 hkenken # console=(fb|serial) Select console device 34 1.35 hkenken options BOOT_ARGS="\"verbose console=fb\"" 35 1.35 hkenken #options BOOT_ARGS="\"verbose\"" 36 1.26 hkenken 37 1.1 bsh # Kernel root file system and dump configuration. 38 1.1 bsh config netbsd root on ? type ? 39 1.25 hkenken config netbsd-ld0 root on ld0 type ffs 40 1.1 bsh 41 1.1 bsh # The main bus device 42 1.1 bsh mainbus0 at root 43 1.1 bsh 44 1.1 bsh # The boot cpu 45 1.1 bsh cpu0 at mainbus? 46 1.1 bsh 47 1.1 bsh # Devices 48 1.1 bsh # On-chip 49 1.1 bsh # On-chip bus 50 1.1 bsh axi0 at mainbus? 51 1.1 bsh 52 1.1 bsh # Interrupt Cotroller 53 1.1 bsh tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 54 1.1 bsh 55 1.1 bsh # Serial 56 1.1 bsh imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 57 1.1 bsh #imxuart1 at axi? addr 0x73fc0000 irq 32 58 1.1 bsh #imxuart2 at axi? addr 0x7000c000 irq 33 59 1.22 hkenken #options IMXUARTCONSOLE 60 1.1 bsh 61 1.10 bsh # Clock Control 62 1.10 bsh imxccm0 at axi? addr 0x73fd4000 63 1.10 bsh options IMX51_CKIL_FREQ=32768 64 1.25 hkenken #options IMXCCMDEBUG 65 1.10 bsh 66 1.1 bsh # Enhanced Periodic Interrupt Timer 67 1.1 bsh imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 68 1.1 bsh imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 69 1.1 bsh 70 1.3 bsh # IOMUX 71 1.3 bsh imxiomux0 at axi? addr 0x73fa8000 72 1.3 bsh 73 1.25 hkenken # WatchDog 74 1.25 hkenken imxwdog0 at axi? addr 0x73f98000 irq 58 flags 0 75 1.25 hkenken 76 1.3 bsh # GPIO 77 1.25 hkenken imxgpio0 at axi? addr 0x73f84000 irqbase 128 irq 50 78 1.25 hkenken imxgpio1 at axi? addr 0x73f88000 irqbase 160 irq 52 79 1.25 hkenken imxgpio2 at axi? addr 0x73f8c000 irqbase 192 irq 54 80 1.25 hkenken imxgpio3 at axi? addr 0x73f90000 irqbase 224 irq 56 81 1.25 hkenken gpio* at imxgpio? 82 1.25 hkenken options IMX_GPIO_INTR_SPLIT 83 1.25 hkenken 84 1.25 hkenken # I2C 85 1.33 hkenken imxi2c0 at axi? addr 0x83fc8000 irq 62 86 1.33 hkenken imxi2c1 at axi? addr 0x83fc4000 irq 63 87 1.25 hkenken 88 1.25 hkenken # IIC 89 1.33 hkenken iic* at imxi2c? 90 1.25 hkenken 91 1.25 hkenken # SPI bus 92 1.25 hkenken imxspi0 at axi? addr 0x70010000 irq 36 flags 1 93 1.25 hkenken #imxspi1 at axi? addr 0x83fac000 irq 37 flags 1 94 1.25 hkenken #imxspi2 at axi? addr 0x83fc0000 irq 38 flags 0 95 1.25 hkenken spi0 at imxspi0 # eCSPI1 96 1.25 hkenken #spi1 at imxspi1 # eCSPI2 97 1.25 hkenken #spi2 at imxspi2 # CSPI1 98 1.25 hkenken options IMXSPINSLAVES=3 99 1.25 hkenken #options IMXSPI_DEBUG=10 100 1.25 hkenken 101 1.25 hkenken # Optical Joystick 102 1.25 hkenken oj6sh0 at spi0 slave 2 103 1.25 hkenken #options OJ6SH_DEBUG=4 104 1.25 hkenken options OJ6SH_UP_X_LEFT_Y 105 1.25 hkenken wsmouse* at oj6sh? mux 0 106 1.26 hkenken 107 1.26 hkenken mousebtn0 at gpio1 offset 22 mask 0x03 # intr 182, 183 108 1.26 hkenken #options MOUSEBTN_POLLING 109 1.25 hkenken wsmouse* at mousebtn? mux 0 110 1.25 hkenken 111 1.26 hkenken pwrbtn0 at gpio1 offset 21 mask 0x01 # intr 181 112 1.26 hkenken lidsw0 at gpio3 offset 12 mask 0x01 # intr 236 113 1.27 hkenken imxpwm0 at axi? addr 0x73FB4000 irq 61 114 1.26 hkenken 115 1.25 hkenken # SPI NOR-Flash 116 1.36 hkenken spiflash0 at spiflashbus? 117 1.36 hkenken m25p0 at spi0 slave 1 118 1.3 bsh 119 1.12 bsh # SD/MMC 120 1.12 bsh sdhc0 at axi? addr 0x70004000 irq 1 # eSDHC1 121 1.12 bsh #sdhc1 at axi? addr 0x70008000 irq 2 # eSDHC2 122 1.12 bsh sdmmc* at sdhc? 123 1.12 bsh ld* at sdmmc? # MMC/SD card 124 1.12 bsh #options SDHC_DEBUG 125 1.12 bsh #options SDMMC_DEBUG 126 1.12 bsh 127 1.3 bsh # USB 128 1.3 bsh imxusbc0 at axi? addr 0x73f80000 129 1.3 bsh ehci0 at imxusbc0 unit 0 irq 18 # OTG 130 1.3 bsh ehci1 at imxusbc0 unit 1 irq 14 # Host1 131 1.3 bsh #ehci2 at imxusbc0 unit 2 irq 16 # Host2 132 1.3 bsh #ehci3 at imxusbc0 unit 3 irq 17 # Host3 133 1.3 bsh 134 1.3 bsh usb* at ehci? 135 1.3 bsh 136 1.23 hkenken # USB device drivers 137 1.23 hkenken include "dev/usb/usbdevices.config" 138 1.3 bsh 139 1.32 uebayasi midi* at midibus? 140 1.32 uebayasi 141 1.23 hkenken ukphy* at mii? phy ? 142 1.3 bsh 143 1.11 bsh # IPUv3 LCD Controller 144 1.11 bsh ipu0 at axi? 145 1.11 bsh #options IPUV3_DEBUG=1 146 1.11 bsh #options LCD_DEBUG 147 1.35 hkenken 148 1.35 hkenken # Framebuffer console 149 1.35 hkenken genfb* at ipu? 150 1.35 hkenken wsdisplay* at genfb? 151 1.35 hkenken #options GENFB_SHADOWFB 152 1.11 bsh 153 1.11 bsh # various options for wscons - we try to look as much like a standard 154 1.11 bsh # sun console as possible 155 1.35 hkenken options VCONS_DRAW_INTR 156 1.11 bsh options WSEMUL_VT100 # sun terminal emulation 157 1.11 bsh options WS_DEFAULT_FG=WSCOL_WHITE 158 1.11 bsh options WS_DEFAULT_BG=WSCOL_BLACK 159 1.35 hkenken options WS_KERNEL_FG=WSCOL_GREEN 160 1.35 hkenken options WS_KERNEL_BG=WSCOL_BLACK 161 1.11 bsh options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 162 1.35 hkenken options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 163 1.13 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 164 1.11 bsh options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 165 1.11 bsh options WSDISPLAY_DEFAULTSCREENS=4 166 1.11 bsh 167 1.1 bsh # Pseudo-Devices 168 1.1 bsh 169 1.1 bsh # wscons pseudo-devices 170 1.1 bsh pseudo-device wsmux # mouse & keyboard multiplexor 171 1.11 bsh pseudo-device wsfont 172 1.23 hkenken 173 1.23 hkenken # local configuration 174 1.23 hkenken cinclude "arch/evbarm/conf/NETWALKER.local" 175