1 # $NetBSD: files.fdt,v 1.32 2018/06/16 00:19:04 jmcneill Exp $ 2 3 include "external/bsd/libfdt/conf/files.libfdt" 4 5 defflag opt_fdt.h FDT: libfdt, ofw_subr 6 7 define fdtbus { } : clk, pwm 8 9 device fdt { [pass = 10] } : fdtbus 10 attach fdt at fdtbus 11 file dev/fdt/fdtbus.c fdt 12 13 device fregulator 14 attach fregulator at fdt 15 file dev/fdt/fixedregulator.c fregulator 16 17 device gregulator 18 attach gregulator at fdt 19 file dev/fdt/gpioregulator.c gregulator 20 21 device fclock: clk 22 attach fclock at fdt 23 file dev/fdt/fixedclock.c fclock 24 25 device ffclock: clk 26 attach ffclock at fdt 27 file dev/fdt/fixedfactorclock.c ffclock 28 29 device gpiokeys: sysmon_envsys, sysmon_power, wskbddev, linux_keymap 30 attach gpiokeys at fdt 31 file dev/fdt/gpiokeys.c gpiokeys 32 33 device gpioleds: leds 34 attach gpioleds at fdt 35 file dev/fdt/gpioleds.c gpioleds 36 37 file dev/fdt/fdt_port.c fdt_port 38 39 device connector: fdt_port 40 attach connector at fdt with fdt_connector 41 file dev/fdt/connector_fdt.c fdt_connector 42 43 device panel: fdt_port 44 attach panel at fdt with fdt_panel 45 file dev/fdt/panel_fdt.c fdt_panel 46 47 file dev/fdt/fdt_openfirm.c fdtbus 48 file dev/fdt/fdt_subr.c fdtbus 49 file dev/fdt/fdt_clock.c fdtbus 50 file dev/fdt/fdt_dai.c fdtbus 51 file dev/fdt/fdt_dma.c fdtbus 52 file dev/fdt/fdt_gpio.c fdtbus 53 file dev/fdt/fdt_i2c.c fdtbus 54 file dev/fdt/fdt_intr.c fdtbus 55 file dev/fdt/fdt_mmc_pwrseq.c fdtbus 56 file dev/fdt/fdt_phy.c fdtbus 57 file dev/fdt/fdt_power.c fdtbus 58 file dev/fdt/fdt_pwm.c fdtbus 59 file dev/fdt/fdt_regulator.c fdtbus 60 file dev/fdt/fdt_reset.c fdtbus 61 file dev/fdt/fdt_rtc.c fdtbus 62 file dev/fdt/fdt_pinctrl.c fdtbus 63 64 device cpus { } : fdtbus 65 attach cpus at fdt 66 file dev/fdt/cpus.c cpus 67 68 device mmcpwrseq 69 attach mmcpwrseq at fdt 70 file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq 71 72 device pwmbacklight 73 attach pwmbacklight at fdt 74 file dev/fdt/pwm_backlight.c pwmbacklight 75 76 device ausoc: audiobus 77 attach ausoc at fdt 78 file dev/fdt/ausoc.c ausoc 79 80 define fdt_display_timing 81 file dev/fdt/display_timing.c fdt_display_timing 82 83 # Display controller 84 attach genfb at fdt with simplefb 85 file dev/fdt/simplefb.c simplefb 86 87 # Designware APB UART 88 attach com at fdt with dw_apb_uart 89 file dev/fdt/dw_apb_uart.c dw_apb_uart 90 91 # Designware USB2 OTG 92 attach dwctwo at fdt with dwc2_fdt 93 file dev/fdt/dwc2_fdt.c dwc2_fdt 94 95 # Designware USB3 XHCI 96 attach xhci at fdt with dwc3_fdt 97 file dev/fdt/dwc3_fdt.c dwc3_fdt 98 99 # Designware SD/MMC 100 attach dwcmmc at fdt with dwcmmc_fdt 101 file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt 102 103 # Virtio virtio,mmio 104 attach virtio at fdt with virtio_mmio_fdt: virtio_mmio 105 file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt 106 107 # QEMU Firmware Configuration (fw_cfg) device 108 attach qemufwcfg at fdt with qemufwcfg_fdt 109 file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt 110 111 # ARM PrimeCell General Purpose Input/Output (PL061) 112 device pl061gpio: gpiobus 113 attach pl061gpio at fdt with pl061gpio_fdt 114 file dev/fdt/pl061gpio_fdt.c pl061gpio_fdt 115