From: Weijie Gao <weijie.gao@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH v3 00/15] Add support for MediaTek MT7621 SoC
Date: Thu, 28 Apr 2022 18:37:09 +0800 [thread overview]
Message-ID: <cover.1651141197.git.weijie.gao@mediatek.com> (raw)
This series will add support for MediaTek MT7621 SoC with two reference boards
and related drivers.
The MediaTek MT7621 is a network processor integrating a dual-core
dual-threaded MIPS 1004Kc processor running at a normal frequency of 880MHz.
This chip can be found in many wireless routers.
This series add all basic drivers which are useful in u-boot, like usb, sdxc,
ethernet, spi, nand and serial.
Currently this patch series only supports building the ram-bootable image as
it needs the preloader from MediaTek SDK.
Thanks,
Weijie
v3 changes:
- Rewrite clk driver to follow definitions from upstream kernel
- Implement noncached_alloc() for MIPS platform
- Update register remap for mtk-eth driver needed by mt7621
v2 changes:
- Add a kconfig for max supported ram size
- Remove network configs from default config file
- Add config file for mt7621-rfb boards
Weijie Gao (15):
mips: mtmips: add support for MediaTek MT7621 SoC
mips: mtmips: add two reference boards for mt7621
mips: add support for noncached_alloc()
clk: mtmips: add clock driver for MediaTek MT7621 SoC
reset: mtmips: add reset controller support for MediaTek MT7621 SoC
pinctrl: mtmips: add support for MediaTek MT7621 SoC
nand: raw: add support for MediaTek MT7621 SoC
usb: xhci-mtk: add support for MediaTek MT7621 SoC
phy: mtk-tphy: add support for MediaTek MT7621 SoC
spi: add support for MediaTek MT7621 SoC
gpio: add support for MediaTek MT7621 SoC
watchdog: add support for MediaTek MT7621 SoC
mmc: mediatek: add support for MediaTek MT7621 SoC
net: mediatek: add support for MediaTek MT7621 SoC
MAINTAINERS: update maintainer for MediaTek MIPS platform
MAINTAINERS | 5 +
arch/mips/dts/Makefile | 2 +
arch/mips/dts/mediatek,mt7621-nand-rfb.dts | 52 +
arch/mips/dts/mediatek,mt7621-rfb.dts | 68 +
arch/mips/dts/mt7621.dtsi | 370 +++++
arch/mips/include/asm/system.h | 20 +
arch/mips/lib/cache.c | 43 +
arch/mips/mach-mtmips/Kconfig | 34 +-
arch/mips/mach-mtmips/Makefile | 5 +
arch/mips/mach-mtmips/cpu.c | 2 +-
arch/mips/mach-mtmips/mt7621/Kconfig | 43 +
arch/mips/mach-mtmips/mt7621/Makefile | 4 +
arch/mips/mach-mtmips/mt7621/init.c | 153 +++
arch/mips/mach-mtmips/mt7621/mt7621.h | 204 +++
arch/mips/mach-mtmips/mt7621/serial.c | 23 +
board/mediatek/mt7621/MAINTAINERS | 9 +
board/mediatek/mt7621/Makefile | 3 +
board/mediatek/mt7621/board.c | 6 +
configs/mt7621_nand_rfb_ramboot_defconfig | 72 +
configs/mt7621_rfb_ramboot_defconfig | 75 ++
drivers/clk/mtmips/Makefile | 1 +
drivers/clk/mtmips/clk-mt7621.c | 313 +++++
drivers/gpio/Kconfig | 2 +-
drivers/mmc/mtk-sd.c | 13 +
drivers/mtd/nand/raw/Kconfig | 11 +
drivers/mtd/nand/raw/Makefile | 1 +
drivers/mtd/nand/raw/mt7621_nand.c | 1189 +++++++++++++++++
drivers/net/mtk_eth.c | 45 +-
drivers/phy/Kconfig | 2 +-
drivers/pinctrl/mtmips/Kconfig | 9 +
drivers/pinctrl/mtmips/Makefile | 1 +
drivers/pinctrl/mtmips/pinctrl-mt7621.c | 307 +++++
.../pinctrl/mtmips/pinctrl-mtmips-common.c | 4 +-
.../pinctrl/mtmips/pinctrl-mtmips-common.h | 12 +
drivers/spi/Kconfig | 2 +-
drivers/usb/host/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2 +-
include/configs/mt7621-rfb.h | 18 +
include/configs/mt7621.h | 38 +
include/dt-bindings/clock/mt7621-clk.h | 46 +
include/dt-bindings/reset/mt7621-reset.h | 38 +
41 files changed, 3219 insertions(+), 30 deletions(-)
create mode 100644 arch/mips/dts/mediatek,mt7621-nand-rfb.dts
create mode 100644 arch/mips/dts/mediatek,mt7621-rfb.dts
create mode 100644 arch/mips/dts/mt7621.dtsi
create mode 100644 arch/mips/mach-mtmips/mt7621/Kconfig
create mode 100644 arch/mips/mach-mtmips/mt7621/Makefile
create mode 100644 arch/mips/mach-mtmips/mt7621/init.c
create mode 100644 arch/mips/mach-mtmips/mt7621/mt7621.h
create mode 100644 arch/mips/mach-mtmips/mt7621/serial.c
create mode 100644 board/mediatek/mt7621/MAINTAINERS
create mode 100644 board/mediatek/mt7621/Makefile
create mode 100644 board/mediatek/mt7621/board.c
create mode 100644 configs/mt7621_nand_rfb_ramboot_defconfig
create mode 100644 configs/mt7621_rfb_ramboot_defconfig
create mode 100644 drivers/clk/mtmips/clk-mt7621.c
create mode 100644 drivers/mtd/nand/raw/mt7621_nand.c
create mode 100644 drivers/pinctrl/mtmips/pinctrl-mt7621.c
create mode 100644 include/configs/mt7621-rfb.h
create mode 100644 include/configs/mt7621.h
create mode 100644 include/dt-bindings/clock/mt7621-clk.h
create mode 100644 include/dt-bindings/reset/mt7621-reset.h
--
2.17.1
next reply other threads:[~2022-04-28 10:37 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 10:37 Weijie Gao [this message]
2022-04-28 10:37 ` [PATCH v3 01/15] mips: mtmips: add support for MediaTek MT7621 SoC Weijie Gao
2022-04-28 10:37 ` [PATCH v3 02/15] mips: mtmips: add two reference boards for mt7621 Weijie Gao
2022-04-29 6:20 ` Stefan Roese
2022-04-29 7:51 ` Weijie Gao
2022-04-28 10:37 ` [PATCH v3 03/15] mips: add support for noncached_alloc() Weijie Gao
2022-04-28 10:37 ` [PATCH v3 04/15] clk: mtmips: add clock driver for MediaTek MT7621 SoC Weijie Gao
2022-04-28 10:37 ` [PATCH v3 05/15] reset: mtmips: add reset controller support " Weijie Gao
2022-04-28 10:37 ` [PATCH v3 06/15] pinctrl: mtmips: add " Weijie Gao
2022-04-28 10:37 ` [PATCH v3 07/15] nand: raw: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 08/15] usb: xhci-mtk: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 09/15] phy: mtk-tphy: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 10/15] spi: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 11/15] gpio: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 12/15] watchdog: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 13/15] mmc: mediatek: " Weijie Gao
2022-04-28 10:38 ` [PATCH v3 14/15] net: " Weijie Gao
2022-04-30 17:13 ` Ramon Fried
2022-05-05 0:44 ` Weijie Gao
2022-04-28 10:38 ` [PATCH v3 15/15] MAINTAINERS: update maintainer for MediaTek MIPS platform Weijie Gao
2022-04-28 16:19 ` [PATCH v3 00/15] Add support for MediaTek MT7621 SoC Marek Behún
2022-04-29 1:23 ` Weijie Gao
2022-04-29 6:15 ` Stefan Roese
2022-04-29 7:59 ` Weijie Gao
2022-04-29 15:13 ` Marek Behún
2022-04-30 13:31 ` Weijie Gao
2022-04-30 13:48 ` Marek Behún
2022-05-01 12:52 ` Tom Rini
2022-05-05 0:57 ` Weijie Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1651141197.git.weijie.gao@mediatek.com \
--to=weijie.gao@mediatek.com \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.