NetBSD/sys/arch/arm/nvidia/files.tegra
jmcneill 0af3fdefa2 Add SOC_THERM temperature sensor driver:
# envstat -d tegrasoctherm0
        Current  CritMax  WarnMax  WarnMin  CritMin  Unit
CPU0:    27.500                                      degC
CPU1:    27.500                                      degC
CPU2:    29.500                                      degC
CPU3:    29.000                                      degC
MEM0:    26.500                                      degC
MEM1:    27.000                                      degC
 GPU:    27.000                                      degC
PLLX:    28.000                                      degC
2015-11-21 22:55:32 +00:00

156 lines
4.1 KiB
Plaintext

# $NetBSD: files.tegra,v 1.24 2015/11/21 22:55:32 jmcneill Exp $
#
# Configuration info for NVIDIA Tegra ARM Peripherals
#
include "arch/arm/pic/files.pic"
include "arch/arm/cortex/files.cortex"
file arch/arm/arm32/arm32_boot.c
file arch/arm/arm32/arm32_kvminit.c
file arch/arm/arm32/arm32_reboot.c
file arch/arm/arm32/irq_dispatch.S
file arch/arm/arm32/armv7_generic_space.c
file arch/arm/arm/bus_space_a4x.S
file arch/arm/nvidia/tegra_soc.c
file arch/arm/nvidia/tegra_cpufreq.c
file arch/arm/nvidia/soc_tegra124.c soc_tegra124
# On-board I/O
device tegraio { [port=-1] } : bus_space_generic
attach tegraio at mainbus with tegra_io
file arch/arm/nvidia/tegra_io.c tegra_io
# Memory controller
device tegramc
attach tegramc at tegraio with tegra_mc
file arch/arm/nvidia/tegra_mc.c tegra_mc
# Power management controller
device tegrapmc
attach tegrapmc at tegraio with tegra_pmc
file arch/arm/nvidia/tegra_pmc.c tegra_pmc
# eFUSE
device tegrafuse
attach tegrafuse at tegraio with tegra_fuse
file arch/arm/nvidia/tegra_fuse.c tegra_fuse
# Clock and Reset controller
device tegracar
attach tegracar at tegraio with tegra_car
file arch/arm/nvidia/tegra_car.c tegra_car
# GPIO controller
device tegragpio: gpiobus
attach tegragpio at tegraio with tegra_gpio
file arch/arm/nvidia/tegra_gpio.c tegra_gpio
# Timers
device tegratimer: sysmon_wdog
attach tegratimer at tegraio with tegra_timer
file arch/arm/nvidia/tegra_timer.c tegra_timer
# MPIO / Pinmux
device tegrampio
attach tegrampio at tegraio with tegra_mpio
file arch/arm/nvidia/tegra_mpio.c tegra_mpio
# XUSB PADCTL
device tegraxusbpad
attach tegraxusbpad at tegraio with tegra_xusbpad
file arch/arm/nvidia/tegra_xusbpad.c tegra_xusbpad
# UART
attach com at tegraio with tegra_com
file arch/arm/nvidia/tegra_com.c tegra_com needs-flag
# I2C
device tegrai2c: i2cbus, i2cexec
attach tegrai2c at tegraio with tegra_i2c
file arch/arm/nvidia/tegra_i2c.c tegra_i2c
# RTC
device tegrartc
attach tegrartc at tegraio with tegra_rtc
file arch/arm/nvidia/tegra_rtc.c tegra_rtc
# USB PHY
define tegrausbphybus { }
device tegrausbphy
attach tegrausbphy at tegrausbphybus with tegra_usbphy
file arch/arm/nvidia/tegra_usbphy.c tegra_usbphy
# USB 2.0
device tegraehci: usbus, usbroothub, usb_dma, ehci, tegrausbphybus
attach tegraehci at tegraio with tegra_ehci
file arch/arm/nvidia/tegra_ehci.c tegra_ehci
# SDMMC
attach sdhc at tegraio with tegra_sdhc
file arch/arm/nvidia/tegra_sdhc.c tegra_sdhc
# Thermal throttling controller
device tegrasoctherm: sysmon_envsys
attach tegrasoctherm at tegraio with tegra_soctherm
file arch/arm/nvidia/tegra_soctherm.c tegra_soctherm
# PCIE
device tegrapcie: pcibus
attach tegrapcie at tegraio with tegra_pcie
file arch/arm/nvidia/tegra_pcie.c tegra_pcie
# SATA
attach ahcisata at tegraio with tegra_ahcisata
file arch/arm/nvidia/tegra_ahcisata.c tegra_ahcisata
# HDA
attach hdaudio at tegraio with tegra_hdaudio
file arch/arm/nvidia/tegra_hdaudio.c tegra_hdaudio
# Host1x subsystem
device tegrahost1x
attach tegrahost1x at tegraio with tegra_host1x
file arch/arm/nvidia/tegra_host1x.c tegra_host1x
# HDMI CEC
device tegracec: hdmicecbus
attach tegracec at tegraio with tegra_cec
file arch/arm/nvidia/tegra_cec.c tegra_cec
# Display
define tegrafbbus { }
device tegradrm: drmkms, tegrafbbus
attach tegradrm at tegraio with tegra_drm
file arch/arm/nvidia/tegra_drm.c tegra_drm
file arch/arm/nvidia/tegra_drm_mode.c tegra_drm
file arch/arm/nvidia/tegra_drm_fb.c tegra_drm
file arch/arm/nvidia/tegra_drm_gem.c tegra_drm
# Framebuffer console
device tegrafb: tegrafbbus, drmfb, wsemuldisplaydev
attach tegrafb at tegrafbbus with tegra_fb
file arch/arm/nvidia/tegra_fb.c tegra_fb
# GPU
attach nouveau at tegraio with tegra_nouveau
file arch/arm/nvidia/tegra_nouveau.c tegra_nouveau
# Console parameters
defparam opt_tegra.h CONADDR
defparam opt_tegra.h CONSPEED
defparam opt_tegra.h CONMODE
# Memory parameters
defparam opt_tegra.h MEMSIZE
# SOC parameters
defflag opt_tegra.h SOC_TEGRAK1
defflag opt_tegra.h SOC_TEGRA124: SOC_TEGRAK1
# Board parameters
defflag opt_tegra.h TEGRA_UBOOT
defflag opt_tegra.h BOARD_JETSONTK1: TEGRA_UBOOT
defflag opt_tegra.h BOARD_NYAN_BIG