1if ARCH_AT91 2 3config HAVE_AT91_UTMI 4 bool 5 6config HAVE_AT91_USB_CLK 7 bool 8 9config COMMON_CLK_AT91 10 bool 11 select COMMON_CLK 12 13config HAVE_AT91_SMD 14 bool 15 16config HAVE_AT91_H32MX 17 bool 18 19config SOC_SAMA5 20 bool 21 select ATMEL_AIC5_IRQ 22 select COMMON_CLK_AT91 23 select CPU_V7 24 select GENERIC_CLOCKEVENTS 25 select MEMORY 26 select ATMEL_SDRAMC 27 select PHYLIB if NETDEVICES 28 29menu "Atmel AT91 System-on-Chip" 30 31choice 32 33 prompt "Core type" 34 35config SOC_SAM_V4_V5 36 bool "ARM9 AT91SAM9/AT91RM9200" 37 help 38 Select this if you are using one of Atmel's AT91SAM9 or 39 AT91RM9200 SoC. 40 41config SOC_SAM_V7 42 bool "Cortex A5" 43 help 44 Select this if you are using one of Atmel's SAMA5D3 SoC. 45 46endchoice 47 48comment "Atmel AT91 Processor" 49 50if SOC_SAM_V7 51config SOC_SAMA5D3 52 bool "SAMA5D3 family" 53 select SOC_SAMA5 54 select HAVE_FB_ATMEL 55 select HAVE_AT91_UTMI 56 select HAVE_AT91_SMD 57 select HAVE_AT91_USB_CLK 58 help 59 Select this if you are using one of Atmel's SAMA5D3 family SoC. 60 This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. 61 62config SOC_SAMA5D4 63 bool "SAMA5D4 family" 64 select SOC_SAMA5 65 select CLKSRC_MMIO 66 select CACHE_L2X0 67 select HAVE_FB_ATMEL 68 select HAVE_AT91_UTMI 69 select HAVE_AT91_SMD 70 select HAVE_AT91_USB_CLK 71 select HAVE_AT91_H32MX 72 help 73 Select this if you are using one of Atmel's SAMA5D4 family SoC. 74endif 75 76if SOC_SAM_V4_V5 77config SOC_AT91RM9200 78 bool "AT91RM9200" 79 select ATMEL_AIC_IRQ 80 select COMMON_CLK_AT91 81 select CPU_ARM920T 82 select GENERIC_CLOCKEVENTS 83 select HAVE_AT91_USB_CLK 84 85config SOC_AT91SAM9 86 bool "AT91SAM9" 87 select ATMEL_AIC_IRQ 88 select ATMEL_SDRAMC 89 select COMMON_CLK_AT91 90 select CPU_ARM926T 91 select GENERIC_CLOCKEVENTS 92 select HAVE_AT91_SMD 93 select HAVE_AT91_USB_CLK 94 select HAVE_AT91_UTMI 95 select HAVE_FB_ATMEL 96 select MEMORY 97 help 98 Select this if you are using one of those Atmel SoC: 99 AT91SAM9260 100 AT91SAM9261 101 AT91SAM9263 102 AT91SAM9G15 103 AT91SAM9G20 104 AT91SAM9G25 105 AT91SAM9G35 106 AT91SAM9G45 107 AT91SAM9G46 108 AT91SAM9M10 109 AT91SAM9M11 110 AT91SAM9N12 111 AT91SAM9RL 112 AT91SAM9X25 113 AT91SAM9X35 114 AT91SAM9XE 115endif # SOC_SAM_V4_V5 116 117comment "AT91 Feature Selections" 118 119config AT91_SLOW_CLOCK 120 bool "Suspend-to-RAM disables main oscillator" 121 select SRAM 122 depends on SUSPEND 123 help 124 Select this if you want Suspend-to-RAM to save the most power 125 possible (without powering off the CPU) by disabling the PLLs 126 and main oscillator so that only the 32 KiHz clock is available. 127 128 When only that slow-clock is available, some peripherals lose 129 functionality. Many can't issue wakeup events unless faster 130 clocks are available. Some lose their operating state and 131 need to be completely re-initialized. 132 133config AT91_TIMER_HZ 134 int "Kernel HZ (jiffies per second)" 135 range 32 1024 136 depends on ARCH_AT91 137 default "128" if SOC_AT91RM9200 138 default "100" 139 help 140 On AT91rm9200 chips where you're using a system clock derived 141 from the 32768 Hz hardware clock, this tick rate should divide 142 it exactly: use a power-of-two value, such as 128 or 256, to 143 reduce timing errors caused by rounding. 144 145 On AT91sam926x chips, or otherwise when using a higher precision 146 system clock (of at least several MHz), rounding is less of a 147 problem so it can be safer to use a decimal values like 100. 148 149endmenu 150 151endif 152