files.exynos revision 1.38 1 # $NetBSD: files.exynos,v 1.38 2025/09/06 15:44:03 thorpej Exp $
2 #
3 # Configuration info for Samsung Exynos SoC ARM Peripherals
4 #
5
6 defflag opt_cpuoptions.h ARM_TRUSTZONE_FIRMWARE
7
8 # Memory size in megabytes
9 defparam opt_exynos.h MEMSIZE
10 defparam opt_exynos.h EXYNOS_WDT_DEFAULT_PERIOD
11
12 #
13 defflag opt_exynos.h SOC_EXYNOS
14 defflag opt_exynos.h SOC_EXYNOS4: SOC_EXYNOS, CPU_CORTEX
15 defflag opt_exynos.h SOC_EXYNOS4120: SOC_EXYNOS4
16 defflag opt_exynos.h SOC_EXYNOS4212: SOC_EXYNOS4
17 defflag opt_exynos.h SOC_EXYNOS4412: SOC_EXYNOS4
18 defflag opt_exynos.h SOC_EXYNOS4412P: SOC_EXYNOS4
19 defflag opt_exynos.h SOC_EXYNOS5: SOC_EXYNOS, CPU_CORTEX
20 defflag opt_exynos.h SOC_EXYNOS5250: SOC_EXYNOS5
21 defflag opt_exynos.h SOC_EXYNOS5260: SOC_EXYNOS5
22 defflag opt_exynos.h SOC_EXYNOS5410: SOC_EXYNOS5
23 defflag opt_exynos.h SOC_EXYNOS5420: SOC_EXYNOS5
24 defflag opt_exynos.h SOC_EXYNOS5440: SOC_EXYNOS5
25 defflag opt_exynos.h SOC_EXYNOS5422: SOC_EXYNOS5
26
27 file arch/arm/samsung/exynos_platform.c soc_exynos
28 file arch/arm/samsung/exynos_smc.S soc_exynos & arm_trustzone_firmware
29 file arch/arm/samsung/exynos_soc.c soc_exynos
30
31
32 # Interrupt combiner
33 device exyointr
34 attach exyointr at fdt with exynos_intr
35 file arch/arm/samsung/exynos_combiner.c exynos_intr
36
37 # real time clock
38 device exyortc : fdtbus
39 attach exyortc at fdt with exynos_rtc
40 file arch/arm/samsung/exynos_rtc.c exynos_rtc
41
42 # Multi Core timer
43 device mct : mpcorebus
44 attach mct at fdt with exyo_mct
45 file arch/arm/samsung/mct.c exyo_mct
46
47 # Watchdog
48 device exyowdt : sysmon_wdog
49 attach exyowdt at fdt with exynos_wdt
50 file arch/arm/samsung/exynos_wdt.c exynos_wdt needs-flag
51
52 # UARTs
53 device exuart: fdt_clock
54 attach exuart at fdt with exynos_uart
55 file arch/arm/samsung/exynos_uart.c exynos_uart
56
57 # PINCTL
58 device exyopctl : fdt_gpio, fdt_pinctrl, gpiobus
59 attach exyopctl at fdt with exynos_pinctrl
60 file arch/arm/samsung/exynos_pinctrl.c exynos_pinctrl needs-flag
61 file arch/arm/samsung/exynos_gpio.c exynos_pinctrl needs-flag
62
63 # USB2 PHY
64 device exusbphy: fdt_clock, fdt_phy, fdt_syscon
65 attach exusbphy at fdt with exynos_usbphy
66 file arch/arm/samsung/exynos_usbphy.c exynos_usbphy
67
68 # USB DRD PHY
69 device exusbdrdphy: fdt_clock, fdt_phy, fdt_syscon
70 attach exusbdrdphy at fdt with exynos_usbdrdphy
71 file arch/arm/samsung/exynos_usbdrdphy.c exynos_usbdrdphy
72
73 # USB2 Host Controller (OHCI)
74 attach ohci at fdt with exynos_ohci: fdt_clock, fdt_phy
75 file arch/arm/samsung/exynos_ohci.c exynos_ohci
76
77 # USB 2 Host Controller (EHCI)
78 attach ehci at fdt with exynos_ehci: fdt_clock, fdt_phy
79 file arch/arm/samsung/exynos_ehci.c exynos_ehci
80
81 # SD/MMC Host Controller
82 attach dwcmmc at fdt with exynos_dwcmmc: fdt_clock, fdt_gpio
83 file arch/arm/samsung/exynos_dwcmmc.c exynos_dwcmmc
84
85 # I2C support, bitbanging through GPIO
86 device exyoi2c: fdt_i2c, i2cbus, i2c_bitbang
87 attach exyoi2c at fdt with exynos_i2c
88 file arch/arm/samsung/exynos_i2c.c exynos_i2c needs-flag
89
90 # PWM timer
91 device expwm: fdt_clock, fdt_pwm
92 attach expwm at fdt with exynos_pwm
93 file arch/arm/samsung/exynos_pwm.c exynos_pwm
94
95 device exy5422clk: fdt_clock
96 attach exy5422clk at fdt with exynos5422_clock
97 file arch/arm/samsung/exynos5422_clock.c exynos5422_clock
98
99 device exy5410clk: fdt_clock
100 attach exy5410clk at fdt with exynos5410_clock
101 file arch/arm/samsung/exynos5410_clock.c exynos5410_clock
102