xref: /openbmc/linux/arch/mips/txx9/Kconfig (revision 2891f2d5)
1config MACH_TX39XX
2	bool
3	select MACH_TXX9
4	select SYS_HAS_CPU_TX39XX
5
6config MACH_TX49XX
7	bool
8	select MACH_TXX9
9	select CEVT_R4K
10	select CSRC_R4K
11	select IRQ_MIPS_CPU
12	select SYS_HAS_CPU_TX49XX
13	select SYS_SUPPORTS_64BIT_KERNEL
14
15config MACH_TXX9
16	bool
17	select DMA_NONCOHERENT
18	select SWAP_IO_SPACE
19	select SYS_HAS_EARLY_PRINTK
20	select SYS_SUPPORTS_32BIT_KERNEL
21	select SYS_SUPPORTS_LITTLE_ENDIAN
22	select SYS_SUPPORTS_BIG_ENDIAN
23	select COMMON_CLK
24
25config TOSHIBA_JMR3927
26	bool "Toshiba JMR-TX3927 board"
27	depends on MACH_TX39XX
28	select SOC_TX3927
29
30config TOSHIBA_RBTX4927
31	bool "Toshiba RBTX49[23]7 board"
32	depends on MACH_TX49XX
33	select SOC_TX4927
34	# TX4937 is subset of TX4938
35	select SOC_TX4938
36	help
37	  This Toshiba board is based on the TX4927 processor. Say Y here to
38	  support this machine type
39
40config TOSHIBA_RBTX4938
41	bool "Toshiba RBTX4938 board"
42	depends on MACH_TX49XX
43	select SOC_TX4938
44	help
45	  This Toshiba board is based on the TX4938 processor. Say Y here to
46	  support this machine type
47
48config TOSHIBA_RBTX4939
49	bool "Toshiba RBTX4939 board"
50	depends on MACH_TX49XX
51	select SOC_TX4939
52	select TXX9_7SEGLED
53	help
54	  This Toshiba board is based on the TX4939 processor. Say Y here to
55	  support this machine type
56
57config SOC_TX3927
58	bool
59	select CEVT_TXX9
60	select HAS_TXX9_SERIAL
61	select HW_HAS_PCI
62	select IRQ_TXX9
63	select GPIO_TXX9
64
65config SOC_TX4927
66	bool
67	select CEVT_TXX9
68	select HAS_TXX9_SERIAL
69	select HW_HAS_PCI
70	select IRQ_TXX9
71	select PCI_TX4927
72	select GPIO_TXX9
73	select HAS_TXX9_ACLC
74
75config SOC_TX4938
76	bool
77	select CEVT_TXX9
78	select HAS_TXX9_SERIAL
79	select HW_HAS_PCI
80	select IRQ_TXX9
81	select PCI_TX4927
82	select GPIO_TXX9
83	select HAS_TXX9_ACLC
84
85config SOC_TX4939
86	bool
87	select CEVT_TXX9
88	select HAS_TXX9_SERIAL
89	select HW_HAS_PCI
90	select PCI_TX4927
91	select HAS_TXX9_ACLC
92
93config TXX9_7SEGLED
94	bool
95
96config TOSHIBA_FPCIB0
97	bool "FPCIB0 Backplane Support"
98	depends on PCI && MACH_TXX9
99	select I8259
100
101config PICMG_PCI_BACKPLANE_DEFAULT
102	bool "Support for PICMG PCI Backplane"
103	depends on PCI && MACH_TXX9
104	default y if !TOSHIBA_FPCIB0
105
106if TOSHIBA_RBTX4938
107
108comment "Multiplex Pin Select"
109choice
110	prompt "PIO[58:61]"
111	default TOSHIBA_RBTX4938_MPLEX_PIO58_61
112
113config TOSHIBA_RBTX4938_MPLEX_PIO58_61
114	bool "PIO"
115config TOSHIBA_RBTX4938_MPLEX_NAND
116	bool "NAND"
117config TOSHIBA_RBTX4938_MPLEX_ATA
118	bool "ATA"
119config TOSHIBA_RBTX4938_MPLEX_KEEP
120	bool "Keep firmware settings"
121
122endchoice
123
124endif
125
126config PCI_TX4927
127	bool
128