xref: /openbmc/u-boot/arch/mips/mach-mt7620/Kconfig (revision 88dc4099)
14c835a60SStefan Roesemenu "MediaTek MIPS platforms"
24c835a60SStefan Roese	depends on ARCH_MT7620
34c835a60SStefan Roese
44c835a60SStefan Roeseconfig SYS_MALLOC_F_LEN
54c835a60SStefan Roese	default 0x1000
64c835a60SStefan Roese
74c835a60SStefan Roeseconfig SYS_SOC
84c835a60SStefan Roese	default "mt7620" if SOC_MT7620
94c835a60SStefan Roese
104c835a60SStefan Roesechoice
114c835a60SStefan Roese	prompt "MediaTek MIPS SoC select"
124c835a60SStefan Roese
134c835a60SStefan Roeseconfig SOC_MT7620
144c835a60SStefan Roese	bool "MT7620/8"
154c835a60SStefan Roese	select MIPS_L1_CACHE_SHIFT_5
164c835a60SStefan Roese	help
174c835a60SStefan Roese	  This supports MediaTek MIPS MT7620 family.
184c835a60SStefan Roese
194c835a60SStefan Roeseendchoice
204c835a60SStefan Roese
214c835a60SStefan Roesechoice
224c835a60SStefan Roese	prompt "Board select"
234c835a60SStefan Roese
24*88dc4099SStefan Roeseconfig BOARD_GARDENA_SMART_GATEWAY_MT7688
25*88dc4099SStefan Roese	bool "Gardena Smart Gateway"
26*88dc4099SStefan Roese	depends on SOC_MT7620
27*88dc4099SStefan Roese	select SUPPORTS_BOOT_RAM
28*88dc4099SStefan Roese	help
29*88dc4099SStefan Roese	  Gardena Smart Gateway boards have a MT7688 SoC with 128 MiB of RAM
30*88dc4099SStefan Roese	  and 8 MiB of flash (SPI NOR) and additional SPI NAND storage.
31*88dc4099SStefan Roese
32b02f76a8SStefan Roeseconfig BOARD_LINKIT_SMART_7688
33b02f76a8SStefan Roese	bool "LinkIt Smart 7688"
34b02f76a8SStefan Roese	depends on SOC_MT7620
35b02f76a8SStefan Roese	select SUPPORTS_BOOT_RAM
36b02f76a8SStefan Roese	help
37b02f76a8SStefan Roese	  Seeed LinkIt Smart 7688 boards have a MT7688 SoC with 128 MiB of RAM
38b02f76a8SStefan Roese	  and 32 MiB of flash (SPI).
39b02f76a8SStefan Roese	  Between its different peripherals there's an integrated switch with 4
40b02f76a8SStefan Roese	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
41b02f76a8SStefan Roese	  a MT7688 (PCIe).
42b02f76a8SStefan Roese
434c835a60SStefan Roeseendchoice
444c835a60SStefan Roese
454c835a60SStefan Roesechoice
464c835a60SStefan Roese	prompt "Boot mode"
474c835a60SStefan Roese
484c835a60SStefan Roeseconfig BOOT_RAM
494c835a60SStefan Roese	bool "RAM boot"
504c835a60SStefan Roese	depends on SUPPORTS_BOOT_RAM
514c835a60SStefan Roese	help
524c835a60SStefan Roese	  This builds an image that is linked to a RAM address. It can be used
534c835a60SStefan Roese	  for booting from CFE via TFTP using an ELF image, but it can also be
544c835a60SStefan Roese	  booted from RAM by other bootloaders using a BIN image.
554c835a60SStefan Roese
564c835a60SStefan Roeseconfig BOOT_ROM
574c835a60SStefan Roese	bool "ROM boot"
584c835a60SStefan Roese	depends on SUPPORTS_BOOT_RAM
594c835a60SStefan Roese	help
604c835a60SStefan Roese	  This builds an image that is linked to a ROM address. It can be
614c835a60SStefan Roese	  used as main bootloader image which is programmed onto the onboard
624c835a60SStefan Roese	  flash storage (SPI NOR).
634c835a60SStefan Roese
644c835a60SStefan Roeseendchoice
654c835a60SStefan Roese
664c835a60SStefan Roesechoice
674c835a60SStefan Roese	prompt "DDR2 size"
684c835a60SStefan Roese
694c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_256MBIT
704c835a60SStefan Roese	bool "256MBit (32MByte) total size"
714c835a60SStefan Roese	depends on BOOT_ROM
724c835a60SStefan Roese	help
734c835a60SStefan Roese	  Use 256MBit (32MByte) of DDR total size
744c835a60SStefan Roese
754c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_512MBIT
764c835a60SStefan Roese	bool "512MBit (64MByte) total size"
774c835a60SStefan Roese	depends on BOOT_ROM
784c835a60SStefan Roese	help
794c835a60SStefan Roese	  Use 512MBit (64MByte) of DDR total size
804c835a60SStefan Roese
814c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_1024MBIT
824c835a60SStefan Roese	bool "1024MBit (128MByte) total size"
834c835a60SStefan Roese	depends on BOOT_ROM
844c835a60SStefan Roese	help
854c835a60SStefan Roese	  Use 1024MBit (128MByte) of DDR total size
864c835a60SStefan Roese
874c835a60SStefan Roeseconfig ONBOARD_DDR2_SIZE_2048MBIT
884c835a60SStefan Roese	bool "2048MBit (256MByte) total size"
894c835a60SStefan Roese	depends on BOOT_ROM
904c835a60SStefan Roese	help
914c835a60SStefan Roese	  Use 2048MBit (256MByte) of DDR total size
924c835a60SStefan Roese
934c835a60SStefan Roeseendchoice
944c835a60SStefan Roese
954c835a60SStefan Roesechoice
964c835a60SStefan Roese	prompt "DDR2 chip width"
974c835a60SStefan Roese
984c835a60SStefan Roeseconfig ONBOARD_DDR2_CHIP_WIDTH_8BIT
994c835a60SStefan Roese	bool "8bit DDR chip width"
1004c835a60SStefan Roese	depends on BOOT_ROM
1014c835a60SStefan Roese	help
1024c835a60SStefan Roese	  Use DDR chips with 8bit width
1034c835a60SStefan Roese
1044c835a60SStefan Roeseconfig ONBOARD_DDR2_CHIP_WIDTH_16BIT
1054c835a60SStefan Roese	bool "16bit DDR chip width"
1064c835a60SStefan Roese	depends on BOOT_ROM
1074c835a60SStefan Roese	help
1084c835a60SStefan Roese	  Use DDR chips with 16bit width
1094c835a60SStefan Roese
1104c835a60SStefan Roeseendchoice
1114c835a60SStefan Roese
1124c835a60SStefan Roesechoice
1134c835a60SStefan Roese	prompt "DDR2 bus width"
1144c835a60SStefan Roese
1154c835a60SStefan Roeseconfig ONBOARD_DDR2_BUS_WIDTH_16BIT
1164c835a60SStefan Roese	bool "16bit DDR bus width"
1174c835a60SStefan Roese	depends on BOOT_ROM
1184c835a60SStefan Roese	help
1194c835a60SStefan Roese	  Use 16bit DDR bus width
1204c835a60SStefan Roese
1214c835a60SStefan Roeseconfig ONBOARD_DDR2_BUS_WIDTH_32BIT
1224c835a60SStefan Roese	bool "32bit DDR bus width"
1234c835a60SStefan Roese	depends on BOOT_ROM
1244c835a60SStefan Roese	help
1254c835a60SStefan Roese	  Use 32bit DDR bus width
1264c835a60SStefan Roese
1274c835a60SStefan Roeseendchoice
1284c835a60SStefan Roese
1294c835a60SStefan Roeseconfig SUPPORTS_BOOT_RAM
1304c835a60SStefan Roese	bool
1314c835a60SStefan Roese
132*88dc4099SStefan Roesesource "board/gardena/smart-gateway-mt7688/Kconfig"
133b02f76a8SStefan Roesesource "board/seeed/linkit-smart-7688/Kconfig"
134b02f76a8SStefan Roese
1354c835a60SStefan Roeseendmenu
136