Home | History | Annotate | Line # | Download | only in conf
KOBO revision 1.9
      1 #	$NetBSD: KOBO,v 1.9 2019/02/06 11:58:30 rin Exp $
      2 #
      3 #	KOBO -- http://kobo.com
      4 #
      5 
      6 include	"arch/evbarm/conf/std.kobo"
      7 include	"arch/evbarm/conf/GENERIC.common"
      8 
      9 # CPU options
     10 options 	CPU_CORTEXA8	# Support the ARM-v7a core
     11 options		IMX51
     12 options 	IMX50
     13 options 	IMX508
     14 
     15 # Architecture options
     16 
     17 options 	MEMSTART=0x70000000
     18 options 	MEMSIZE=256
     19 options 	IMX51_IPGCLK_FREQ=50000000   # XXX This value is not correct.
     20 
     21 # Device options
     22 
     23 # Console options.    also need IMXUARTCONSOLE
     24 options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x53fc0000
     25 options 	CONSPEED=115200	# Console speed
     26 
     27 #options 	DIAGNOSTIC	# internal consistency checks
     28 #options 	DEBUG
     29 #options 	KGDB
     30 makeoptions	DEBUG="-g"	# compile full symbol table
     31 makeoptions	COPY_SYMTAB=1
     32 
     33 # Valid options for BOOT_ARGS:
     34 #  single		Boot to single user only
     35 #  kndb			Give control to kernel debugger
     36 #  ask			Ask for file name to reboot from
     37 #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
     38 #  memorydisk=<n>	Set memorydisk size to <n> KB
     39 #  quiet		Show aprint_naive output
     40 #  verbose		Show aprint_normal and aprint_verbose output
     41 options		BOOT_ARGS="\"verbose\""
     42 
     43 # Kernel root file system and dump configuration.
     44 config		netbsd		root on ? type ?
     45 config		netbsd-ld0	root on ld0 type ffs
     46 
     47 # The main bus device
     48 mainbus0	at root
     49 
     50 # The boot cpu
     51 cpu*		at mainbus?
     52 
     53 # Devices
     54 # On-chip
     55 # On-chip bus
     56 axi0		at mainbus?
     57 
     58 # Interrupt Cotroller
     59 tzic0		at axi? addr 0x0fffc000 size 0x4000 irqbase 0
     60 
     61 # Serial
     62 #imxuart0	at axi? addr 0x53fbc000 irq 31		# UART1
     63 imxuart1	at axi? addr 0x53fc0000 irq 32
     64 #imxuart2	at axi? addr 0x5000c000 irq 33
     65 options		IMXUARTCONSOLE
     66 
     67 # Clock Control
     68 imxccm0		at axi? addr 0x53fd4000
     69 options		IMX51_CKIL_FREQ=32768
     70 
     71 # Enhanced Periodic Interrupt Timer
     72 imxclock0	at axi? addr 0x53fac000 size 0x4000 irq 40
     73 
     74 # IOMUX
     75 imxiomux0	at axi? addr 0x53fa8000
     76 
     77 # WatchDog
     78 imxwdog0	at axi? addr 0x53f98000 irq 58 flags 0
     79 
     80 # GPIO
     81 imxgpio0	at axi? addr 0x53f84000 irqbase 128 irq 50
     82 imxgpio1	at axi? addr 0x53f88000 irqbase 160 irq 52
     83 imxgpio2	at axi? addr 0x53f8c000 irqbase 192 irq 54
     84 imxgpio3	at axi? addr 0x53f90000 irqbase 224 irq 56
     85 imxgpio4	at axi? addr 0x53fdc000 irqbase 256 irq 103
     86 imxgpio5	at axi? addr 0x53fe0000 irqbase 288 irq 105
     87 
     88 # EPDC E-Ink Controller
     89 #epdc0		at axi? addr 0x41010000 size 0x2000 irq 27
     90 #wsdisplay0	at wsemuldisplaydev? console ?
     91 #wsdisplay*	at wsemuldisplaydev?
     92 #options		EPDC_DEBUG=10
     93 #options		EINK_DEBUG
     94 #options		IMXEPDCCONSOLE
     95 
     96 # I2C
     97 imxi2c0		at axi? addr 0x63fc8000 irq 62
     98 imxi2c1		at axi? addr 0x63fc4000 irq 63
     99 #imxi2c2	at axi? addr 0x53fec000 irq 64
    100 
    101 # IIC
    102 iic*		at imxi2c?
    103 
    104 lmtemp*		at iic1 addr 0x48		# LM75 temperature sensor
    105 
    106 # SD/MMC
    107 sdhc0		at axi? addr 0x50004000 irq 1	# eSDHC1
    108 sdhc1		at axi? addr 0x50008000 irq 2	# eSDHC2
    109 sdhc2		at axi? addr 0x50020000 irq 3	# eSDHC3
    110 #sdhc3		at axi? addr 0x50024000 irq 4	# eSDHC4
    111 sdmmc*		at sdhc?
    112 ld*		at sdmmc?		# MMC/SD card
    113 #options 	SDHC_DEBUG
    114 #options 	SDMMC_DEBUG
    115 
    116 # USB
    117 imxusbc0	at axi? addr 0x53f80000
    118 ehci0		at imxusbc0	unit 0	irq 18 # OTG
    119 #ehci1		at imxusbc0	unit 1	irq 14 # Host1
    120 
    121 usb*		at ehci?
    122 
    123 # USB device drivers, just as soon as we have something to attach them to
    124 include "dev/usb/usbdevices.config"
    125 
    126 midi*		at midibus?
    127 
    128 rgephy*		at mii? phy ?
    129 rlphy*		at mii? phy ?
    130 ukphy*		at mii? phy ?
    131 
    132 # local configuration
    133 cinclude "arch/evbarm/conf/KOBO.local"
    134