Home | History | Annotate | Download | only in mach-davinci
      1 if ARCH_DAVINCI
      2 
      3 choice
      4 	prompt "DaVinci board select"
      5 	optional
      6 
      7 config TARGET_IPAM390
      8 	bool "IPAM390 board"
      9 	select MACH_DAVINCI_DA850_EVM
     10 	select SOC_DA850
     11 	select SUPPORT_SPL
     12 
     13 config TARGET_DA850EVM
     14 	bool "DA850 EVM board"
     15 	select MACH_DAVINCI_DA850_EVM
     16 	select SOC_DA850
     17 	select SUPPORT_SPL
     18 
     19 config TARGET_EA20
     20 	bool "EA20 board"
     21 	select MACH_DAVINCI_DA850_EVM
     22 	select SOC_DA850
     23 	select BOARD_LATE_INIT
     24 
     25 config TARGET_OMAPL138_LCDK
     26 	bool "OMAPL138 LCDK"
     27 	select SOC_DA8XX
     28 	select SUPPORT_SPL
     29 
     30 config TARGET_CALIMAIN
     31 	bool "Calimain board"
     32 	select SOC_DA850
     33 
     34 config TARGET_LEGOEV3
     35 	bool "LEGO MINDSTORMS EV3"
     36 	select MACH_DAVINCI_DA850_EVM
     37 	select SOC_DA850
     38 
     39 endchoice
     40 
     41 config SYS_SOC
     42 	default "davinci"
     43 
     44 config DA850_LOWLEVEL
     45 	bool "Enable Lowlevel DA850 initialization"
     46 	depends on SOC_DA850
     47 
     48 config SYS_DA850_PLL_INIT
     49 	bool
     50 
     51 config SYS_DA850_DDR_INIT
     52 	bool
     53 
     54 config SOC_DA850
     55 	bool
     56 	select SOC_DA8XX
     57 
     58 config SOC_DA8XX
     59 	bool
     60 	select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL
     61 	select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL
     62 
     63 config MACH_DAVINCI_DA850_EVM
     64 	bool
     65 
     66 if SYS_DA850_PLL_INIT
     67 comment "DA850 PLL Initialization Parameters"
     68 
     69 config SYS_DV_CLKMODE
     70 	int "PLLCTL Clock Mode"
     71 	default 0
     72 	help
     73 	  Set PLLCTL Clock Mode bit as External Clock or On Chip oscillator
     74 
     75 config SYS_DA850_PLL0_POSTDIV
     76 	int "PLLC0 PLL Post-Divider"
     77 	default 1
     78 	help
     79 	  Value written to PLLC0 PLL Post-Divider Control Register
     80 
     81 config SYS_DA850_PLL0_PLLDIV1
     82 	hex "PLLC0 Divider 1"
     83 	default 0x8000
     84 	help
     85 	  Value written to PLLC0 Divider 1 register
     86 
     87 config SYS_DA850_PLL0_PLLDIV2
     88 	hex "PLLC0 Divider 2"
     89 	default 0x8001
     90 	help
     91 	  Value written to PLLC0 Divider 2 register
     92 
     93 config SYS_DA850_PLL0_PLLDIV3
     94 	hex "PLLC0 Divider 3"
     95 	default 0x8002
     96 	help
     97 	  Value written to PLLC0 Divider 3 register
     98 
     99 config SYS_DA850_PLL0_PLLDIV4
    100 	hex "PLLC0 Divider 4"
    101 	default 0x8003
    102 	help
    103 	  Value written to PLLC0 Divider 4 register
    104 
    105 config SYS_DA850_PLL0_PLLDIV5
    106 	hex "PLLC0 Divider 5"
    107 	default 0x8002
    108 	help
    109 	  Value written to PLLC0 Divider 5 register
    110 
    111 config SYS_DA850_PLL0_PLLDIV6
    112 	hex "PLLC0 Divider 6"
    113 	default 0x8000
    114 	help
    115 	  Value written to PLLC0 Divider 6 register
    116 
    117 config SYS_DA850_PLL0_PLLDIV7
    118 	hex "PLLC0 Divider 7"
    119 	default 0x8005
    120 	help
    121 	  Value written to PLLC0 Divider 7 register
    122 
    123 config SYS_DA850_PLL1_POSTDIV
    124 	hex "PLLC1 PLL Post-Divider"
    125 	default 1
    126 	help
    127 	  Value written to PLLC1 PLL Post-Divider Control Register
    128 
    129 config SYS_DA850_PLL1_PLLDIV1
    130 	hex "PLLC1 Divider 2"
    131 	default 0x8000
    132 	help
    133 	  Value written to PLLC1 Divider 1 register
    134 
    135 config SYS_DA850_PLL1_PLLDIV2
    136 	hex "PLLC1 Divider 2"
    137 	default 0x8001
    138 	help
    139 	  Value written to PLLC1 Divider 2 register
    140 
    141 config SYS_DA850_PLL1_PLLDIV3
    142 	hex "PLLC1 Divider 3"
    143 	default 0x8002
    144 	help
    145 	  Value written to PLLC1 Divider 3 register
    146 
    147 endif
    148 
    149 source "board/Barix/ipam390/Kconfig"
    150 source "board/davinci/da8xxevm/Kconfig"
    151 source "board/davinci/ea20/Kconfig"
    152 source "board/omicron/calimain/Kconfig"
    153 source "board/lego/ev3/Kconfig"
    154 
    155 config SPL_LDSCRIPT
    156 	default "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390
    157 	default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
    158 
    159 endif
    160