1 1.39 skrll # $NetBSD: NETWALKER,v 1.39 2019/07/25 16:28:10 skrll 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.38 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.39 skrll 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 83 1.25 hkenken # I2C 84 1.33 hkenken imxi2c0 at axi? addr 0x83fc8000 irq 62 85 1.33 hkenken imxi2c1 at axi? addr 0x83fc4000 irq 63 86 1.25 hkenken 87 1.25 hkenken # IIC 88 1.33 hkenken iic* at imxi2c? 89 1.25 hkenken 90 1.25 hkenken # SPI bus 91 1.25 hkenken imxspi0 at axi? addr 0x70010000 irq 36 flags 1 92 1.25 hkenken #imxspi1 at axi? addr 0x83fac000 irq 37 flags 1 93 1.25 hkenken #imxspi2 at axi? addr 0x83fc0000 irq 38 flags 0 94 1.25 hkenken spi0 at imxspi0 # eCSPI1 95 1.25 hkenken #spi1 at imxspi1 # eCSPI2 96 1.25 hkenken #spi2 at imxspi2 # CSPI1 97 1.25 hkenken options IMXSPINSLAVES=3 98 1.25 hkenken #options IMXSPI_DEBUG=10 99 1.25 hkenken 100 1.25 hkenken # Optical Joystick 101 1.25 hkenken oj6sh0 at spi0 slave 2 102 1.25 hkenken #options OJ6SH_DEBUG=4 103 1.25 hkenken options OJ6SH_UP_X_LEFT_Y 104 1.25 hkenken wsmouse* at oj6sh? mux 0 105 1.26 hkenken 106 1.26 hkenken mousebtn0 at gpio1 offset 22 mask 0x03 # intr 182, 183 107 1.26 hkenken #options MOUSEBTN_POLLING 108 1.25 hkenken wsmouse* at mousebtn? mux 0 109 1.25 hkenken 110 1.26 hkenken pwrbtn0 at gpio1 offset 21 mask 0x01 # intr 181 111 1.26 hkenken lidsw0 at gpio3 offset 12 mask 0x01 # intr 236 112 1.27 hkenken imxpwm0 at axi? addr 0x73FB4000 irq 61 113 1.26 hkenken 114 1.25 hkenken # SPI NOR-Flash 115 1.36 hkenken spiflash0 at spiflashbus? 116 1.36 hkenken m25p0 at spi0 slave 1 117 1.3 bsh 118 1.12 bsh # SD/MMC 119 1.12 bsh sdhc0 at axi? addr 0x70004000 irq 1 # eSDHC1 120 1.12 bsh #sdhc1 at axi? addr 0x70008000 irq 2 # eSDHC2 121 1.12 bsh sdmmc* at sdhc? 122 1.12 bsh ld* at sdmmc? # MMC/SD card 123 1.12 bsh #options SDHC_DEBUG 124 1.12 bsh #options SDMMC_DEBUG 125 1.12 bsh 126 1.3 bsh # USB 127 1.3 bsh imxusbc0 at axi? addr 0x73f80000 128 1.3 bsh ehci0 at imxusbc0 unit 0 irq 18 # OTG 129 1.3 bsh ehci1 at imxusbc0 unit 1 irq 14 # Host1 130 1.3 bsh #ehci2 at imxusbc0 unit 2 irq 16 # Host2 131 1.3 bsh #ehci3 at imxusbc0 unit 3 irq 17 # Host3 132 1.3 bsh 133 1.3 bsh usb* at ehci? 134 1.3 bsh 135 1.23 hkenken # USB device drivers 136 1.23 hkenken include "dev/usb/usbdevices.config" 137 1.3 bsh 138 1.32 uebayasi midi* at midibus? 139 1.32 uebayasi 140 1.37 rin rgephy* at mii? phy ? 141 1.37 rin rlphy* at mii? phy ? 142 1.23 hkenken ukphy* at mii? phy ? 143 1.3 bsh 144 1.11 bsh # IPUv3 LCD Controller 145 1.11 bsh ipu0 at axi? 146 1.11 bsh #options IPUV3_DEBUG=1 147 1.11 bsh #options LCD_DEBUG 148 1.35 hkenken 149 1.35 hkenken # Framebuffer console 150 1.35 hkenken genfb* at ipu? 151 1.35 hkenken wsdisplay* at genfb? 152 1.35 hkenken #options GENFB_SHADOWFB 153 1.11 bsh 154 1.11 bsh # various options for wscons - we try to look as much like a standard 155 1.11 bsh # sun console as possible 156 1.35 hkenken options VCONS_DRAW_INTR 157 1.11 bsh options WSEMUL_VT100 # sun terminal emulation 158 1.11 bsh options WS_DEFAULT_FG=WSCOL_WHITE 159 1.11 bsh options WS_DEFAULT_BG=WSCOL_BLACK 160 1.35 hkenken options WS_KERNEL_FG=WSCOL_GREEN 161 1.35 hkenken options WS_KERNEL_BG=WSCOL_BLACK 162 1.11 bsh options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 163 1.35 hkenken options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 164 1.13 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 165 1.11 bsh options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 166 1.11 bsh options WSDISPLAY_DEFAULTSCREENS=4 167 1.11 bsh 168 1.1 bsh # Pseudo-Devices 169 1.1 bsh 170 1.1 bsh # wscons pseudo-devices 171 1.1 bsh pseudo-device wsmux # mouse & keyboard multiplexor 172 1.11 bsh pseudo-device wsfont 173 1.23 hkenken 174 1.23 hkenken # local configuration 175 1.23 hkenken cinclude "arch/evbarm/conf/NETWALKER.local" 176