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