1 # $NetBSD: files.exynos,v 1.17 2015/12/21 04:58:50 marty 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/arm32/arm32_boot.c 12 file arch/arm/arm32/arm32_kvminit.c 13 file arch/arm/arm32/arm32_reboot.c 14 file arch/arm/arm32/irq_dispatch.S 15 file arch/arm/arm32/armv7_generic_space.c 16 file arch/arm/arm/bus_space_a4x.S 17 18 file arch/arm/samsung/exynos_soc.c 19 #file arch/arm/samsung/exynos_space.c 20 file arch/arm/samsung/exynos_smc.S arm_trustzone_firmware 21 22 # Console parameters 23 defparam opt_exynos.h CONADDR 24 defparam opt_exynos.h CONSPEED 25 defparam opt_exynos.h CONMODE 26 27 # Memory size in megabytes 28 defparam opt_exynos.h MEMSIZE 29 defparam opt_exynos.h EXYNOS_WDT_DEFAULT_PERIOD 30 defflag opt_exynos.h EXYNOS_CONSOLE_EARLY 31 32 # 33 defflag opt_exynos.h EXYNOS4: CPU_CORTEXA9 34 defflag opt_exynos.h EXYNOS4120: EXYNOS4 35 defflag opt_exynos.h EXYNOS4212: EXYNOS4 36 defflag opt_exynos.h EXYNOS4412: EXYNOS4 37 defflag opt_exynos.h EXYNOS4412P: EXYNOS4 38 defflag opt_exynos.h EXYNOS5: CPU_CORTEXA15 39 defflag opt_exynos.h EXYNOS5250: EXYNOS5 40 defflag opt_exynos.h EXYNOS5260: EXYNOS5 41 defflag opt_exynos.h EXYNOS5410: EXYNOS5 42 defflag opt_exynos.h EXYNOS5420: EXYNOS5 43 defflag opt_exynos.h EXYNOS5440: EXYNOS5 44 defflag opt_exynos.h EXYNOS5422: EXYNOS5 45 46 # On-board I/O 47 device exynosfdt : bus_space_generic, fdtbus 48 attach exynosfdt at mainbus with exynos_fdt 49 file arch/arm/samsung/exynos_fdt.c exynos_fdt 50 51 # Interrupt combiner 52 device exyointr 53 attach exyointr at fdt with exynos_intr 54 file arch/arm/samsung/exynos_combiner.c exynos_intr 55 56 # CHIP ID register 57 device chipid : fdtbus 58 attach chipid at fdt with exynos_chipid 59 file arch/arm/samsung/exynos_chipid.c exynos_chipid 60 61 # real time clock 62 device exyortc : ftdbus 63 attach exyortc at fdt with exynos_rtc 64 file arch/arm/samsung/exynos_rtc.c exynos_rtc 65 66 # Multi Core timer 67 device mct : ftdbus 68 attach mct at fdt with exyo_mct 69 file arch/arm/samsung/mct.c exyo_mct 70 71 # Watchdog 72 device exyowdt : sysmon_wdog 73 attach exyowdt at fdt with exynos_wdt 74 file arch/arm/samsung/exynos_wdt.c exynos_wdt needs-flag 75 76 # UARTs 77 device sscom { } : bus_space_generic 78 attach sscom at fdt with exynos_sscom 79 file arch/arm/samsung/sscom.c sscom needs-flag 80 file arch/arm/samsung/exynos_sscom.c exynos_sscom 81 defflag opt_sscom.h SSCOM0CONSOLE SSCOM1CONSOLE 82 defparam opt_sscom.h SSCOM_FREQ 83 84 # PINCTL 85 device exyopctl : gpiobus 86 attach exyopctl at fdt with exynos_pinctrl 87 file arch/arm/samsung/exynos_pinctrl.c exynos_pinctrl needs-flag 88 file arch/arm/samsung/exynos_gpio.c exynos_pinctrl needs-flag 89 90 # GPIO 91 #device exyogpio : gpiobus 92 #attach exyogpio at fdt with exynos_gpio 93 #file arch/arm/samsung/exynos_gpio.c exynos_gpio needs-flag 94 95 # USB2 Host Controller (EHCI/OHCI) 96 device exyousb { } : fdtbus 97 attach exyousb at fdt with exyo_usb 98 attach ohci at exyousb with ohci_exyousb 99 attach ehci at exyousb with ehci_exyousb 100 file arch/arm/samsung/exynos_usb.c exyo_usb 101 102 # I2C support, bitbanging trough GPIO 103 device exyoi2c: i2cbus, i2c_bitbang 104 attach exyoi2c at fdt with exynos_i2c 105 file arch/arm/samsung/exynos_i2c.c exynos_i2c needs-flag 106 107 file arch/arm/samsung/exynos5422_dma.c 108 109 device exy5422clk: clk 110 attach exy5422clk at fdt with exynos5422_clock 111 file arch/arm/samsung/exynos5422_clock.c exynos5422_clock 112