Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: files.rockchip,v 1.29 2022/11/19 09:17:57 yamt Exp $
#
# Configuration info for Rockchip family SoCs
#
#

file	arch/arm/rockchip/rk_platform.c		soc_rockchip

file	arch/arm/rockchip/rk3066_smp.c		soc_rk3288 & multiprocessor

# Clock and reset unit (CRU)
device	rkcru: rk_cru
file	arch/arm/rockchip/rk_cru.c		rk_cru
file	arch/arm/rockchip/rk_cru_arm.c		rk_cru
file	arch/arm/rockchip/rk_cru_composite.c	rk_cru
file	arch/arm/rockchip/rk_cru_gate.c		rk_cru
file	arch/arm/rockchip/rk_cru_mux.c		rk_cru
file	arch/arm/rockchip/rk_cru_pll.c		rk_cru

ifdef arm

# RK3288 clock and reset unit
attach	rkcru at fdt with rk3288_cru
file	arch/arm/rockchip/rk3288_cru.c		rk3288_cru & soc_rk3288

else

# RK3328 clock and reset unit
attach	rkcru at fdt with rk3328_cru
file	arch/arm/rockchip/rk3328_cru.c		rk3328_cru & soc_rk3328

# RK3399 clock and reset unit
attach	rkcru at fdt with rk3399_cru
file	arch/arm/rockchip/rk3399_cru.c		rk3399_cru & soc_rk3399
attach	rkcru at fdt with rk3399_pmucru
file	arch/arm/rockchip/rk3399_pmucru.c	rk3399_pmucru & soc_rk3399

# RK3588 clock and reset unit
attach	rkcru at fdt with rk3588_cru
file	arch/arm/rockchip/rk3588_cru.c		rk3588_cru & soc_rk3588

endif

# IOMUX control
device	rkiomux { }

ifdef arm

attach	rkiomux at fdt with rk3288_iomux
file	arch/arm/rockchip/rk3288_iomux.c	rk3288_iomux & soc_rk3288

else

attach	rkiomux at fdt with rk3328_iomux
file	arch/arm/rockchip/rk3328_iomux.c	rk3328_iomux & soc_rk3328
attach	rkiomux at fdt with rk3399_iomux
file	arch/arm/rockchip/rk3399_iomux.c	rk3399_iomux & soc_rk3399
attach	rkiomux at fdt with rk3588_iomux
file	arch/arm/rockchip/rk3588_iomux.c	rk3588_iomux & soc_rk3588

endif

# GPIO
device	rkgpio: gpiobus
attach	rkgpio at rkiomux with rk_gpio
file	arch/arm/rockchip/rk_gpio.c		rk_gpio

# I2C
device	rkiic: i2cbus, i2cexec
attach	rkiic at fdt with rk_i2c
file	arch/arm/rockchip/rk_i2c.c		rk_i2c

# SPI
device	rkspi: spibus
attach	rkspi at fdt with rk_spi
file	arch/arm/rockchip/rk_spi.c		rk_spi

# USB PHY
device	rkusb { }
attach	rkusb at fdt with rk_usb
device	rkusbphy
attach	rkusbphy at rkusb with rk_usbphy
file	arch/arm/rockchip/rk_usb.c		rk_usb | rk_usbphy

device	rk3288usb { }
attach	rk3288usb at fdt with rk3288_usb
device	rk3288usbphy
attach	rk3288usbphy at rk3288usb with rk3288_usbphy
file	arch/arm/rockchip/rk3288_usb.c		rk3288_usb | rk3288_usbphy

# GMAC
attach	awge at fdt with rk_gmac
file	arch/arm/rockchip/rk_gmac.c		rk_gmac

# EQOS
attach	eqos at fdt with rk_eqos
file	arch/arm/rockchip/rk_eqos.c		rk_eqos

# PCIe PHY
device	rkpciephy
attach	rkpciephy at fdt
file	arch/arm/rockchip/rk3399_pcie_phy.c	rkpciephy

# PCIe host
device	rkpcie: pcibus, pcihost_fdt
attach	rkpcie at fdt
file	arch/arm/rockchip/rk3399_pcie.c		rkpcie

# eMMC PHY
device	rkemmcphy
attach	rkemmcphy at fdt
file	arch/arm/rockchip/rk_emmcphy.c		rkemmcphy

# TSADC temperature sensors
device	rktsadc: sysmon_envsys
attach	rktsadc at fdt with rk_tsadc
file	arch/arm/rockchip/rk_tsadc.c		rk_tsadc

# PWM
device	rkpwm: pwm
attach	rkpwm at fdt with rk_pwm
file	arch/arm/rockchip/rk_pwm.c		rk_pwm

# DRM master
define	rkfbbus { }
device	rkdrm: drmkms, ddc_read_edid, rkfbbus
attach	rkdrm at fdt with rk_drm
file	arch/arm/rockchip/rk_drm.c		rk_drm
makeoptions	rk_drm	"CPPFLAGS.rk_drm"+="${CPPFLAGS.drmkms}"

# DRM framebuffer console
device	rkfb: rkfbbus, drmfb, wsemuldisplaydev
attach	rkfb at rkfbbus with rk_fb
file	arch/arm/rockchip/rk_fb.c		rk_fb
makeoptions	rk_fb	"CPPFLAGS.rk_fb"+="${CPPFLAGS.drmkms}"

# Visual Output Processor
device	rkvop: drmkms
attach	rkvop at fdt with rk_vop
file	arch/arm/rockchip/rk_vop.c		rk_vop
makeoptions	rk_vop	"CPPFLAGS.rk_vop"+="${CPPFLAGS.drmkms}"

# HDMI TX (Designware based)
attach	dwhdmi at fdt with rk_dwhdmi
file	arch/arm/rockchip/rk_dwhdmi.c		rk_dwhdmi
makeoptions	rk_dwhdmi	"CPPFLAGS.rk_dwhdmi"+="${CPPFLAGS.drmkms}"

# DP/eDP (Analogix-based)
attach	anxdp at fdt with rk_anxdp
file	arch/arm/rockchip/rk_anxdp.c		rk_anxdp
makeoptions	rk_anxdp	"CPPFLAGS.rk_anxdp"+="${CPPFLAGS.drmkms}"

# I2S/PCM controller
device	rki2s
attach  rki2s at fdt with rk_i2s
file    arch/arm/rockchip/rk_i2s.c		rk_i2s

# Crypto engine v1
device	rkv1crypto
attach	rkv1crypto at fdt with rk_v1crypto
file	arch/arm/rockchip/rk_v1crypto.c		rk_v1crypto

# SOC parameters
defflag	opt_soc.h			SOC_ROCKCHIP
defflag	opt_soc.h			SOC_RK3288: SOC_ROCKCHIP
defflag	opt_soc.h			SOC_RK3328: SOC_ROCKCHIP
defflag	opt_soc.h			SOC_RK3399: SOC_ROCKCHIP
defflag	opt_soc.h			SOC_RK3588: SOC_ROCKCHIP