19d041268SAndrew Victorif ARCH_AT91 29d041268SAndrew Victor 3f090fb37SBoris BREZILLONconfig HAVE_AT91_UTMI 4f090fb37SBoris BREZILLON bool 5f090fb37SBoris BREZILLON 6c84a61d8SBoris BREZILLONconfig HAVE_AT91_USB_CLK 7c84a61d8SBoris BREZILLON bool 8c84a61d8SBoris BREZILLON 9c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91 10c8a8c630SBoris BREZILLON bool 11c8a8c630SBoris BREZILLON select COMMON_CLK 12c8a8c630SBoris BREZILLON 13a9c0688fSBoris BREZILLONconfig HAVE_AT91_SMD 14a9c0688fSBoris BREZILLON bool 15a9c0688fSBoris BREZILLON 16bcc5fd49SAlexandre Belloniconfig HAVE_AT91_H32MX 17bcc5fd49SAlexandre Belloni bool 18bcc5fd49SAlexandre Belloni 198f4b4794SLudovic Desrochesconfig SOC_SAMA5 208f4b4794SLudovic Desroches bool 213b26f39bSBoris BREZILLON select ATMEL_AIC5_IRQ 22ef7eda2cSNicolas Ferre select COMMON_CLK_AT91 238f4b4794SLudovic Desroches select CPU_V7 248f4b4794SLudovic Desroches select GENERIC_CLOCKEVENTS 2563e60368SAlexandre Belloni select MEMORY 2663e60368SAlexandre Belloni select ATMEL_SDRAMC 2793d2cf46SAlexandre Belloni select PHYLIB if NETDEVICES 288f4b4794SLudovic Desroches 299d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 309d041268SAndrew Victor 318f0cdcc5SLudovic Desrocheschoice 328f0cdcc5SLudovic Desroches 338f0cdcc5SLudovic Desroches prompt "Core type" 348f0cdcc5SLudovic Desroches 35fe138c23SArnd Bergmannconfig SOC_SAM_V4_V5 36fe138c23SArnd Bergmann bool "ARM9 AT91SAM9/AT91RM9200" 37fe138c23SArnd Bergmann help 38fe138c23SArnd Bergmann Select this if you are using one of Atmel's AT91SAM9 or 39fe138c23SArnd Bergmann AT91RM9200 SoC. 408f0cdcc5SLudovic Desroches 418f4b4794SLudovic Desrochesconfig SOC_SAM_V7 428f4b4794SLudovic Desroches bool "Cortex A5" 438f4b4794SLudovic Desroches help 448f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 SoC. 458f4b4794SLudovic Desroches 468f0cdcc5SLudovic Desrochesendchoice 478f0cdcc5SLudovic Desroches 481e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 499d041268SAndrew Victor 508f4b4794SLudovic Desrochesif SOC_SAM_V7 518f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 528f4b4794SLudovic Desroches bool "SAMA5D3 family" 538f4b4794SLudovic Desroches select SOC_SAMA5 548f4b4794SLudovic Desroches select HAVE_FB_ATMEL 55f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 56a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 57c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 588f4b4794SLudovic Desroches help 598f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 family SoC. 607f457160SJosh Wu This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. 612dc850b6SNicolas Ferre 622dc850b6SNicolas Ferreconfig SOC_SAMA5D4 632dc850b6SNicolas Ferre bool "SAMA5D4 family" 642dc850b6SNicolas Ferre select SOC_SAMA5 652dc850b6SNicolas Ferre select CLKSRC_MMIO 662dc850b6SNicolas Ferre select CACHE_L2X0 672dc850b6SNicolas Ferre select CACHE_PL310 682dc850b6SNicolas Ferre select HAVE_FB_ATMEL 692dc850b6SNicolas Ferre select HAVE_AT91_UTMI 702dc850b6SNicolas Ferre select HAVE_AT91_SMD 712dc850b6SNicolas Ferre select HAVE_AT91_USB_CLK 722dc850b6SNicolas Ferre select HAVE_AT91_H32MX 732dc850b6SNicolas Ferre help 742dc850b6SNicolas Ferre Select this if you are using one of Atmel's SAMA5D4 family SoC. 758f4b4794SLudovic Desrochesendif 768f4b4794SLudovic Desroches 778f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 781e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 799d041268SAndrew Victor bool "AT91RM9200" 80ef7eda2cSNicolas Ferre select ATMEL_AIC_IRQ 81ef7eda2cSNicolas Ferre select COMMON_CLK_AT91 82c750815eSRussell King select CPU_ARM920T 835e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 84c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 859d041268SAndrew Victor 86*2b019a43SAlexandre Belloniconfig SOC_AT91SAM9 87*2b019a43SAlexandre Belloni bool "AT91SAM9" 88*2b019a43SAlexandre Belloni select ATMEL_AIC_IRQ 89*2b019a43SAlexandre Belloni select ATMEL_SDRAMC 90*2b019a43SAlexandre Belloni select COMMON_CLK_AT91 91*2b019a43SAlexandre Belloni select CPU_ARM926T 92*2b019a43SAlexandre Belloni select GENERIC_CLOCKEVENTS 93a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 94c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 95*2b019a43SAlexandre Belloni select HAVE_AT91_UTMI 9674db4fb9SHong Xu select HAVE_FB_ATMEL 97*2b019a43SAlexandre Belloni select MEMORY 9874db4fb9SHong Xu help 99*2b019a43SAlexandre Belloni Select this if you are using one of those Atmel SoC: 100*2b019a43SAlexandre Belloni AT91SAM9260 101*2b019a43SAlexandre Belloni AT91SAM9261 102*2b019a43SAlexandre Belloni AT91SAM9263 103*2b019a43SAlexandre Belloni AT91SAM9G15 104*2b019a43SAlexandre Belloni AT91SAM9G20 105*2b019a43SAlexandre Belloni AT91SAM9G25 106*2b019a43SAlexandre Belloni AT91SAM9G35 107*2b019a43SAlexandre Belloni AT91SAM9G45 108*2b019a43SAlexandre Belloni AT91SAM9G46 109*2b019a43SAlexandre Belloni AT91SAM9M10 110*2b019a43SAlexandre Belloni AT91SAM9M11 111*2b019a43SAlexandre Belloni AT91SAM9N12 112*2b019a43SAlexandre Belloni AT91SAM9RL 113*2b019a43SAlexandre Belloni AT91SAM9X25 114*2b019a43SAlexandre Belloni AT91SAM9X35 115*2b019a43SAlexandre Belloni AT91SAM9XE 1168f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1179f1ccefeSGreg Ungerer 1189d041268SAndrew Victorcomment "AT91 Feature Selections" 1199d041268SAndrew Victor 120eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 121eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 122d2e46790SAlexandre Belloni select SRAM 123eaad2db0SAndrew Victor depends on SUSPEND 124eaad2db0SAndrew Victor help 125eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 126eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 127eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 128eaad2db0SAndrew Victor 129eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 130eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 131eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 132eaad2db0SAndrew Victor need to be completely re-initialized. 133eaad2db0SAndrew Victor 1345248c657SDavid Brownellconfig AT91_TIMER_HZ 1355248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 1365248c657SDavid Brownell range 32 1024 1375248c657SDavid Brownell depends on ARCH_AT91 138e152015bSNicolas Ferre default "128" if SOC_AT91RM9200 1395248c657SDavid Brownell default "100" 1405248c657SDavid Brownell help 1415248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 1425248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 1435248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 1445248c657SDavid Brownell reduce timing errors caused by rounding. 1455248c657SDavid Brownell 1465248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 1475248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 1485248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 1495248c657SDavid Brownell 1509d041268SAndrew Victorendmenu 1519d041268SAndrew Victor 1529d041268SAndrew Victorendif 153