xref: /linux/arch/arm/mach-shmobile/Kconfig (revision 8eda2f21ed9c936a54fd7bc16cbfa5ee656635c2)
1if ARCH_SHMOBILE
2
3comment "SH-Mobile System Type"
4
5config ARCH_SH7367
6	bool "SH-Mobile G3 (SH7367)"
7	select CPU_V6
8	select HAVE_CLK
9	select COMMON_CLKDEV
10	select SH_CLK_CPG
11	select GENERIC_CLOCKEVENTS
12
13config ARCH_SH7377
14	bool "SH-Mobile G4 (SH7377)"
15	select CPU_V7
16	select HAVE_CLK
17	select COMMON_CLKDEV
18	select SH_CLK_CPG
19	select GENERIC_CLOCKEVENTS
20
21config ARCH_SH7372
22	bool "SH-Mobile AP4 (SH7372)"
23	select CPU_V7
24	select HAVE_CLK
25	select COMMON_CLKDEV
26	select SH_CLK_CPG
27	select GENERIC_CLOCKEVENTS
28
29comment "SH-Mobile Board Type"
30
31config MACH_G3EVM
32	bool "G3EVM board"
33	depends on ARCH_SH7367
34	select ARCH_REQUIRE_GPIOLIB
35
36config MACH_G4EVM
37	bool "G4EVM board"
38	depends on ARCH_SH7377
39	select ARCH_REQUIRE_GPIOLIB
40
41config MACH_AP4EVB
42	bool "AP4EVB board"
43	depends on ARCH_SH7372
44	select ARCH_REQUIRE_GPIOLIB
45	select SH_LCD_MIPI_DSI
46
47comment "SH-Mobile System Configuration"
48
49menu "Memory configuration"
50
51config MEMORY_START
52	hex "Physical memory start address"
53	default "0x50000000" if MACH_G3EVM
54	default "0x40000000" if MACH_G4EVM
55	default "0x40000000" if MACH_AP4EVB
56	default "0x00000000"
57	---help---
58	  Tweak this only when porting to a new machine which does not
59	  already have a defconfig. Changing it from the known correct
60	  value on any of the known systems will only lead to disaster.
61
62config MEMORY_SIZE
63	hex "Physical memory size"
64	default "0x08000000" if MACH_G3EVM
65	default "0x08000000" if MACH_G4EVM
66	default "0x10000000" if MACH_AP4EVB
67	default "0x04000000"
68	help
69	  This sets the default memory size assumed by your kernel. It can
70	  be overridden as normal by the 'mem=' argument on the kernel command
71	  line.
72
73endmenu
74
75menu "Timer and clock configuration"
76
77config SH_TIMER_CMT
78	bool "CMT timer driver"
79	default y
80	help
81	  This enables build of the CMT timer driver.
82
83config SH_TIMER_TMU
84	bool "TMU timer driver"
85	default y
86	help
87	  This enables build of the TMU timer driver.
88
89endmenu
90
91config SH_CLK_CPG
92	bool
93
94endif
95