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