From: Chris Packham <judge.packham@gmail.com>
To: Stefan Roese <sr@denx.de>
Cc: "Elad Nachman" <enachman@marvell.com>,
"Vadym Kochan" <vadym.kochan@plvision.eu>,
"Chris Packham" <judge.packham@gmail.com>,
"Adam Ford" <aford173@gmail.com>,
"Bharat Gooty" <bharat.gooty@broadcom.com>,
"Chris Packham" <chris.packham@alliedtelesis.co.nz>,
"Fabio Estevam" <festevam@denx.de>,
"Frieder Schrempf" <frieder.schrempf@kontron.de>,
"Jim Liu" <jim.t90615@gmail.com>,
"Joe Hershberger" <joe.hershberger@ni.com>,
"Lukasz Majewski" <lukma@denx.de>,
"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
"Marek Behún" <kabel@kernel.org>, "Marek Vasut" <marex@denx.de>,
"Pali Rohár" <pali@kernel.org>,
"Philippe Reynes" <philippe.reynes@softathome.com>,
"Ramon Fried" <rfried.dev@gmail.com>,
"Rayagonda Kokatanur" <rayagonda.kokatanur@broadcom.com>,
"Samuel Holland" <samuel@sholland.org>,
"Simon Glass" <sjg@chromium.org>, "Tom Rini" <trini@konsulko.com>,
"Weijie Gao" <weijie.gao@mediatek.com>,
"William Zhang" <william.zhang@broadcom.com>,
"Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>,
u-boot@lists.denx.de
Subject: [PATCH v6 0/6] arm: mvebu: Support for 98DX25xx/98DX35xx (AlleyCat5)
Date: Sat, 5 Nov 2022 17:23:54 +1300 [thread overview]
Message-ID: <20221105042400.277650-1-judge.packham@gmail.com> (raw)
These patches are based on Marvell's bootloader for the AlleyCat5/5X
which was based on u-boot 2018.03. I've split that code into consumable
chunks and dropped as much unnecessary stuff as I can. I've also tried
to sync the device trees as much as possible with the support that will
land in Linux 6.0 although there are still some differences
Changes in v6:
- Set CONFIG_DEFAULT_DEVICE_TREE and CONFIG_TEXT_BASE
Changes in v5:
- Minor white space cleanups
- Collect review from Stefan
- Minor fixup for checkpatch.pl complaint
- Remove unused bpard_{early,late}_init{,_r,_f} functions
- Remove CPNFIG_PCI and CONFIG_E1000 as the PCI interface is not
currently working (requires more vendor code)
- Use CONFIG_OF_SEPARATE instead of CONFIG_OF_EMBED
Changes in v4:
- Collect r-by from Stefan
- Remove unused mvebu_get_nand_clock() (will return in a later series)
- Remove unnecessary #ifdefs
- Misc style cleanups
- Replace CONFIG_MVEBU_SAR with simpler code implemented directly in
soc.c based around get_sar_freq which the 32-bit platforms already
use.
- Move CONFIG_DISPLAY_BOARDINFO_LATE and CONFIG_ENV_OVERWRITE to
the defconfig.
- Remove CONFIG_BAUDRATE as this is already set in the default config
- Remove CONFIG_USB_MAX_CONTROLLER_COUNT as this is not needed with
DM_USB
- Remove CONFIG_PREBOOT as we don't have anything to run
- Remove commented out CONFIG_BOARD_EARLY_INIT_R
- Remove DEBUG_UART configuration
- Remove unnecessary console environment variable
- Remove CONFIG_MVEBU_SAR
Changes in v3:
- Remove unnecessary changes to RX descriptor handling
- Use dev_get_dma_range() to parse dma-ranges property from parent
device.
- Remove unnecessary dma-ranges property from ethernet nodes (mvneta now
correctly parses the property from the parent node).
- Keep soc_print_clock_info and soc_print_device_info local to
alleycat5.
- Remove MMC and UBIFS distroboot options (MMC driver is not currently
functional, NAND is not populated on the RD-AC5X board)
- Remove unnecessary Ethernet configuration
- Remove unnecessary NAND configuration
- Remove memory node from dts so the value passed by the DDR FW will be
used
Changes in v2:
- Use distro boot by default
- remove unnecessary SPI-NOR partitions
Chris Packham (6):
arm: mvebu: Don't use CONFIG_TIMER on ARM64
net: mvneta: Add support for AlleyCat5
usb: ehci: ehci-marvell: Support for marvell,ac5-ehci
pinctrl: mvebu: Add AlleyCat5 support
arm: mvebu: Support for 98DX25xx/98DX35xx SoC
arm: mvebu: Add RD-AC5X board
arch/arm/Kconfig | 2 +-
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/ac5-98dx25xx.dtsi | 277 +++++++++++++++++++
arch/arm/dts/ac5-98dx35xx-rd.dts | 129 +++++++++
arch/arm/dts/ac5-98dx35xx.dtsi | 17 ++
arch/arm/mach-mvebu/Kconfig | 13 +-
arch/arm/mach-mvebu/Makefile | 1 +
arch/arm/mach-mvebu/alleycat5/Makefile | 8 +
arch/arm/mach-mvebu/alleycat5/cpu.c | 124 +++++++++
arch/arm/mach-mvebu/alleycat5/soc.c | 298 +++++++++++++++++++++
arch/arm/mach-mvebu/alleycat5/soc.h | 7 +
arch/arm/mach-mvebu/arm64-common.c | 5 +
arch/arm/mach-mvebu/include/mach/cpu.h | 4 +
board/Marvell/mvebu_alleycat-5/MAINTAINERS | 6 +
board/Marvell/mvebu_alleycat-5/Makefile | 3 +
board/Marvell/mvebu_alleycat-5/board.c | 13 +
configs/mvebu_ac5_rd_defconfig | 81 ++++++
drivers/net/Kconfig | 2 +-
drivers/net/mvneta.c | 43 ++-
drivers/pinctrl/mvebu/Kconfig | 2 +-
drivers/usb/host/Kconfig | 1 +
drivers/usb/host/ehci-marvell.c | 53 +++-
include/configs/mvebu_alleycat-5.h | 42 +++
23 files changed, 1120 insertions(+), 14 deletions(-)
create mode 100644 arch/arm/dts/ac5-98dx25xx.dtsi
create mode 100644 arch/arm/dts/ac5-98dx35xx-rd.dts
create mode 100644 arch/arm/dts/ac5-98dx35xx.dtsi
create mode 100644 arch/arm/mach-mvebu/alleycat5/Makefile
create mode 100644 arch/arm/mach-mvebu/alleycat5/cpu.c
create mode 100644 arch/arm/mach-mvebu/alleycat5/soc.c
create mode 100644 arch/arm/mach-mvebu/alleycat5/soc.h
create mode 100644 board/Marvell/mvebu_alleycat-5/MAINTAINERS
create mode 100644 board/Marvell/mvebu_alleycat-5/Makefile
create mode 100644 board/Marvell/mvebu_alleycat-5/board.c
create mode 100644 configs/mvebu_ac5_rd_defconfig
create mode 100644 include/configs/mvebu_alleycat-5.h
--
2.38.1
next reply other threads:[~2022-11-05 4:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 4:23 Chris Packham [this message]
2022-11-05 4:23 ` [PATCH v6 1/6] arm: mvebu: Don't use CONFIG_TIMER on ARM64 Chris Packham
2022-11-07 6:23 ` Stefan Roese
2022-11-05 4:23 ` [PATCH v6 2/6] net: mvneta: Add support for AlleyCat5 Chris Packham
2022-11-09 8:22 ` Ramon Fried
2022-11-09 8:24 ` Stefan Roese
2022-11-05 4:23 ` [PATCH v6 3/6] usb: ehci: ehci-marvell: Support for marvell,ac5-ehci Chris Packham
2022-11-05 4:23 ` [PATCH v6 4/6] pinctrl: mvebu: Add AlleyCat5 support Chris Packham
2022-11-05 4:23 ` [PATCH v6 5/6] arm: mvebu: Support for 98DX25xx/98DX35xx SoC Chris Packham
2022-11-05 4:24 ` [PATCH v6 6/6] arm: mvebu: Add RD-AC5X board Chris Packham
2022-11-07 8:23 ` [PATCH v6 0/6] arm: mvebu: Support for 98DX25xx/98DX35xx (AlleyCat5) Stefan Roese
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=20221105042400.277650-1-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--cc=aford173@gmail.com \
--cc=bharat.gooty@broadcom.com \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=enachman@marvell.com \
--cc=festevam@denx.de \
--cc=frieder.schrempf@kontron.de \
--cc=jim.t90615@gmail.com \
--cc=joe.hershberger@ni.com \
--cc=kabel@kernel.org \
--cc=lukma@denx.de \
--cc=marcel.ziswiler@toradex.com \
--cc=marex@denx.de \
--cc=pali@kernel.org \
--cc=paul.liu@linaro.org \
--cc=philippe.reynes@softathome.com \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=rfried.dev@gmail.com \
--cc=samuel@sholland.org \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vadym.kochan@plvision.eu \
--cc=weijie.gao@mediatek.com \
--cc=william.zhang@broadcom.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox