Home | History | Annotate | Line # | Download | only in conf
GENERIC64 revision 1.13
      1 #
      2 #	$NetBSD: GENERIC64,v 1.13 2018/05/06 10:36:06 jmcneill Exp $
      3 #
      4 #	GENERIC ARM (aarch64) kernel
      5 #
      6 
      7 include	"arch/evbarm/conf/std.generic64"
      8 include "arch/evbarm/conf/files.generic64"
      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 aarch64"
     16 makeoptions	DTSGNUARCH="arm arm64"
     17 makeoptions	DTSSUBDIR="allwinner broadcom nvidia"
     18 makeoptions	DTS="
     19 	bcm2837-rpi-3-b.dts
     20 
     21 	sun50i-a64-bananapi-m64.dts
     22 	sun50i-a64-nanopi-a64.dts
     23 	sun50i-a64-olinuxino.dts
     24 	sun50i-a64-orangepi-win.dts
     25 	sun50i-a64-pine64-plus.dts
     26 	sun50i-a64-pine64.dts
     27 	sun50i-a64-pinebook.dts
     28 	sun50i-a64-sopine-baseboard.dts
     29 	sun50i-a64-teres-i.dts
     30 
     31 	sun50i-h5-nanopi-neo-plus2.dts
     32 	sun50i-h5-nanopi-neo2.dts
     33 	sun50i-h5-orangepi-pc2.dts
     34 	sun50i-h5-orangepi-prime.dts
     35 	sun50i-h5-orangepi-zero-plus.dts
     36 	sun50i-h5-orangepi-zero-plus2.dts
     37 
     38 	sun50i-h6-pine-h64.dts
     39 
     40 	tegra210-p2371-0000.dts
     41 	tegra210-p2371-2180.dts
     42 	tegra210-p2571.dts
     43 	tegra210-smaug.dts
     44 "
     45 options 	CPU_CORTEXA53
     46 options 	CPU_CORTEXA57
     47 options 	SOC_BCM2837
     48 options 	SOC_TEGRA210
     49 options 	SOC_SUN50I_A64
     50 options 	SOC_SUN50I_H5
     51 options 	SOC_SUN50I_H6
     52 #options 	MULTIPROCESSOR
     53 
     54 pseudo-device 	openfirm	# /dev/openfirm
     55 
     56 options 	DIAGNOSTIC	# internal consistency checks
     57 options 	DEBUG
     58 #options 	LOCKDEBUG
     59 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
     60 #options 	IPKDB		# remote kernel debugging
     61 options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
     62 # EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
     63 #options 	EARLYCONS=bcm2837
     64 #options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
     65 #options 	EARLYCONS=tegra, CONSADDR=0x70006000
     66 
     67 makeoptions	DEBUG="-g"	# compile full symbol table
     68 makeoptions	COPY_SYMTAB=1
     69 
     70 config		netbsd		root on ? type ?
     71 
     72 # Device tree support
     73 armfdt0		at root
     74 fdt*		at fdtbus?
     75 
     76 # CPUs
     77 cpus*		at fdt? pass 0
     78 cpu*		at cpus?
     79 
     80 # CPU frequency scaling
     81 cpufreqdt*	at cpu?
     82 
     83 # Power State Coordination Interface (PSCI)
     84 psci*		at fdt?
     85 
     86 fclock*		at fdt? pass 1
     87 ffclock*	at fdt? pass 1
     88 fregulator*	at fdt? pass 4
     89 gregulator*	at fdt? pass 4
     90 gpiokeys*	at fdt?
     91 wskbd*		at gpiokeys? console ? mux 1
     92 gpioleds*	at fdt?
     93 
     94 # Timer
     95 gtmr*		at fdt? pass 1		# ARM Generic Timer
     96 armgtmr0	at gtmr?
     97 tegratimer*	at fdt?			# Timers
     98 
     99 # Watchdog
    100 sunxiwdt*	at fdt?			# Allwinner watchdog
    101 watchdog*	at fdt?			# Broadcom BCM283x watchdog
    102 
    103 # Interrupt controller
    104 bcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
    105 tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
    106 gic*		at fdt? pass 1		# ARM GIC
    107 armgic0		at gic?
    108 sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC
    109 
    110 # Memory controller
    111 tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
    112 
    113 # Firmware devices
    114 bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
    115 vcmbox*		at bcmmbox?
    116 
    117 # DMA controller
    118 bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
    119 sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
    120 tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
    121 
    122 # FUSE controller
    123 sunxisid*	at fdt? pass 4		# Allwinner SID
    124 tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
    125 
    126 # Power management controller
    127 tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
    128 
    129 # Clock and Reset controller
    130 bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
    131 bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
    132 sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
    133 sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
    134 sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
    135 sun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
    136 sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
    137 sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
    138 sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
    139 sunxigates*	at fdt? pass 1		# Allwinner misc. gates
    140 sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
    141 tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
    142 
    143 # GPIO controller
    144 bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
    145 sunxigpio*	at fdt? pass 3		# Allwinner GPIO
    146 tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
    147 gpio*		at gpiobus?
    148 
    149 # PWM controller
    150 sunxipwm*	at fdt? pass 3		# Allwinner PWM
    151 
    152 # MPIO / Pinmux
    153 tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
    154 
    155 # XUSB PADCTL
    156 tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
    157 tegra210xphy*	at tegra210xpad?
    158 
    159 # PCIE
    160 tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
    161 pci*		at tegrapcie0
    162 ppb*		at pci? dev ? function ?
    163 pci*		at ppb?
    164 
    165 # Ethernet
    166 emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
    167 re*		at pci? dev ? function ?	# Realtek RTL8111GS
    168 
    169 # MII/PHY support
    170 exphy* 		at mii? phy ?		# 3Com internal PHYs
    171 gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    172 glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
    173 gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
    174 icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
    175 igphy*		at mii? phy ?		# Intel IGP01E1000
    176 ihphy*		at mii? phy ?		# Intel 82577 PHYs
    177 ikphy*		at mii? phy ?		# Intel 82563 PHYs
    178 inphy*		at mii? phy ?		# Intel 82555 PHYs
    179 iophy*		at mii? phy ?		# Intel 82553 PHYs
    180 lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
    181 makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
    182 nsphy*		at mii? phy ?		# NS83840 PHYs
    183 nsphyter*	at mii? phy ? 		# NS83843 PHYs
    184 pnaphy*		at mii? phy ?		# generic HomePNA PHYs
    185 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    186 rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
    187 rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
    188 rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
    189 sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
    190 tlphy*		at mii? phy ?		# ThunderLAN PHYs
    191 tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
    192 urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
    193 ukphy*		at mii? phy ?		# generic unknown PHYs
    194 
    195 # Mini-PCIe Wireless
    196 #options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
    197 #ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
    198 #athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
    199 
    200 # UART
    201 com*		at fdt?			# UART
    202 plcom*		at fdt?			# ARM PL011 UART
    203 
    204 # I2C controllers
    205 bsciic*		at fdt?			# Broadcom BCM283x Serial Control
    206 sunxirsb*	at fdt?			# Allwinner RSB
    207 sunxitwi*	at fdt?			# Allwinner TWI
    208 tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
    209 iic*		at i2cbus?
    210 
    211 # I2C devices
    212 titemp*		at iic?
    213 seeprom*	at iic?
    214 as3722pmic*	at iic?
    215 as3722reg*	at as3722pmic?
    216 axppmic*	at iic?			# X-Powers AXP Power Management IC
    217 axpreg*	at 	axppmic?
    218 max77620pmic*	at iic?
    219 pcf8563rtc*	at iic?			# PCF8563 RTC
    220 tcagpio*	at iic?
    221 
    222 # Random number generators
    223 bcmrng*		at fdt?			# Broadcom BCM283x RNG
    224 
    225 # RTC
    226 sunxirtc*	at fdt?			# Allwinner RTC
    227 tegrartc*	at fdt?			# NVIDIA Tegra RTC
    228 
    229 # SDMMC
    230 mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
    231 sdhc*		at fdt?			# SD Host Controller Interface
    232 sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
    233 sunximmc*	at fdt?			# Allwinner SD/MMC
    234 sdmmc*		at sdmmcbus?
    235 ld0		at sdmmc0
    236 ld1		at sdmmc1
    237 ld2		at sdmmc2
    238 ld3		at sdmmc3
    239 ld*		at sdmmc?
    240 
    241 # SATA
    242 ahcisata*	at fdt?			# AHCI SATA
    243 atabus*		at ata?
    244 atapibus*	at atapi?
    245 wd*		at atabus? drive ?
    246 cd*		at atapibus? drive ?
    247 
    248 # SPI controllers
    249 bcmspi*		at fdt?			# Broadcom BCM283x SPI
    250 spi*		at spibus?
    251 
    252 # Audio support
    253 hdaudio*	at fdt?			# Intel HDA
    254 hdafg*		at hdaudiobus?
    255 options 	HDAUDIOVERBOSE
    256 options 	HDAUDIO_32BIT_ACCESS
    257 options 	HDAUDIO_ENABLE_HDMI
    258 options 	HDAUDIO_ENABLE_DISPLAYPORT
    259 sunxicodec*	at fdt?			# Allwinner audio codec
    260 h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
    261 audio*		at audiobus?
    262 
    263 spkr*		at audio?		# PC speaker (synthesized)
    264 
    265 # HDMI CEC
    266 tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
    267 hdmicec*	at hdmicecbus?
    268 
    269 # Display
    270 #tegradrm*	at fdt?			# NVIDIA Tegra Display
    271 #tegrafb*	at tegrafbbus?
    272 genfb*		at fdt?			# Simple Framebuffer
    273 wsdisplay*	at wsemuldisplaydev?
    274 options 	VCONS_DRAW_INTR
    275 options 	WSEMUL_VT100
    276 options 	WS_DEFAULT_FG=WSCOL_WHITE
    277 options 	WS_DEFAULT_BG=WSCOL_BLACK
    278 options 	WS_KERNEL_FG=WSCOL_GREEN
    279 options 	WS_KERNEL_BG=WSCOL_BLACK
    280 options 	WSDISPLAY_COMPAT_PCVT
    281 options 	WSDISPLAY_COMPAT_SYSCONS
    282 options 	WSDISPLAY_COMPAT_USL
    283 options 	WSDISPLAY_COMPAT_RAWKBD
    284 options 	WSDISPLAY_DEFAULTSCREENS=4
    285 pseudo-device	wsmux
    286 pseudo-device	wsfont
    287 
    288 # GPU
    289 #nouveau*	at fdt?			# NVIDIA GPU
    290 
    291 # Backlight
    292 pwmbacklight*	at fdt?			# PWM Backlight controls
    293 
    294 # Thermal throttling controller
    295 sunxithermal*	at fdt?			# Allwinner thermal sensor controller
    296 tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
    297 
    298 # USB
    299 sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
    300 sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
    301 tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
    302 dwctwo*		at fdt?			# Designware USB DRD
    303 ehci*		at fdt?			# EHCI
    304 motg*		at fdt?			# Mentor Graphics USB OTG
    305 ohci*		at fdt?			# OHCI
    306 xhci*		at fdt?			# XHCI
    307 usb*		at usbus?
    308 
    309 include "dev/usb/usbdevices.config"
    310 midi*		at midibus?
    311 
    312 cinclude "arch/evbarm/conf/GENERIC64.local"
    313