1 # $NetBSD: files.fdt,v 1.38 2018/09/26 19:06:33 jakllsch Exp $ 2 3 include "external/bsd/libfdt/conf/files.libfdt" 4 5 defflag opt_fdt.h FDT: libfdt, ofw_subr 6 7 define fdt { [pass = 10] } : clk, pwm 8 9 device simplebus { } : fdt 10 attach simplebus at fdt 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 fdt 48 file dev/fdt/fdt_subr.c fdt 49 file dev/fdt/fdt_clock.c fdt 50 file dev/fdt/fdt_dai.c fdt 51 file dev/fdt/fdt_dma.c fdt 52 file dev/fdt/fdt_gpio.c fdt 53 file dev/fdt/fdt_i2c.c fdt 54 file dev/fdt/fdt_intr.c fdt 55 file dev/fdt/fdt_mmc_pwrseq.c fdt 56 file dev/fdt/fdt_phy.c fdt 57 file dev/fdt/fdt_power.c fdt 58 file dev/fdt/fdt_pwm.c fdt 59 file dev/fdt/fdt_regulator.c fdt 60 file dev/fdt/fdt_reset.c fdt 61 file dev/fdt/fdt_rtc.c fdt 62 file dev/fdt/fdt_syscon.c fdt 63 file dev/fdt/fdt_pinctrl.c fdt 64 65 device cpus { } : fdt 66 attach cpus at fdt 67 file dev/fdt/cpus.c cpus 68 69 device mmcpwrseq 70 attach mmcpwrseq at fdt 71 file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq 72 73 device syscon { } : fdt 74 attach syscon at fdt 75 file dev/fdt/syscon.c syscon 76 77 device pwmbacklight 78 attach pwmbacklight at fdt 79 file dev/fdt/pwm_backlight.c pwmbacklight 80 81 device pwmfan 82 attach pwmfan at fdt 83 file dev/fdt/pwm_fan.c pwmfan 84 85 device ausoc: audiobus 86 attach ausoc at fdt 87 file dev/fdt/ausoc.c ausoc 88 89 define fdt_display_timing 90 file dev/fdt/display_timing.c fdt_display_timing 91 92 # Display controller 93 attach genfb at fdt with simplefb 94 file dev/fdt/simplefb.c simplefb 95 96 # Designware APB UART 97 attach com at fdt with dw_apb_uart 98 file dev/fdt/dw_apb_uart.c dw_apb_uart 99 100 # Designware USB2 OTG 101 attach dwctwo at fdt with dwc2_fdt 102 file dev/fdt/dwc2_fdt.c dwc2_fdt 103 104 # Designware USB3 XHCI 105 attach xhci at fdt with dwc3_fdt 106 file dev/fdt/dwc3_fdt.c dwc3_fdt 107 108 # Designware SD/MMC 109 attach dwcmmc at fdt with dwcmmc_fdt 110 file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt 111 112 # Designware Watchdog Timer 113 device dwcwdt: sysmon_wdog 114 attach dwcwdt at fdt with dwcwdt_fdt 115 file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt 116 117 # Virtio virtio,mmio 118 attach virtio at fdt with virtio_mmio_fdt: virtio_mmio 119 file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt 120 121 # QEMU Firmware Configuration (fw_cfg) device 122 attach qemufwcfg at fdt with qemufwcfg_fdt 123 file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt 124 125 # ARM PrimeCell General Purpose Input/Output (PL061) 126 device pl061gpio: gpiobus 127 attach pl061gpio at fdt with pl061gpio_fdt 128 file dev/fdt/pl061gpio_fdt.c pl061gpio_fdt 129 130 # AHCI SATA controller 131 attach ahcisata at fdt with ahcisata_fdt 132 file dev/fdt/ahcisata_fdt.c ahcisata_fdt 133 134 # Designware I2C 135 attach dwiic at fdt with dwiic_fdt 136 file dev/fdt/dwiic_fdt.c dwiic_fdt 137