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