files.meson revision 1.1
1#	$NetBSD: files.meson,v 1.1 2019/01/19 20:56:03 jmcneill Exp $
2#
3# Configuration info for Amlogic Meson family SoCs
4#
5#
6
7file	arch/arm/amlogic/meson_platform.c	soc_meson
8
9# Common clocks
10define	meson_clk
11file	arch/arm/amlogic/meson_clk.c		meson_clk
12file	arch/arm/amlogic/meson_clk_div.c	meson_clk
13file	arch/arm/amlogic/meson_clk_fixed.c	meson_clk
14file	arch/arm/amlogic/meson_clk_fixed_factor.c meson_clk
15file	arch/arm/amlogic/meson_clk_gate.c	meson_clk
16file	arch/arm/amlogic/meson_clk_mpll.c	meson_clk
17file	arch/arm/amlogic/meson_clk_mux.c	meson_clk
18file	arch/arm/amlogic/meson_clk_pll.c	meson_clk
19
20# Meson8b clock controller
21device	meson8bclkc: meson_clk
22attach	meson8bclkc at fdt with meson8b_clkc
23file	arch/arm/amlogic/meson8b_clkc.c		meson8b_clkc
24
25# Meson reset controller
26device	mesonresets
27attach	mesonresets at fdt with meson_resets
28file	arch/arm/amlogic/meson_resets.c		meson_resets
29
30# UART
31device	mesonuart
32attach	mesonuart at fdt with meson_uart
33file	arch/arm/amlogic/meson_uart.c		meson_uart
34
35# GPIO
36device	mesonpinctrl: gpiobus
37attach	mesonpinctrl at fdt with meson_pinctrl
38file	arch/arm/amlogic/meson_pinctrl.c	meson_pinctrl
39file	arch/arm/amlogic/meson8b_pinctrl.c	meson_pinctrl & soc_meson8b
40
41# SDHC
42#device	mesonsdhc: sdmmcbus
43#attach	mesonsdhc at fdt with meson_sdhc
44#file	arch/arm/amlogic/meson_sdhc.c		meson_sdhc
45
46# SDIO
47device	mesonsdio: sdmmcbus
48attach	mesonsdio at fdt with meson_sdio
49file	arch/arm/amlogic/meson_sdio.c		meson_sdio
50
51# USB PHY
52device	mesonusbphy
53attach	mesonusbphy at fdt with meson_usbphy
54file	arch/arm/amlogic/meson_usbphy.c		meson_usbphy
55
56# RTC
57#device	mesonrtc
58#attach	mesonrtc at fdt with meson_rtc
59#file	arch/arm/amlogic/meson_rtc.c		meson_rtc
60
61# RNG
62device	mesonrng
63attach	mesonrng at fdt with meson_rng
64file	arch/arm/amlogic/meson_rng.c		meson_rng
65
66# GMAC
67attach	awge at fdt with meson_dwmac
68file	arch/arm/amlogic/meson_dwmac.c		meson_dwmac
69
70# Watchdog
71device	mesonwdt: sysmon_wdog
72attach	mesonwdt at fdt with meson_wdt
73file	arch/arm/amlogic/meson_wdt.c		meson_wdt
74
75# SOC parameters
76defflag	opt_soc.h			SOC_MESON
77defflag	opt_soc.h			SOC_MESON8B: SOC_MESON
78