[PATCH 00/18] Add support for MediaTek MT7620 SoC

Michal Suchánek msuchanek at suse.de
Fri Oct 16 10:50:10 CEST 2020


Hello,

I would suggest to use --thread with format-patch when sending patches.

Thanks

Michal

On Fri, Oct 16, 2020 at 03:35:01PM +0800, Weijie Gao wrote:
> This series will add support for MediaTek MT7620 SoC with two reference boards
> and related drivers.
> 
> The MediaTek MT7620 is a 2x2 802.11n WiSoC integrating a MIPS 24KEc processor
> running at a maximum frequency of 620MHz. This chip can be found in many
> wireless routers.
> 
> This series add all basic drivers which are useful in u-boot, like usb, sdhc,
> ethernet, spi and serial. Booting from NAND is currently unsupported.
> 
> Thanks,
> Weijie
> 
> Weijie Gao (18):
>   mips: dts: switch to board defines for dtb for mtmips
>   mips: mtmips: move mt7628 related Kconfig into mt7628 subdirectory
>   mips: mtmips: fix dram size detection in dram_init
>   mips: mtmips: add support to initialize SDRAM
>   mips: mtmips: add support for MediaTek MT7620 SoC
>   mips: mtmips: add two reference boards for mt7620
>   configs: mtmips: refresh for mt7628 based boards
>   serial: add uart driver for MediaTek MT7620 SoC
>   clk: add clock driver for MediaTek MT7620 SoC
>   reset: mtmips: add reset controller support for MediaTek MT7620 SoC
>   pinctrl: mtmips: add support for MediaTek MT7620 SoC
>   watchdog: add watchdog driver for MediaTek MT7620 SoC
>   gpio: add GPIO controller driver for MediaTek MT7620 SoC
>   spi: add spi controller support for MediaTek MT7620 SoC
>   phy: add USB PHY driver for MediaTek MT7620 SoC
>   net: add ethernet driver for MediaTek MT7620 SoC
>   mmc: mtk-sd: add pad control settings for MediaTek MT7620/MT76x8 SoCs
>   MAINTAINERS: add maintainer for MediaTek MIPS platform
> 
>  MAINTAINERS                                   |   23 +
>  arch/mips/dts/Makefile                        |    7 +-
>  arch/mips/dts/mediatek,mt7620-mt7530-rfb.dts  |  100 ++
>  arch/mips/dts/mediatek,mt7620-rfb.dts         |   97 ++
>  arch/mips/dts/mt7620-u-boot.dtsi              |   38 +
>  arch/mips/dts/mt7620.dtsi                     |  302 ++++
>  arch/mips/mach-mtmips/Kconfig                 |   75 +-
>  arch/mips/mach-mtmips/Makefile                |    1 +
>  arch/mips/mach-mtmips/cpu.c                   |    5 +-
>  arch/mips/mach-mtmips/ddr_init.c              |   59 +
>  arch/mips/mach-mtmips/include/mach/ddr.h      |    4 +
>  .../mach-mtmips/include/mach/mt7620-sysc.h    |   54 +
>  arch/mips/mach-mtmips/mt7620/Kconfig          |   71 +
>  arch/mips/mach-mtmips/mt7620/Makefile         |   10 +
>  arch/mips/mach-mtmips/mt7620/dram.c           |  114 ++
>  arch/mips/mach-mtmips/mt7620/init.c           |  185 +++
>  arch/mips/mach-mtmips/mt7620/lowlevel_init.S  |   53 +
>  arch/mips/mach-mtmips/mt7620/mt7620.h         |  102 ++
>  arch/mips/mach-mtmips/mt7620/serial.c         |   37 +
>  arch/mips/mach-mtmips/mt7620/sysc.c           |  171 +++
>  arch/mips/mach-mtmips/mt7628/Kconfig          |   53 +
>  board/mediatek/mt7620/Kconfig                 |   20 +
>  board/mediatek/mt7620/MAINTAINERS             |    9 +
>  board/mediatek/mt7620/Makefile                |    3 +
>  board/mediatek/mt7620/board.c                 |    8 +
>  .../gardena-smart-gateway-mt7688_defconfig    |    1 +
>  configs/linkit-smart-7688_defconfig           |    1 +
>  configs/mt7620_mt7530_rfb_defconfig           |   52 +
>  configs/mt7620_rfb_defconfig                  |   68 +
>  configs/mt7628_rfb_defconfig                  |    1 +
>  configs/vocore2_defconfig                     |    1 +
>  drivers/clk/mtmips/Makefile                   |    1 +
>  drivers/clk/mtmips/clk-mt7620.c               |  154 +++
>  drivers/gpio/Kconfig                          |    8 +
>  drivers/gpio/Makefile                         |    1 +
>  drivers/gpio/mt7620_gpio.c                    |  146 ++
>  drivers/mmc/mtk-sd.c                          |  122 +-
>  drivers/net/Kconfig                           |   12 +
>  drivers/net/Makefile                          |    1 +
>  drivers/net/mt7620-eth.c                      | 1222 +++++++++++++++++
>  drivers/phy/Kconfig                           |    7 +
>  drivers/phy/Makefile                          |    1 +
>  drivers/phy/mt7620-usb-phy.c                  |  108 ++
>  drivers/pinctrl/mtmips/Kconfig                |    9 +
>  drivers/pinctrl/mtmips/Makefile               |    1 +
>  drivers/pinctrl/mtmips/pinctrl-mt7620.c       |  199 +++
>  drivers/serial/Kconfig                        |   20 +
>  drivers/serial/Makefile                       |    1 +
>  drivers/serial/serial.c                       |    2 +
>  drivers/serial/serial_mt7620.c                |  350 +++++
>  drivers/spi/Kconfig                           |    7 +
>  drivers/spi/Makefile                          |    1 +
>  drivers/spi/mt7620_spi.c                      |  277 ++++
>  drivers/watchdog/Kconfig                      |    7 +
>  drivers/watchdog/Makefile                     |    1 +
>  drivers/watchdog/mt7620_wdt.c                 |  119 ++
>  include/configs/mt7620.h                      |   46 +
>  include/dt-bindings/clock/mt7620-clk.h        |   40 +
>  include/dt-bindings/reset/mt7620-reset.h      |   35 +
>  59 files changed, 4562 insertions(+), 61 deletions(-)
>  create mode 100644 arch/mips/dts/mediatek,mt7620-mt7530-rfb.dts
>  create mode 100644 arch/mips/dts/mediatek,mt7620-rfb.dts
>  create mode 100644 arch/mips/dts/mt7620-u-boot.dtsi
>  create mode 100644 arch/mips/dts/mt7620.dtsi
>  create mode 100644 arch/mips/mach-mtmips/include/mach/mt7620-sysc.h
>  create mode 100644 arch/mips/mach-mtmips/mt7620/Kconfig
>  create mode 100644 arch/mips/mach-mtmips/mt7620/Makefile
>  create mode 100644 arch/mips/mach-mtmips/mt7620/dram.c
>  create mode 100644 arch/mips/mach-mtmips/mt7620/init.c
>  create mode 100644 arch/mips/mach-mtmips/mt7620/lowlevel_init.S
>  create mode 100644 arch/mips/mach-mtmips/mt7620/mt7620.h
>  create mode 100644 arch/mips/mach-mtmips/mt7620/serial.c
>  create mode 100644 arch/mips/mach-mtmips/mt7620/sysc.c
>  create mode 100644 arch/mips/mach-mtmips/mt7628/Kconfig
>  create mode 100644 board/mediatek/mt7620/Kconfig
>  create mode 100644 board/mediatek/mt7620/MAINTAINERS
>  create mode 100644 board/mediatek/mt7620/Makefile
>  create mode 100644 board/mediatek/mt7620/board.c
>  create mode 100644 configs/mt7620_mt7530_rfb_defconfig
>  create mode 100644 configs/mt7620_rfb_defconfig
>  create mode 100644 drivers/clk/mtmips/clk-mt7620.c
>  create mode 100644 drivers/gpio/mt7620_gpio.c
>  create mode 100644 drivers/net/mt7620-eth.c
>  create mode 100644 drivers/phy/mt7620-usb-phy.c
>  create mode 100644 drivers/pinctrl/mtmips/pinctrl-mt7620.c
>  create mode 100644 drivers/serial/serial_mt7620.c
>  create mode 100644 drivers/spi/mt7620_spi.c
>  create mode 100644 drivers/watchdog/mt7620_wdt.c
>  create mode 100644 include/configs/mt7620.h
>  create mode 100644 include/dt-bindings/clock/mt7620-clk.h
>  create mode 100644 include/dt-bindings/reset/mt7620-reset.h
> 
> -- 
> 2.17.1


More information about the U-Boot mailing list