Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.1
      1 #
      2 #	$NetBSD: GENERIC,v 1.1 2018/04/01 04:35:04 ryo Exp $
      3 #
      4 #	GENERIC ARM (aarch32) kernel
      5 #
      6 
      7 include	"arch/evbarm/conf/std.generic"
      8 include "arch/evbarm/conf/files.generic"
      9 include	"arch/evbarm/conf/GENERIC.common"
     10 
     11 #
     12 # FDT files supported by this kernel - add to DTSSUBDIR and DTS as
     13 # appropriate
     14 #
     15 makeoptions 	DTSARCH="arm"
     16 makeoptions	DTSGNUARCH="arm"
     17 makeoptions	DTSSUBDIR="allwinner nvidia"
     18 makeoptions	DTS="
     19 	tegra124-apalis-eval.dts
     20 	tegra124-jetson-tk1.dts
     21 	tegra124-nyan-big.dts
     22 	tegra124-nyan-blaze.dts
     23 	tegra124-venice2.dts
     24 "
     25 
     26 options 	CPU_CORTEXA15
     27 options 	CPU_CORTEXA57
     28 options 	SOC_TEGRA124
     29 options 	SOC_SUN4I_A10
     30 options 	SOC_SUN5I_A13
     31 options 	SOC_SUN6I_A31
     32 options 	SOC_SUN7I_A20
     33 options 	SOC_SUN8I_A83T
     34 options 	SOC_SUN8I_H3
     35 options 	SOC_SUN9I_A80
     36 options 	MULTIPROCESSOR
     37 
     38 pseudo-device 	openfirm	# /dev/openfirm
     39 
     40 #options 	DIAGNOSTIC	# internal consistency checks
     41 #options 	DEBUG
     42 #options 	LOCKDEBUG
     43 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
     44 #options 	IPKDB		# remote kernel debugging
     45 options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
     46 # EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
     47 #options        EARLYCONS=sunxi, CONSADDR=0x01c28000
     48 #options        EARLYCONS=tegra, CONSADDR=0x70006000
     49 
     50 makeoptions	DEBUG="-g"	# compile full symbol table
     51 makeoptions	COPY_SYMTAB=1
     52 
     53 config		netbsd		root on ? type ?
     54 
     55 # Device tree support
     56 armfdt0		at root
     57 fdt*		at fdtbus?
     58 
     59 # CPUs
     60 cpus*		at fdt? pass 0
     61 cpu*		at cpus?
     62 
     63 # CPU frequency scaling
     64 cpufreqdt*	at cpu?
     65 
     66 # Power State Coordination Interface (PSCI)
     67 psci*		at fdt?
     68 
     69 fclock*		at fdt? pass 1
     70 ffclock*	at fdt? pass 1
     71 fregulator*	at fdt? pass 4
     72 gregulator*	at fdt? pass 4
     73 gpiokeys*	at fdt?
     74 wskbd*		at gpiokeys? console ? mux 1
     75 gpioleds*	at fdt?
     76 
     77 # Timer
     78 gtmr*		at fdt? pass 1		# ARM Generic Timer
     79 armgtmr0	at gtmr?
     80 tegratimer*	at fdt?			# Timers
     81 
     82 # Watchdog
     83 sunxiwdt*	at fdt?			# Allwinner watchdog
     84 
     85 # Interrupt controller
     86 tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
     87 gic*		at fdt? pass 1		# ARM GIC
     88 armgic0		at gic?
     89 
     90 # Memory controller
     91 tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
     92 
     93 # DMA controller
     94 sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
     95 tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
     96 
     97 # FUSE controller
     98 tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
     99 
    100 # Power management controller
    101 tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
    102 
    103 # Clock and Reset controller
    104 sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
    105 sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
    106 sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
    107 sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
    108 sunxigates*	at fdt? pass 1		# Allwinner misc. gates
    109 sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
    110 tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
    111 
    112 # GPIO controller
    113 sunxigpio*	at fdt? pass 3		# Allwinner GPIO
    114 tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
    115 gpio*		at gpiobus?
    116 
    117 # MPIO / Pinmux
    118 tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
    119 
    120 # XUSB PADCTL
    121 tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
    122 tegra210xphy*	at tegra210xpad?
    123 
    124 # PCIE
    125 # XXXNH not yet
    126 #tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
    127 #pci*		at tegrapcie0
    128 #ppb*		at pci? dev ? function ?
    129 #pci*		at ppb?
    130 
    131 # Ethernet
    132 emac*		at fdt?			# Allwinner Gigabit Ethernet (EMAC)
    133 #re*		at pci? dev ? function ?	# Realtek RTL8111GS
    134 
    135 # MII/PHY support
    136 exphy* 		at mii? phy ?		# 3Com internal PHYs
    137 gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    138 glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
    139 gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
    140 icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
    141 igphy*		at mii? phy ?		# Intel IGP01E1000
    142 ihphy*		at mii? phy ?		# Intel 82577 PHYs
    143 ikphy*		at mii? phy ?		# Intel 82563 PHYs
    144 inphy*		at mii? phy ?		# Intel 82555 PHYs
    145 iophy*		at mii? phy ?		# Intel 82553 PHYs
    146 lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
    147 makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
    148 nsphy*		at mii? phy ?		# NS83840 PHYs
    149 nsphyter*	at mii? phy ? 		# NS83843 PHYs
    150 pnaphy*		at mii? phy ?		# generic HomePNA PHYs
    151 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    152 rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
    153 rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
    154 rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
    155 sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
    156 tlphy*		at mii? phy ?		# ThunderLAN PHYs
    157 tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
    158 urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
    159 ukphy*		at mii? phy ?		# generic unknown PHYs
    160 
    161 # Mini-PCIe Wireless
    162 #options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
    163 #ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
    164 #athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
    165 
    166 # UART
    167 com*		at fdt?			# UART
    168 plcom*		at fdt?			# ARM PL011 UART
    169 
    170 # I2C controllers
    171 sunxirsb*	at fdt?			# Allwinner RSB
    172 sunxitwi*	at fdt?			# Allwinner TWI
    173 tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
    174 iic*		at i2cbus?
    175 
    176 # I2C devices
    177 titemp*		at iic?
    178 seeprom*	at iic?
    179 as3722pmic*	at iic?
    180 as3722reg*	at as3722pmic?
    181 max77620pmic*	at iic?
    182 tcagpio*	at iic?
    183 
    184 # Random number generators
    185 
    186 # RTC
    187 sunxirtc*	at fdt?			# Allwinner RTC
    188 tegrartc*	at fdt?			# NVIDIA Tegra RTC
    189 
    190 # SDMMC
    191 mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
    192 sdhc*		at fdt?			# SD Host Controller Interface
    193 sunximmc*	at fdt?			# Allwinner SD/MMC
    194 sdmmc*		at sdmmcbus?
    195 ld0		at sdmmc0
    196 ld1		at sdmmc1
    197 ld2		at sdmmc2
    198 ld3		at sdmmc3
    199 ld*		at sdmmc?
    200 
    201 # SATA
    202 ahcisata*	at fdt?			# AHCI SATA
    203 atabus*		at ata?
    204 atapibus*	at atapi?
    205 wd*		at atabus? drive ?
    206 cd*		at atapibus? drive ?
    207 
    208 # SPI controllers
    209 #spi*		at spibus?
    210 
    211 # Audio support
    212 hdaudio*	at fdt?			# Intel HDA
    213 hdafg*		at hdaudiobus?
    214 options 	HDAUDIOVERBOSE
    215 options 	HDAUDIO_32BIT_ACCESS
    216 options 	HDAUDIO_ENABLE_HDMI
    217 options 	HDAUDIO_ENABLE_DISPLAYPORT
    218 sunxicodec*	at fdt?			# Allwinner audio codec
    219 h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
    220 audio*		at audiobus?
    221 
    222 spkr*		at audio?		# PC speaker (synthesized)
    223 
    224 # HDMI CEC
    225 tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
    226 hdmicec*	at hdmicecbus?
    227 
    228 # Display
    229 #tegradrm*	at fdt?			# NVIDIA Tegra Display
    230 #tegrafb*	at tegrafbbus?
    231 genfb*		at fdt?			# Simple Framebuffer
    232 wsdisplay*	at wsemuldisplaydev?
    233 options 	VCONS_DRAW_INTR
    234 options 	WSEMUL_VT100
    235 options 	WS_DEFAULT_FG=WSCOL_WHITE
    236 options 	WS_DEFAULT_BG=WSCOL_BLACK
    237 options 	WS_KERNEL_FG=WSCOL_GREEN
    238 options 	WS_KERNEL_BG=WSCOL_BLACK
    239 options 	WSDISPLAY_COMPAT_PCVT
    240 options 	WSDISPLAY_COMPAT_SYSCONS
    241 options 	WSDISPLAY_COMPAT_USL
    242 options 	WSDISPLAY_COMPAT_RAWKBD
    243 options 	WSDISPLAY_DEFAULTSCREENS=4
    244 pseudo-device	wsmux
    245 pseudo-device	wsfont
    246 
    247 # GPU
    248 #nouveau*	at fdt?			# NVIDIA GPU
    249 
    250 # Thermal throttling controller
    251 tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
    252 
    253 # USB
    254 sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
    255 tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
    256 #dwctwo*		at fdt?			# Designware USB DRD
    257 ehci*		at fdt?			# EHCI
    258 #motg*		at fdt?			# Mentor Graphics USB OTG
    259 ohci*		at fdt?			# OHCI
    260 xhci*		at fdt?			# XHCI
    261 usb*		at usbus?
    262 
    263 include "dev/usb/usbdevices.config"
    264 midi*		at midibus?
    265 
    266 cinclude "arch/evbarm/conf/GENERIC.local"
    267