^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig ARCH_MMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool "Marvell PXA168/910/MMP2/MMP3"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) select GPIO_PXA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) select GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select PINCTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select PLAT_PXA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Support for Marvell's PXA168/PXA910(MMP), MMP2, and MMP3 processor lines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) if ARCH_MMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) menu "Marvell PXA168/910/MMP2 Implementations"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) if ATAGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) config MACH_ASPENITE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) bool "Marvell's PXA168 Aspenite Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Say 'Y' here if you want to support the Marvell PXA168-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Aspenite Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config MACH_ZYLONITE2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) bool "Marvell's PXA168 Zylonite2 Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Say 'Y' here if you want to support the Marvell PXA168-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Zylonite2 Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) config MACH_AVENGERS_LITE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) bool "Marvell's PXA168 Avengers Lite Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) select CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Say 'Y' here if you want to support the Marvell PXA168-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Avengers Lite Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) config MACH_TAVOREVB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) bool "Marvell's PXA910 TavorEVB Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select CPU_PXA910
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Say 'Y' here if you want to support the Marvell PXA910-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) TavorEVB Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) config MACH_TTC_DKB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) bool "Marvell's PXA910 TavorEVB Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) select CPU_PXA910
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Say 'Y' here if you want to support the Marvell PXA910-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) TTC_DKB Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config MACH_BROWNSTONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) bool "Marvell's Brownstone Development Platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) select CPU_MMP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) Say 'Y' here if you want to support the Marvell MMP2-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Brown Development Platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) MMP2-based board can't be co-existed with PXA168-based &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) PXA910-based development board. Since MMP2 is compatible to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) ARMv7 architecture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) config MACH_FLINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) bool "Marvell's Flint Development Platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) select CPU_MMP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Say 'Y' here if you want to support the Marvell MMP2-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Flint Development Platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) MMP2-based board can't be co-existed with PXA168-based &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) PXA910-based development board. Since MMP2 is compatible to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) ARMv7 architecture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) config MACH_MARVELL_JASPER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) bool "Marvell's Jasper Development Platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) select CPU_MMP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) Say 'Y' here if you want to support the Marvell MMP2-base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) Jasper Development Platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) MMP2-based board can't be co-existed with PXA168-based &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) PXA910-based development board. Since MMP2 is compatible to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) ARMv7 architecture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) config MACH_TETON_BGA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) bool "Marvell's PXA168 Teton BGA Development Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) select CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) Say 'Y' here if you want to support the Marvell PXA168-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) Teton BGA Development Board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) config MACH_GPLUGD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) bool "Marvell's PXA168 GuruPlug Display (gplugD) Board"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) select CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Say 'Y' here if you want to support the Marvell PXA168-based
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) GuruPlug Display (gplugD) Board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) config MACH_MMP_DT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) bool "Support MMP (ARMv5) platforms from device tree"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) depends on ARCH_MULTI_V5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) select PINCTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) select PINCTRL_SINGLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) select ARCH_HAS_RESET_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) select CPU_MOHAWK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) Include support for Marvell MMP2 based platforms using
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) the device tree. Needn't select any other machine while
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) MACH_MMP_DT is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) config MACH_MMP2_DT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) bool "Support MMP2 (ARMv7) platforms from device tree"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) select PINCTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) select PINCTRL_SINGLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) select ARCH_HAS_RESET_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) select CPU_PJ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) select PM_GENERIC_DOMAINS if PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) select PM_GENERIC_DOMAINS_OF if PM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) Include support for Marvell MMP2 based platforms using
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) the device tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) config MACH_MMP3_DT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) bool "Support MMP3 (ARMv7) platforms"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) depends on ARCH_MULTI_V7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) select ARM_GIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) select HAVE_ARM_SCU if SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) select HAVE_ARM_TWD if SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) select CACHE_L2X0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) select PINCTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) select PINCTRL_SINGLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) select ARCH_HAS_RESET_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) select CPU_PJ4B
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) select PM_GENERIC_DOMAINS if PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) select PM_GENERIC_DOMAINS_OF if PM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) Say 'Y' here if you want to include support for platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) with Marvell MMP3 processor, also known as PXA2128 or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) Armada 620.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) config CPU_PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) select CPU_MOHAWK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) Select code specific to PXA168
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) config CPU_PXA910
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) select CPU_MOHAWK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) Select code specific to PXA910
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) config CPU_MMP2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) select CPU_PJ4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) Select code specific to MMP2. MMP2 is ARMv7 compatible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) config USB_EHCI_MV_U2O
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) bool "EHCI support for PXA USB OTG controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) depends on USB_EHCI_MV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) Enables support for OTG controller which can be switched to host mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) config MMP_SRAM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) endif