Home | History | Annotate | Line # | Download | only in samsung
files.exynos revision 1.7.4.2
      1 #	$NetBSD: files.exynos,v 1.7.4.2 2014/08/10 06:53:52 tls 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 
     16 file	arch/arm/samsung/exynos_soc.c
     17 file	arch/arm/samsung/exynos_space.c
     18 file	arch/arm/samsung/exynos_dma.c
     19 file	arch/arm/samsung/exynos_smc.S		arm_trustzone_firmware
     20 
     21 file	arch/arm/arm/bus_space_a4x.S		exyo
     22 
     23 # Console parameters
     24 defparam opt_exynos.h				CONADDR
     25 defparam opt_exynos.h				CONSPEED
     26 defparam opt_exynos.h				CONMODE
     27 
     28 # Memory size in megabytes
     29 defparam opt_exynos.h				MEMSIZE
     30 defparam opt_exynos.h				EXYNOS_WDT_DEFAULT_PERIOD
     31 defflag opt_exynos.h				EXYNOS_CONSOLE_EARLY
     32 
     33 #
     34 defflag opt_exynos.h				EXYNOS4: CPU_CORTEXA9
     35 defflag opt_exynos.h				EXYNOS4120: EXYNOS4
     36 defflag opt_exynos.h				EXYNOS4212: EXYNOS4
     37 defflag opt_exynos.h				EXYNOS4412: EXYNOS4
     38 defflag opt_exynos.h				EXYNOS4412P: EXYNOS4
     39 defflag opt_exynos.h				EXYNOS5: CPU_CORTEXA15
     40 defflag opt_exynos.h				EXYNOS5250: EXYNOS5
     41 defflag opt_exynos.h				EXYNOS5260: EXYNOS5
     42 defflag opt_exynos.h				EXYNOS5410: EXYNOS5
     43 defflag opt_exynos.h				EXYNOS5420: EXYNOS5
     44 defflag opt_exynos.h				EXYNOS5440: EXYNOS5
     45 defflag opt_exynos.h				EXYNOS5422: EXYNOS5
     46 
     47 # SoC I/O attach point
     48 device exyo { [port=-1], [intr=-1] } : bus_space_generic
     49 attach exyo at mainbus with exyo_io
     50 file	arch/arm/samsung/exynos_io.c	exyo_io
     51 file	arch/arm/samsung/exynos4_loc.c	exyo_io & exynos4
     52 file	arch/arm/samsung/exynos5_loc.c	exyo_io & exynos5
     53 
     54 # Multi Core timer
     55 device	mct { } : bus_space_generic
     56 attach	mct at exyo with exyo_mct
     57 file	arch/arm/samsung/mct.c		exyo_mct
     58 
     59 # Watchdog
     60 device	exyowdt : sysmon_wdog
     61 attach	exyowdt at exyo with exynos_wdt
     62 file	arch/arm/samsung/exynos_wdt.c	exynos_wdt | exyo_io needs-flag
     63 
     64 # UARTs
     65 device	sscom { } : bus_space_generic
     66 attach	sscom at exyo with exynos_sscom
     67 file	arch/arm/samsung/sscom.c	sscom needs-flag
     68 file	arch/arm/samsung/exynos_sscom.c	exynos_sscom 
     69 defflag opt_sscom.h     SSCOM0CONSOLE SSCOM1CONSOLE
     70 defparam opt_sscom.h    SSCOM_FREQ 
     71 
     72 # GPIO
     73 device	exyogpio : gpiobus
     74 attach	exyogpio at exyo with exynos_gpio
     75 file	arch/arm/samsung/exynos_gpio.c		exynos_gpio | exyo_io needs-flag
     76 
     77 # USB2 Host Controller (EHCI/OHCI)
     78 device	exyousb { }
     79 attach	exyousb at exyo with exyo_usb
     80 attach	ohci at exyousb with ohci_exyousb
     81 attach	ehci at exyousb with ehci_exyousb
     82 file	arch/arm/samsung/exynos_usb.c		exyo_usb
     83 
     84 # I2C support, bitbanging trough GPIO
     85 device	exyoiic: i2cbus, i2c_bitbang
     86 attach	exyoiic at exyo with exynos_iic
     87 file	arch/arm/samsung/exynos_i2c.c		exynos_iic | exyo_io needs-flag
     88 
     89