| @@ -1,184 +1,188 @@ | | | @@ -1,184 +1,188 @@ |
1 | # $NetBSD: files.fdt,v 1.52 2020/03/24 22:09:50 tnn Exp $ | | 1 | # $NetBSD: files.fdt,v 1.53 2020/07/16 11:42:53 jmcneill Exp $ |
2 | | | 2 | |
3 | include "external/bsd/libfdt/conf/files.libfdt" | | 3 | include "external/bsd/libfdt/conf/files.libfdt" |
4 | | | 4 | |
5 | defflag opt_fdt.h FDTBASE : libfdt, ofw_subr | | 5 | defflag opt_fdt.h FDTBASE : libfdt, ofw_subr |
6 | defflag opt_fdt.h FDT: FDTBASE | | 6 | defflag opt_fdt.h FDT: FDTBASE |
7 | | | 7 | |
8 | define fdt { [pass = 10] } : clk, pwm | | 8 | define fdt { [pass = 10] } : clk, pwm |
9 | | | 9 | |
10 | device simplebus { } : fdt | | 10 | device simplebus { } : fdt |
11 | attach simplebus at fdt | | 11 | attach simplebus at fdt |
12 | file dev/fdt/fdtbus.c fdt | | 12 | file dev/fdt/fdtbus.c fdt |
13 | | | 13 | |
14 | device fregulator | | 14 | device fregulator |
15 | attach fregulator at fdt | | 15 | attach fregulator at fdt |
16 | file dev/fdt/fixedregulator.c fregulator | | 16 | file dev/fdt/fixedregulator.c fregulator |
17 | | | 17 | |
18 | device gregulator | | 18 | device gregulator |
19 | attach gregulator at fdt | | 19 | attach gregulator at fdt |
20 | file dev/fdt/gpioregulator.c gregulator | | 20 | file dev/fdt/gpioregulator.c gregulator |
21 | | | 21 | |
22 | device fclock: clk | | 22 | device fclock: clk |
23 | attach fclock at fdt | | 23 | attach fclock at fdt |
24 | file dev/fdt/fixedclock.c fclock | | 24 | file dev/fdt/fixedclock.c fclock |
25 | | | 25 | |
26 | device ffclock: clk | | 26 | device ffclock: clk |
27 | attach ffclock at fdt | | 27 | attach ffclock at fdt |
28 | file dev/fdt/fixedfactorclock.c ffclock | | 28 | file dev/fdt/fixedfactorclock.c ffclock |
29 | | | 29 | |
30 | device gpiokeys: sysmon_envsys, sysmon_power, wskbddev, linux_keymap | | 30 | device gpiokeys: sysmon_envsys, sysmon_power, wskbddev, linux_keymap |
31 | attach gpiokeys at fdt | | 31 | attach gpiokeys at fdt |
32 | file dev/fdt/gpiokeys.c gpiokeys | | 32 | file dev/fdt/gpiokeys.c gpiokeys |
33 | | | 33 | |
34 | device gpioleds: leds | | 34 | device gpioleds: leds |
35 | attach gpioleds at fdt | | 35 | attach gpioleds at fdt |
36 | file dev/fdt/gpioleds.c gpioleds | | 36 | file dev/fdt/gpioleds.c gpioleds |
37 | | | 37 | |
38 | file dev/fdt/fdt_port.c fdt_port | | 38 | file dev/fdt/fdt_port.c fdt_port |
39 | | | 39 | |
40 | device connector: fdt_port | | 40 | device connector: fdt_port |
41 | attach connector at fdt with fdt_connector | | 41 | attach connector at fdt with fdt_connector |
42 | file dev/fdt/connector_fdt.c fdt_connector | | 42 | file dev/fdt/connector_fdt.c fdt_connector |
43 | | | 43 | |
44 | device panel: fdt_port | | 44 | device panel: fdt_port |
45 | attach panel at fdt with fdt_panel | | 45 | attach panel at fdt with fdt_panel |
46 | file dev/fdt/panel_fdt.c fdt_panel | | 46 | file dev/fdt/panel_fdt.c fdt_panel |
47 | | | 47 | |
48 | attach panel at fdt with panel_fdt: drmkms | | 48 | attach panel at fdt with panel_fdt: drmkms |
49 | file dev/fdt/fdt_panel.c panel_fdt | | 49 | file dev/fdt/fdt_panel.c panel_fdt |
50 | | | 50 | |
51 | device dispcon: fdt_port, drmkms, ddc_read_edid | | 51 | device dispcon: fdt_port, drmkms, ddc_read_edid |
52 | attach dispcon at fdt with dispcon_hdmi | | 52 | attach dispcon at fdt with dispcon_hdmi |
53 | file dev/fdt/hdmi_connector.c dispcon_hdmi | | 53 | file dev/fdt/hdmi_connector.c dispcon_hdmi |
54 | | | 54 | |
55 | file dev/fdt/fdt_openfirm.c fdtbase | | 55 | file dev/fdt/fdt_openfirm.c fdtbase |
56 | file dev/fdt/fdt_subr.c fdtbase | | 56 | file dev/fdt/fdt_subr.c fdtbase |
57 | file dev/fdt/fdt_clock.c fdt | | 57 | file dev/fdt/fdt_clock.c fdt |
58 | file dev/fdt/fdt_dai.c fdt | | 58 | file dev/fdt/fdt_dai.c fdt |
59 | file dev/fdt/fdt_dma.c fdt | | 59 | file dev/fdt/fdt_dma.c fdt |
60 | file dev/fdt/fdt_gpio.c fdt | | 60 | file dev/fdt/fdt_gpio.c fdt |
61 | file dev/fdt/fdt_i2c.c fdt | | 61 | file dev/fdt/fdt_i2c.c fdt |
62 | file dev/fdt/fdt_intr.c fdt | | 62 | file dev/fdt/fdt_intr.c fdt |
63 | file dev/fdt/fdt_mmc_pwrseq.c fdt | | 63 | file dev/fdt/fdt_mmc_pwrseq.c fdt |
64 | file dev/fdt/fdt_phy.c fdt | | 64 | file dev/fdt/fdt_phy.c fdt |
65 | file dev/fdt/fdt_power.c fdt | | 65 | file dev/fdt/fdt_power.c fdt |
66 | file dev/fdt/fdt_pwm.c fdt | | 66 | file dev/fdt/fdt_pwm.c fdt |
67 | file dev/fdt/fdt_regulator.c fdt | | 67 | file dev/fdt/fdt_regulator.c fdt |
68 | file dev/fdt/fdt_reset.c fdt | | 68 | file dev/fdt/fdt_reset.c fdt |
69 | file dev/fdt/fdt_rtc.c fdt | | 69 | file dev/fdt/fdt_rtc.c fdt |
70 | file dev/fdt/fdt_spi.c fdt | | 70 | file dev/fdt/fdt_spi.c fdt |
71 | file dev/fdt/fdt_syscon.c fdt | | 71 | file dev/fdt/fdt_syscon.c fdt |
72 | file dev/fdt/fdt_pinctrl.c fdt | | 72 | file dev/fdt/fdt_pinctrl.c fdt |
73 | | | 73 | |
74 | device cpus { } : fdt | | 74 | device cpus { } : fdt |
75 | attach cpus at fdt | | 75 | attach cpus at fdt |
76 | file dev/fdt/cpus.c cpus | | 76 | file dev/fdt/cpus.c cpus |
77 | | | 77 | |
78 | device mmcpwrseq | | 78 | device mmcpwrseq |
79 | attach mmcpwrseq at fdt with mmcpwrseq_simple | | 79 | attach mmcpwrseq at fdt with mmcpwrseq_simple |
80 | file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq_simple | | 80 | file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq_simple |
81 | attach mmcpwrseq at fdt with mmcpwrseq_emmc | | 81 | attach mmcpwrseq at fdt with mmcpwrseq_emmc |
82 | file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc | | 82 | file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc |
83 | | | 83 | |
84 | device syscon { } : fdt | | 84 | device syscon { } : fdt |
85 | attach syscon at fdt | | 85 | attach syscon at fdt |
86 | file dev/fdt/syscon.c syscon | | 86 | file dev/fdt/syscon.c syscon |
87 | | | 87 | |
88 | device pinctrl | | 88 | device pinctrl |
89 | attach pinctrl at fdt with pinctrl_single | | 89 | attach pinctrl at fdt with pinctrl_single |
90 | file dev/fdt/pinctrl_single.c pinctrl_single | | 90 | file dev/fdt/pinctrl_single.c pinctrl_single |
91 | | | 91 | |
92 | device pwmbacklight | | 92 | device pwmbacklight |
93 | attach pwmbacklight at fdt | | 93 | attach pwmbacklight at fdt |
94 | file dev/fdt/pwm_backlight.c pwmbacklight | | 94 | file dev/fdt/pwm_backlight.c pwmbacklight |
95 | | | 95 | |
96 | device pwmfan | | 96 | device pwmfan |
97 | attach pwmfan at fdt | | 97 | attach pwmfan at fdt |
98 | file dev/fdt/pwm_fan.c pwmfan | | 98 | file dev/fdt/pwm_fan.c pwmfan |
99 | | | 99 | |
100 | device ausoc: audiobus | | 100 | device ausoc: audiobus |
101 | attach ausoc at fdt | | 101 | attach ausoc at fdt |
102 | file dev/fdt/ausoc.c ausoc | | 102 | file dev/fdt/ausoc.c ausoc |
103 | | | 103 | |
104 | device spdiftx | | 104 | device spdiftx |
105 | attach spdiftx at fdt | | 105 | attach spdiftx at fdt |
106 | file dev/fdt/spdif_tx.c spdiftx | | 106 | file dev/fdt/spdif_tx.c spdiftx |
107 | | | 107 | |
108 | define fdt_display_timing | | 108 | define fdt_display_timing |
109 | file dev/fdt/display_timing.c fdt_display_timing | | 109 | file dev/fdt/display_timing.c fdt_display_timing |
110 | | | 110 | |
111 | # Display controller | | 111 | # Display controller |
112 | attach genfb at fdt with simplefb | | 112 | attach genfb at fdt with simplefb |
113 | file dev/fdt/simplefb.c simplefb | | 113 | file dev/fdt/simplefb.c simplefb |
114 | | | 114 | |
| | | 115 | # NS 8250 compatible UART |
| | | 116 | attach com at fdt with ns8250_uart |
| | | 117 | file dev/fdt/ns8250_uart.c ns8250_uart |
| | | 118 | |
115 | # Designware APB UART | | 119 | # Designware APB UART |
116 | attach com at fdt with dw_apb_uart | | 120 | attach com at fdt with dw_apb_uart |
117 | file dev/fdt/dw_apb_uart.c dw_apb_uart | | 121 | file dev/fdt/dw_apb_uart.c dw_apb_uart |
118 | | | 122 | |
119 | # EHCI | | 123 | # EHCI |
120 | attach ehci at fdt with ehci_fdt | | 124 | attach ehci at fdt with ehci_fdt |
121 | file dev/fdt/ehci_fdt.c ehci_fdt | | 125 | file dev/fdt/ehci_fdt.c ehci_fdt |
122 | | | 126 | |
123 | # OHCI | | 127 | # OHCI |
124 | attach ohci at fdt with ohci_fdt | | 128 | attach ohci at fdt with ohci_fdt |
125 | file dev/fdt/ohci_fdt.c ohci_fdt | | 129 | file dev/fdt/ohci_fdt.c ohci_fdt |
126 | | | 130 | |
127 | # Designware USB2 OTG | | 131 | # Designware USB2 OTG |
128 | attach dwctwo at fdt with dwc2_fdt | | 132 | attach dwctwo at fdt with dwc2_fdt |
129 | file dev/fdt/dwc2_fdt.c dwc2_fdt | | 133 | file dev/fdt/dwc2_fdt.c dwc2_fdt |
130 | | | 134 | |
131 | # Designware USB3 XHCI | | 135 | # Designware USB3 XHCI |
132 | attach xhci at fdt with dwc3_fdt | | 136 | attach xhci at fdt with dwc3_fdt |
133 | file dev/fdt/dwc3_fdt.c dwc3_fdt | | 137 | file dev/fdt/dwc3_fdt.c dwc3_fdt |
134 | | | 138 | |
135 | # Designware SD/MMC | | 139 | # Designware SD/MMC |
136 | attach dwcmmc at fdt with dwcmmc_fdt | | 140 | attach dwcmmc at fdt with dwcmmc_fdt |
137 | file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt | | 141 | file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt |
138 | | | 142 | |
139 | # Designware Watchdog Timer | | 143 | # Designware Watchdog Timer |
140 | device dwcwdt: sysmon_wdog | | 144 | device dwcwdt: sysmon_wdog |
141 | attach dwcwdt at fdt with dwcwdt_fdt | | 145 | attach dwcwdt at fdt with dwcwdt_fdt |
142 | file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt | | 146 | file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt |
143 | | | 147 | |
144 | # Virtio virtio,mmio | | 148 | # Virtio virtio,mmio |
145 | attach virtio at fdt with virtio_mmio_fdt: virtio_mmio | | 149 | attach virtio at fdt with virtio_mmio_fdt: virtio_mmio |
146 | file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt | | 150 | file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt |
147 | | | 151 | |
148 | # QEMU Firmware Configuration (fw_cfg) device | | 152 | # QEMU Firmware Configuration (fw_cfg) device |
149 | attach qemufwcfg at fdt with qemufwcfg_fdt | | 153 | attach qemufwcfg at fdt with qemufwcfg_fdt |
150 | file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt | | 154 | file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt |
151 | | | 155 | |
152 | # ARM PrimeCell General Purpose Input/Output (PL061) | | 156 | # ARM PrimeCell General Purpose Input/Output (PL061) |
153 | attach plgpio at fdt with plgpio_fdt | | 157 | attach plgpio at fdt with plgpio_fdt |
154 | file dev/fdt/pl061gpio_fdt.c plgpio_fdt | | 158 | file dev/fdt/pl061gpio_fdt.c plgpio_fdt |
155 | | | 159 | |
156 | # AHCI SATA controller | | 160 | # AHCI SATA controller |
157 | attach ahcisata at fdt with ahcisata_fdt | | 161 | attach ahcisata at fdt with ahcisata_fdt |
158 | file dev/fdt/ahcisata_fdt.c ahcisata_fdt | | 162 | file dev/fdt/ahcisata_fdt.c ahcisata_fdt |
159 | | | 163 | |
160 | # Designware I2C | | 164 | # Designware I2C |
161 | attach dwiic at fdt with dwiic_fdt | | 165 | attach dwiic at fdt with dwiic_fdt |
162 | file dev/fdt/dwiic_fdt.c dwiic_fdt | | 166 | file dev/fdt/dwiic_fdt.c dwiic_fdt |
163 | | | 167 | |
164 | # AMD Cryptographic Coprocessor | | 168 | # AMD Cryptographic Coprocessor |
165 | attach amdccp at fdt with amdccp_fdt | | 169 | attach amdccp at fdt with amdccp_fdt |
166 | file dev/fdt/amdccp_fdt.c amdccp_fdt | | 170 | file dev/fdt/amdccp_fdt.c amdccp_fdt |
167 | | | 171 | |
168 | # Arasan SDHCI controller | | 172 | # Arasan SDHCI controller |
169 | attach sdhc at fdt with arasan_sdhc_fdt | | 173 | attach sdhc at fdt with arasan_sdhc_fdt |
170 | file dev/fdt/arasan_sdhc_fdt.c arasan_sdhc_fdt | | 174 | file dev/fdt/arasan_sdhc_fdt.c arasan_sdhc_fdt |
171 | | | 175 | |
172 | # Generic USB PHY | | 176 | # Generic USB PHY |
173 | device usbnopphy | | 177 | device usbnopphy |
174 | attach usbnopphy at fdt | | 178 | attach usbnopphy at fdt |
175 | file dev/fdt/usbnopphy.c usbnopphy | | 179 | file dev/fdt/usbnopphy.c usbnopphy |
176 | | | 180 | |
177 | # Simple Amplifier Audio Driver | | 181 | # Simple Amplifier Audio Driver |
178 | device simpleamp | | 182 | device simpleamp |
179 | attach simpleamp at fdt | | 183 | attach simpleamp at fdt |
180 | file dev/fdt/simple_amplifier.c simpleamp | | 184 | file dev/fdt/simple_amplifier.c simpleamp |
181 | | | 185 | |
182 | # Broadcom GENET v5 | | 186 | # Broadcom GENET v5 |
183 | attach genet at fdt with genet_fdt | | 187 | attach genet at fdt with genet_fdt |
184 | file dev/fdt/genet_fdt.c genet_fdt | | 188 | file dev/fdt/genet_fdt.c genet_fdt |