forked from Minki/linux
12d14e0edd
The Ralink RT3883 SoCs have a built-in PCI Host Controller device. The patch adds a platform driver and device tree binding documentation for that. The patch also enables the HW_HAS_PCI config option. This is required in order to be able to enable the PCI support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/5758/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
66 lines
1.0 KiB
Plaintext
66 lines
1.0 KiB
Plaintext
if RALINK
|
|
|
|
config CLKEVT_RT3352
|
|
bool
|
|
depends on SOC_RT305X || SOC_MT7620
|
|
default y
|
|
select CLKSRC_OF
|
|
select CLKSRC_MMIO
|
|
|
|
choice
|
|
prompt "Ralink SoC selection"
|
|
default SOC_RT305X
|
|
help
|
|
Select Ralink MIPS SoC type.
|
|
|
|
config SOC_RT288X
|
|
bool "RT288x"
|
|
|
|
config SOC_RT305X
|
|
bool "RT305x"
|
|
select USB_ARCH_HAS_HCD
|
|
select USB_ARCH_HAS_OHCI
|
|
select USB_ARCH_HAS_EHCI
|
|
|
|
config SOC_RT3883
|
|
bool "RT3883"
|
|
select USB_ARCH_HAS_OHCI
|
|
select USB_ARCH_HAS_EHCI
|
|
select HW_HAS_PCI
|
|
|
|
config SOC_MT7620
|
|
bool "MT7620"
|
|
select USB_ARCH_HAS_OHCI
|
|
select USB_ARCH_HAS_EHCI
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Devicetree selection"
|
|
default DTB_RT_NONE
|
|
help
|
|
Select the devicetree.
|
|
|
|
config DTB_RT_NONE
|
|
bool "None"
|
|
|
|
config DTB_RT2880_EVAL
|
|
bool "RT2880 eval kit"
|
|
depends on SOC_RT288X
|
|
|
|
config DTB_RT305X_EVAL
|
|
bool "RT305x eval kit"
|
|
depends on SOC_RT305X
|
|
|
|
config DTB_RT3883_EVAL
|
|
bool "RT3883 eval kit"
|
|
depends on SOC_RT3883
|
|
|
|
config DTB_MT7620A_EVAL
|
|
bool "MT7620A eval kit"
|
|
depends on SOC_MT7620
|
|
|
|
endchoice
|
|
|
|
endif
|