1 1.41 jmcneill # $NetBSD: NETWALKER,v 1.41 2020/09/29 19:58:50 jmcneill 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.41 jmcneill options CPU_CORTEX # 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 # memorydisk=<n> Set memorydisk size to <n> KB 30 1.26 hkenken # quiet Show aprint_naive output 31 1.26 hkenken # verbose Show aprint_normal and aprint_verbose output 32 1.35 hkenken # console=(fb|serial) Select console device 33 1.35 hkenken options BOOT_ARGS="\"verbose console=fb\"" 34 1.35 hkenken #options BOOT_ARGS="\"verbose\"" 35 1.26 hkenken 36 1.1 bsh # Kernel root file system and dump configuration. 37 1.39 skrll config netbsd root on ? type ? 38 1.25 hkenken config netbsd-ld0 root on ld0 type ffs 39 1.1 bsh 40 1.1 bsh # The main bus device 41 1.1 bsh mainbus0 at root 42 1.1 bsh 43 1.1 bsh # The boot cpu 44 1.1 bsh cpu0 at mainbus? 45 1.1 bsh 46 1.1 bsh # Devices 47 1.1 bsh # On-chip 48 1.1 bsh # On-chip bus 49 1.1 bsh axi0 at mainbus? 50 1.1 bsh 51 1.1 bsh # Interrupt Cotroller 52 1.1 bsh tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 53 1.1 bsh 54 1.1 bsh # Serial 55 1.1 bsh imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 56 1.1 bsh #imxuart1 at axi? addr 0x73fc0000 irq 32 57 1.1 bsh #imxuart2 at axi? addr 0x7000c000 irq 33 58 1.22 hkenken #options IMXUARTCONSOLE 59 1.1 bsh 60 1.10 bsh # Clock Control 61 1.10 bsh imxccm0 at axi? addr 0x73fd4000 62 1.10 bsh options IMX51_CKIL_FREQ=32768 63 1.25 hkenken #options IMXCCMDEBUG 64 1.10 bsh 65 1.1 bsh # Enhanced Periodic Interrupt Timer 66 1.1 bsh imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 67 1.1 bsh imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 68 1.1 bsh 69 1.3 bsh # IOMUX 70 1.3 bsh imxiomux0 at axi? addr 0x73fa8000 71 1.3 bsh 72 1.25 hkenken # WatchDog 73 1.25 hkenken imxwdog0 at axi? addr 0x73f98000 irq 58 flags 0 74 1.25 hkenken 75 1.3 bsh # GPIO 76 1.25 hkenken imxgpio0 at axi? addr 0x73f84000 irqbase 128 irq 50 77 1.25 hkenken imxgpio1 at axi? addr 0x73f88000 irqbase 160 irq 52 78 1.25 hkenken imxgpio2 at axi? addr 0x73f8c000 irqbase 192 irq 54 79 1.25 hkenken imxgpio3 at axi? addr 0x73f90000 irqbase 224 irq 56 80 1.25 hkenken gpio* at imxgpio? 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.36 hkenken spiflash0 at spiflashbus? 115 1.36 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.37 rin rgephy* at mii? phy ? 140 1.37 rin rlphy* at mii? phy ? 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