files.meson revision 1.3
1#	$NetBSD: files.meson,v 1.3 2019/01/20 00:44:01 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# Framebuffer console
36attach	genfb at fdt with meson_genfb
37file	arch/arm/amlogic/meson_genfb.c		meson_genfb & soc_meson
38
39# GPIO
40device	mesonpinctrl: gpiobus
41attach	mesonpinctrl at fdt with meson_pinctrl
42file	arch/arm/amlogic/meson_pinctrl.c	meson_pinctrl
43file	arch/arm/amlogic/meson8b_pinctrl.c	meson_pinctrl & soc_meson8b
44
45# SDHC
46device	mesonsdhc: sdmmcbus
47attach	mesonsdhc at fdt with meson_sdhc
48file	arch/arm/amlogic/meson_sdhc.c		meson_sdhc
49
50# SDIO
51device	mesonsdio: sdmmcbus
52attach	mesonsdio at fdt with meson_sdio
53file	arch/arm/amlogic/meson_sdio.c		meson_sdio
54
55# USB PHY
56device	mesonusbphy
57attach	mesonusbphy at fdt with meson_usbphy
58file	arch/arm/amlogic/meson_usbphy.c		meson_usbphy
59
60# RTC
61#device	mesonrtc
62#attach	mesonrtc at fdt with meson_rtc
63#file	arch/arm/amlogic/meson_rtc.c		meson_rtc
64
65# RNG
66device	mesonrng
67attach	mesonrng at fdt with meson_rng
68file	arch/arm/amlogic/meson_rng.c		meson_rng
69
70# GMAC
71attach	awge at fdt with meson_dwmac
72file	arch/arm/amlogic/meson_dwmac.c		meson_dwmac
73
74# Watchdog
75device	mesonwdt: sysmon_wdog
76attach	mesonwdt at fdt with meson_wdt
77file	arch/arm/amlogic/meson_wdt.c		meson_wdt
78
79# SOC parameters
80defflag	opt_soc.h			SOC_MESON
81defflag	opt_soc.h			SOC_MESON8B: SOC_MESON
82