1*d0800449Sjmcneill# $NetBSD: files.meson,v 1.12 2021/02/01 01:52:04 jmcneill Exp $ 2912cfa14Sjmcneill# 3912cfa14Sjmcneill# Configuration info for Amlogic Meson family SoCs 4912cfa14Sjmcneill# 5912cfa14Sjmcneill# 6912cfa14Sjmcneill 7912cfa14Sjmcneillfile arch/arm/amlogic/meson_platform.c soc_meson 8912cfa14Sjmcneill 9912cfa14Sjmcneill# Common clocks 10912cfa14Sjmcneilldefine meson_clk 11912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk.c meson_clk 12912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_div.c meson_clk 13912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_fixed.c meson_clk 14912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_fixed_factor.c meson_clk 15912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_gate.c meson_clk 16912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_mpll.c meson_clk 17912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_mux.c meson_clk 18912cfa14Sjmcneillfile arch/arm/amlogic/meson_clk_pll.c meson_clk 19912cfa14Sjmcneill 20912cfa14Sjmcneill# Meson8b clock controller 21912cfa14Sjmcneilldevice meson8bclkc: meson_clk 22912cfa14Sjmcneillattach meson8bclkc at fdt with meson8b_clkc 23912cfa14Sjmcneillfile arch/arm/amlogic/meson8b_clkc.c meson8b_clkc 24912cfa14Sjmcneill 257e38c880Sjmcneill# Meson GXBB clock controller 267e38c880Sjmcneilldevice gxbbclkc: meson_clk 277e38c880Sjmcneillattach gxbbclkc at fdt with mesongxbb_clkc 287e38c880Sjmcneillfile arch/arm/amlogic/mesongxbb_clkc.c mesongxbb_clkc 297e38c880Sjmcneill 307e38c880Sjmcneill# Meson GXBB AO clock controller 317e38c880Sjmcneilldevice gxbbaoclkc: meson_clk 327e38c880Sjmcneillattach gxbbaoclkc at fdt with mesongxbb_aoclkc 337e38c880Sjmcneillfile arch/arm/amlogic/mesongxbb_aoclkc.c mesongxbb_aoclkc 347e38c880Sjmcneill 358afae5d5Sryo# Meson G12[AB] clock controller 368afae5d5Sryodevice g12clkc: meson_clk 378afae5d5Sryoattach g12clkc at fdt with mesong12_clkc 388afae5d5Sryofile arch/arm/amlogic/mesong12_clkc.c mesong12_clkc 398afae5d5Sryo 408afae5d5Sryo# Meson G12[AB] AO clock controller 418afae5d5Sryodevice g12aoclkc: meson_clk 428afae5d5Sryoattach g12aoclkc at fdt with mesong12_aoclkc 438afae5d5Sryofile arch/arm/amlogic/mesong12_aoclkc.c mesong12_aoclkc 448afae5d5Sryo 45912cfa14Sjmcneill# Meson reset controller 46912cfa14Sjmcneilldevice mesonresets 47912cfa14Sjmcneillattach mesonresets at fdt with meson_resets 48912cfa14Sjmcneillfile arch/arm/amlogic/meson_resets.c meson_resets 49912cfa14Sjmcneill 50912cfa14Sjmcneill# UART 51912cfa14Sjmcneilldevice mesonuart 52912cfa14Sjmcneillattach mesonuart at fdt with meson_uart 53912cfa14Sjmcneillfile arch/arm/amlogic/meson_uart.c meson_uart 54912cfa14Sjmcneill 5583f9c13aSjmcneill# Framebuffer console 56284152fbSjmcneilldevice mesonfb: genfb, wsemuldisplaydev 577e38c880Sjmcneillattach mesonfb at fdt with meson_genfb 5883f9c13aSjmcneillfile arch/arm/amlogic/meson_genfb.c meson_genfb & soc_meson 5983f9c13aSjmcneill 60912cfa14Sjmcneill# GPIO 61912cfa14Sjmcneilldevice mesonpinctrl: gpiobus 62912cfa14Sjmcneillattach mesonpinctrl at fdt with meson_pinctrl 63912cfa14Sjmcneillfile arch/arm/amlogic/meson_pinctrl.c meson_pinctrl 64912cfa14Sjmcneillfile arch/arm/amlogic/meson8b_pinctrl.c meson_pinctrl & soc_meson8b 658afae5d5Sryofile arch/arm/amlogic/mesong12a_pinctrl.c meson_pinctrl & soc_mesong12 667e38c880Sjmcneillfile arch/arm/amlogic/mesongxbb_pinctrl.c meson_pinctrl & soc_mesongxbb 67229af777Sjmcneillfile arch/arm/amlogic/mesongxl_pinctrl.c meson_pinctrl & soc_mesongxl 68912cfa14Sjmcneill 697e38c880Sjmcneill# Meson8b SDHC 70fb172c8aSjmcneilldevice mesonsdhc: sdmmcbus 71fb172c8aSjmcneillattach mesonsdhc at fdt with meson_sdhc 72fb172c8aSjmcneillfile arch/arm/amlogic/meson_sdhc.c meson_sdhc 73912cfa14Sjmcneill 747e38c880Sjmcneill# Meson8b SDIO 75912cfa14Sjmcneilldevice mesonsdio: sdmmcbus 76912cfa14Sjmcneillattach mesonsdio at fdt with meson_sdio 77912cfa14Sjmcneillfile arch/arm/amlogic/meson_sdio.c meson_sdio 78912cfa14Sjmcneill 797e38c880Sjmcneill# Meson GX MMC 807e38c880Sjmcneilldevice mesongxmmc: sdmmcbus 817e38c880Sjmcneillattach mesongxmmc at fdt with mesongx_mmc 827e38c880Sjmcneillfile arch/arm/amlogic/mesongx_mmc.c mesongx_mmc 837e38c880Sjmcneill 84912cfa14Sjmcneill# USB PHY 85912cfa14Sjmcneilldevice mesonusbphy 86912cfa14Sjmcneillattach mesonusbphy at fdt with meson_usbphy 87912cfa14Sjmcneillfile arch/arm/amlogic/meson_usbphy.c meson_usbphy 88912cfa14Sjmcneill 89229af777Sjmcneill# Meson GXL USB2 PHY 90229af777Sjmcneilldevice mesongxlu2phy 91229af777Sjmcneillattach mesongxlu2phy at fdt with mesongxl_usb2phy 92229af777Sjmcneillfile arch/arm/amlogic/mesongxl_usb2phy.c mesongxl_usb2phy 93229af777Sjmcneill 94229af777Sjmcneill# Meson GXL USB3 PHY 95229af777Sjmcneilldevice mesongxlu3phy 96229af777Sjmcneillattach mesongxlu3phy at fdt with mesongxl_usb3phy 97229af777Sjmcneillfile arch/arm/amlogic/mesongxl_usb3phy.c mesongxl_usb3phy 98229af777Sjmcneill 998afae5d5Sryo# Meson G12 USB2 PHY 1008afae5d5Sryodevice mesong12u2phy 1018afae5d5Sryoattach mesong12u2phy at fdt with mesong12_usb2phy 1028afae5d5Sryofile arch/arm/amlogic/mesong12_usb2phy.c mesong12_usb2phy 1038afae5d5Sryo 1048afae5d5Sryo# Meson G12 USB3/PCIE PHY 1058afae5d5Sryodevice mesong12u3pphy 1068afae5d5Sryoattach mesong12u3pphy at fdt with mesong12_usb3pciephy 1078afae5d5Sryofile arch/arm/amlogic/mesong12_usb3pciephy.c mesong12_usb3pciephy 1088afae5d5Sryo 1098afae5d5Sryo# Meson G12 USB 1108afae5d5Sryodevice mesonusbctrl 1118afae5d5Sryoattach mesonusbctrl at fdt with meson_usbctrl 1128afae5d5Sryofile arch/arm/amlogic/meson_usbctrl.c meson_usbctrl 1138afae5d5Sryo 114912cfa14Sjmcneill# RTC 115f9c08fdbSjmcneilldevice mesonrtc 116f9c08fdbSjmcneillattach mesonrtc at fdt with meson_rtc 117f9c08fdbSjmcneillfile arch/arm/amlogic/meson_rtc.c meson_rtc 118912cfa14Sjmcneill 119912cfa14Sjmcneill# RNG 120912cfa14Sjmcneilldevice mesonrng 121912cfa14Sjmcneillattach mesonrng at fdt with meson_rng 122912cfa14Sjmcneillfile arch/arm/amlogic/meson_rng.c meson_rng 123912cfa14Sjmcneill 124912cfa14Sjmcneill# GMAC 125912cfa14Sjmcneillattach awge at fdt with meson_dwmac 126912cfa14Sjmcneillfile arch/arm/amlogic/meson_dwmac.c meson_dwmac 127912cfa14Sjmcneill 128e36b1243Sjmcneill# Meson GXL internal PHY 129e36b1243Sjmcneilldevice gxlphy: mii_phy 130e36b1243Sjmcneillattach gxlphy at mii 131e36b1243Sjmcneillfile arch/arm/amlogic/gxlphy.c gxlphy 132e36b1243Sjmcneill 133b9257b89Sjmcneill# Meson8b Watchdog 134912cfa14Sjmcneilldevice mesonwdt: sysmon_wdog 135912cfa14Sjmcneillattach mesonwdt at fdt with meson_wdt 136912cfa14Sjmcneillfile arch/arm/amlogic/meson_wdt.c meson_wdt 137912cfa14Sjmcneill 138b9257b89Sjmcneill# Meson GX Watchdog 139b9257b89Sjmcneilldevice mesongxwdt: sysmon_wdog 140b9257b89Sjmcneillattach mesongxwdt at fdt with mesongx_wdt 141b9257b89Sjmcneillfile arch/arm/amlogic/mesongx_wdt.c mesongx_wdt 142b9257b89Sjmcneill 14392c78af1Sskrll# Meson Timers 14492c78af1Sskrlldevice meson6timer 14592c78af1Sskrllattach meson6timer at fdt with meson6_timer 14692c78af1Sskrllfile arch/arm/amlogic/meson6_timer.c meson6_timer 14792c78af1Sskrll 1488afae5d5Sryo# Meson PWM 1498afae5d5Sryodevice mesonpwm 1508afae5d5Sryoattach mesonpwm at fdt with meson_pwm 1518afae5d5Sryofile arch/arm/amlogic/meson_pwm.c meson_pwm 1528afae5d5Sryo 1538afae5d5Sryo# Meson Thermal 1548afae5d5Sryodevice mesonthermal 1558afae5d5Sryoattach mesonthermal at fdt with meson_thermal 1568afae5d5Sryofile arch/arm/amlogic/meson_thermal.c meson_thermal 1578afae5d5Sryo 158912cfa14Sjmcneill# SOC parameters 159912cfa14Sjmcneilldefflag opt_soc.h SOC_MESON 160912cfa14Sjmcneilldefflag opt_soc.h SOC_MESON8B: SOC_MESON 161*d0800449Sjmcneilldefflag opt_soc.h SOC_MESONG12: SOC_MESON 162229af777Sjmcneilldefflag opt_soc.h SOC_MESONGX: SOC_MESON 163229af777Sjmcneilldefflag opt_soc.h SOC_MESONGXBB: SOC_MESONGX 164229af777Sjmcneilldefflag opt_soc.h SOC_MESONGXL: SOC_MESONGX 165