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