Skip to content

Commit 1a92f03

Browse files
varshini-rajendranclaudiubeznea
authored andcommitted
ARM: at91: Kconfig: add config flag for SAM9X7 SoC
Add config flag for sam9x7 SoC. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Link: https://lore.kernel.org/r/20240729070916.1991370-1-varshini.rajendran@microchip.com Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 5eb64f2 commit 1a92f03

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

arch/arm/mach-at91/Kconfig

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,27 @@ config SOC_SAM9X60
141141
help
142142
Select this if you are using Microchip's SAM9X60 SoC
143143

144+
config SOC_SAM9X7
145+
bool "SAM9X7"
146+
depends on ARCH_MULTI_V5
147+
select ATMEL_AIC5_IRQ
148+
select ATMEL_PM if PM
149+
select CPU_ARM926T
150+
select HAVE_AT91_USB_CLK
151+
select HAVE_AT91_GENERATED_CLK
152+
select HAVE_AT91_SAM9X60_PLL
153+
select MEMORY
154+
select PINCTRL_AT91
155+
select SOC_SAM_V4_V5
156+
select SRAM if PM
157+
help
158+
Select this if you are using Microchip's SAM9X7 SoC
159+
144160
comment "Clocksource driver selection"
145161

146162
config ATMEL_CLOCKSOURCE_PIT
147163
bool "Periodic Interval Timer (PIT) support"
148-
depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
164+
depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5
149165
default SOC_AT91SAM9 || SOC_SAMA5
150166
select ATMEL_PIT
151167
help
@@ -155,7 +171,7 @@ config ATMEL_CLOCKSOURCE_PIT
155171

156172
config ATMEL_CLOCKSOURCE_TCB
157173
bool "Timer Counter Blocks (TCB) support"
158-
default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
174+
default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5
159175
select ATMEL_TCB_CLKSRC
160176
help
161177
Select this to get a high precision clocksource based on a
@@ -166,7 +182,7 @@ config ATMEL_CLOCKSOURCE_TCB
166182

167183
config MICROCHIP_CLOCKSOURCE_PIT64B
168184
bool "64-bit Periodic Interval Timer (PIT64B) support"
169-
default SOC_SAM9X60 || SOC_SAMA7
185+
default SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA7
170186
select MICROCHIP_PIT64B
171187
help
172188
Select this to get a high resolution clockevent (SAM9X60) or

0 commit comments

Comments
 (0)