1# $NetBSD: files.meson,v 1.10 2019/08/14 15:08:53 skrll 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: genfb, wsemuldisplaydev 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 56file arch/arm/amlogic/mesongxl_pinctrl.c meson_pinctrl & soc_mesongxl 57 58# Meson8b SDHC 59device mesonsdhc: sdmmcbus 60attach mesonsdhc at fdt with meson_sdhc 61file arch/arm/amlogic/meson_sdhc.c meson_sdhc 62 63# Meson8b SDIO 64device mesonsdio: sdmmcbus 65attach mesonsdio at fdt with meson_sdio 66file arch/arm/amlogic/meson_sdio.c meson_sdio 67 68# Meson GX MMC 69device mesongxmmc: sdmmcbus 70attach mesongxmmc at fdt with mesongx_mmc 71file arch/arm/amlogic/mesongx_mmc.c mesongx_mmc 72 73# USB PHY 74device mesonusbphy 75attach mesonusbphy at fdt with meson_usbphy 76file arch/arm/amlogic/meson_usbphy.c meson_usbphy 77 78# Meson GXL USB2 PHY 79device mesongxlu2phy 80attach mesongxlu2phy at fdt with mesongxl_usb2phy 81file arch/arm/amlogic/mesongxl_usb2phy.c mesongxl_usb2phy 82 83# Meson GXL USB3 PHY 84device mesongxlu3phy 85attach mesongxlu3phy at fdt with mesongxl_usb3phy 86file arch/arm/amlogic/mesongxl_usb3phy.c mesongxl_usb3phy 87 88# RTC 89device mesonrtc 90attach mesonrtc at fdt with meson_rtc 91file arch/arm/amlogic/meson_rtc.c meson_rtc 92 93# RNG 94device mesonrng 95attach mesonrng at fdt with meson_rng 96file arch/arm/amlogic/meson_rng.c meson_rng 97 98# GMAC 99attach awge at fdt with meson_dwmac 100file arch/arm/amlogic/meson_dwmac.c meson_dwmac 101 102# Meson GXL internal PHY 103device gxlphy: mii_phy 104attach gxlphy at mii 105file arch/arm/amlogic/gxlphy.c gxlphy 106 107# Meson8b Watchdog 108device mesonwdt: sysmon_wdog 109attach mesonwdt at fdt with meson_wdt 110file arch/arm/amlogic/meson_wdt.c meson_wdt 111 112# Meson GX Watchdog 113device mesongxwdt: sysmon_wdog 114attach mesongxwdt at fdt with mesongx_wdt 115file arch/arm/amlogic/mesongx_wdt.c mesongx_wdt 116 117# Meson Timers 118device meson6timer 119attach meson6timer at fdt with meson6_timer 120file arch/arm/amlogic/meson6_timer.c meson6_timer 121 122# SOC parameters 123defflag opt_soc.h SOC_MESON 124defflag opt_soc.h SOC_MESON8B: SOC_MESON 125defflag opt_soc.h SOC_MESONGX: SOC_MESON 126defflag opt_soc.h SOC_MESONGXBB: SOC_MESONGX 127defflag opt_soc.h SOC_MESONGXL: SOC_MESONGX 128