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