files.meson revision 1.5
1#	$NetBSD: files.meson,v 1.5 2019/02/25 19:30:17 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 GXBB clock controller
26device	gxbbclkc: meson_clk
27attach	gxbbclkc at fdt with mesongxbb_clkc
28file	arch/arm/amlogic/mesongxbb_clkc.c	mesongxbb_clkc
29
30# Meson GXBB AO clock controller
31device	gxbbaoclkc: meson_clk
32attach	gxbbaoclkc at fdt with mesongxbb_aoclkc
33file	arch/arm/amlogic/mesongxbb_aoclkc.c	mesongxbb_aoclkc
34
35# Meson reset controller
36device	mesonresets
37attach	mesonresets at fdt with meson_resets
38file	arch/arm/amlogic/meson_resets.c		meson_resets
39
40# UART
41device	mesonuart
42attach	mesonuart at fdt with meson_uart
43file	arch/arm/amlogic/meson_uart.c		meson_uart
44
45# Framebuffer console
46device	mesonfb
47attach	mesonfb at fdt with meson_genfb
48file	arch/arm/amlogic/meson_genfb.c		meson_genfb & soc_meson
49
50# GPIO
51device	mesonpinctrl: gpiobus
52attach	mesonpinctrl at fdt with meson_pinctrl
53file	arch/arm/amlogic/meson_pinctrl.c	meson_pinctrl
54file	arch/arm/amlogic/meson8b_pinctrl.c	meson_pinctrl & soc_meson8b
55file	arch/arm/amlogic/mesongxbb_pinctrl.c	meson_pinctrl & soc_mesongxbb
56
57# Meson8b SDHC
58device	mesonsdhc: sdmmcbus
59attach	mesonsdhc at fdt with meson_sdhc
60file	arch/arm/amlogic/meson_sdhc.c		meson_sdhc
61
62# Meson8b SDIO
63device	mesonsdio: sdmmcbus
64attach	mesonsdio at fdt with meson_sdio
65file	arch/arm/amlogic/meson_sdio.c		meson_sdio
66
67# Meson GX MMC
68device	mesongxmmc: sdmmcbus
69attach	mesongxmmc at fdt with mesongx_mmc
70file	arch/arm/amlogic/mesongx_mmc.c		mesongx_mmc 
71
72# USB PHY
73device	mesonusbphy
74attach	mesonusbphy at fdt with meson_usbphy
75file	arch/arm/amlogic/meson_usbphy.c		meson_usbphy
76
77# RTC
78device	mesonrtc
79attach	mesonrtc at fdt with meson_rtc
80file	arch/arm/amlogic/meson_rtc.c		meson_rtc
81
82# RNG
83device	mesonrng
84attach	mesonrng at fdt with meson_rng
85file	arch/arm/amlogic/meson_rng.c		meson_rng
86
87# GMAC
88attach	awge at fdt with meson_dwmac
89file	arch/arm/amlogic/meson_dwmac.c		meson_dwmac
90
91# Watchdog
92device	mesonwdt: sysmon_wdog
93attach	mesonwdt at fdt with meson_wdt
94file	arch/arm/amlogic/meson_wdt.c		meson_wdt
95
96# SOC parameters
97defflag	opt_soc.h			SOC_MESON
98defflag	opt_soc.h			SOC_MESON8B: SOC_MESON
99defflag	opt_soc.h			SOC_MESONGXBB: SOC_MESON
100