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