From: Luca Lauro via B4 Relay <devnull+famlauro93l.gmail.com@kernel.org>
To: Sascha Hauer <s.hauer@pengutronix.de>,
"open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Luca Lauro <famlauro93l@gmail.com>
Subject: [PATCH 00/19] ARM: mvebu: add Netgear RN102/RN104 support and related drivers
Date: Thu, 23 Jul 2026 15:57:38 +0200 [thread overview]
Message-ID: <20260723-rn102-rn104-series-v1-0-7698d25df866@gmail.com> (raw)
This series adds full barebox support for the Netgear RN102 and RN104
NAS platforms based on the Marvell Armada 370 SoC. Both devices share
the same hardware architecture, with differences mainly in the number
of drive bays and the associated board-level integration.
The series introduces:
- lowlevel initialization code for RN102 and RN104
- board support files and environment integration
- barebox-specific device trees for both platforms
- image generation support and defconfig updates
- fan controller framework and G76x driver
- fan control command and Kconfig/Makefile integration
- Marvell-specific EHCI host controller driver
- AHCI/SATA fixes improving compatibility with Armada 370
- USB/AHCI integration updates
The goal is to provide complete bootloader support for these NAS
devices, enabling reliable initialization of storage, USB, fan control,
and board-specific peripherals. The patches have been tested on
RN102 only.
Signed-off-by: Luca Lauro <famlauro93l@gmail.com>
---
Luca Lauro (19):
ARM: mvebu: add board support for Netgear RN102
ARM: mvebu: add lowlevel support for Netgear RN102
ARM: dts: add barebox device tree for Netgear RN102
ARM: dts: update RN102 Linux DTS
ARM: mvebu: add Kconfig entry for Netgear RN102
ARM: mvebu: add RN102 image support
ARM: mvebu: enable RN102 in mvebu_defconfig
ARM: mvebu: rn104: placeholder bay management
ARM: mvebu: add lowlevel support for Netgear RN104
ARM: dts: update RN104 Linux DTS
ARM: mvebu: adapt RN104 image support
ARM: mvebu: rename PUTC_LL to MVEBU_PUTC_LL
drivers: fan: add fan framework and API
commands: add fan control command
commands: integrate fan command into Kconfig and Makefile
usb: ehci: add Marvell EHCI host controller driver
usb: ehci: minor fixes for Marvell compatibility
ata: ahci: fixes and updates for Marvell SATA controller
drivers: integrate USB/AHCI changes
arch/arm/boards/Makefile | 1 +
arch/arm/boards/netgear-rn102/Makefile | 4 +
arch/arm/boards/netgear-rn102/board.c | 243 +++++
arch/arm/boards/netgear-rn102/lowlevel.c | 49 +
arch/arm/boards/netgear-rn104/board.c | 193 ++++
arch/arm/boards/netgear-rn104/lowlevel.c | 43 +-
arch/arm/configs/mvebu_defconfig | 1 +
arch/arm/dts/Makefile | 1 +
arch/arm/dts/armada-370-rn102-bb.dts | 13 +
arch/arm/mach-mvebu/Kconfig | 4 +
commands/Kconfig | 7 +
commands/Makefile | 2 +
commands/fan.c | 286 ++++++
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/ata/ahci.c | 656 ++++++------
drivers/ata/ahci.h | 1 +
drivers/fan/Kconfig | 35 +
drivers/fan/Makefile | 8 +
drivers/fan/fan.c | 180 ++++
drivers/fan/i2c_fan_controllers/Kconfig | 6 +
drivers/fan/i2c_fan_controllers/Makefile | 5 +
drivers/fan/i2c_fan_controllers/g76x.c | 1184 ++++++++++++++++++++++
drivers/fan/other_fan_controllers/Kconfig | 7 +
drivers/fan/other_fan_controllers/Makefile | 3 +
drivers/fan/spi_fan_controllers/Kconfig | 1 +
drivers/fan/spi_fan_controllers/Makefile | 3 +
drivers/usb/host/Kconfig | 7 +
drivers/usb/host/Makefile | 13 +-
drivers/usb/host/ehci-hcd.c | 22 +-
drivers/usb/host/ehci-marvell.c | 229 +++++
dts/src/arm/marvell/armada-370-netgear-rn102.dts | 114 ++-
dts/src/arm/marvell/armada-370-netgear-rn104.dts | 173 ++--
images/Makefile.mvebu | 13 +-
include/fan/fan.h | 94 ++
include/fan/i2c_fan_controllers/g76x.h | 37 +
include/mach/mvebu/debug_ll.h | 2 +-
rebuild-series.sh | 39 +
38 files changed, 3257 insertions(+), 424 deletions(-)
---
base-commit: d6c5023bc58092b15a0cd8c01f708480efb26640
change-id: 20260723-rn102-rn104-series-d668eb09d0ff
Best regards,
--
Luca Lauro <famlauro93l@gmail.com>
next reply other threads:[~2026-07-23 14:02 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 13:57 Luca Lauro via B4 Relay [this message]
2026-07-23 13:57 ` [PATCH 01/19] ARM: mvebu: add board support for Netgear RN102 Luca Lauro via B4 Relay
2026-07-27 13:27 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 02/19] ARM: mvebu: add lowlevel " Luca Lauro via B4 Relay
2026-07-27 13:30 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 03/19] ARM: dts: add barebox device tree " Luca Lauro via B4 Relay
2026-07-27 13:32 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 04/19] ARM: dts: update RN102 Linux DTS Luca Lauro via B4 Relay
2026-07-27 13:40 ` Sascha Hauer
2026-07-27 13:41 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 05/19] ARM: mvebu: add Kconfig entry for Netgear RN102 Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 06/19] ARM: mvebu: add RN102 image support Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 07/19] ARM: mvebu: enable RN102 in mvebu_defconfig Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 08/19] ARM: mvebu: rn104: placeholder bay management Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 09/19] ARM: mvebu: add lowlevel support for Netgear RN104 Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 10/19] ARM: dts: update RN104 Linux DTS Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 11/19] ARM: mvebu: adapt RN104 image support Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 12/19] ARM: mvebu: rename PUTC_LL to MVEBU_PUTC_LL Luca Lauro via B4 Relay
2026-07-27 13:46 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 13/19] drivers: fan: add fan framework and API Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 14/19] commands: add fan control command Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 15/19] commands: integrate fan command into Kconfig and Makefile Luca Lauro via B4 Relay
2026-07-23 13:57 ` [PATCH 16/19] usb: ehci: add Marvell EHCI host controller driver Luca Lauro via B4 Relay
2026-07-27 14:09 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 17/19] usb: ehci: minor fixes for Marvell compatibility Luca Lauro via B4 Relay
2026-07-27 14:12 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 18/19] ata: ahci: fixes and updates for Marvell SATA controller Luca Lauro via B4 Relay
2026-07-27 14:15 ` Sascha Hauer
2026-07-23 13:57 ` [PATCH 19/19] drivers: integrate USB/AHCI changes Luca Lauro via B4 Relay
2026-07-27 14:16 ` Sascha Hauer
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=20260723-rn102-rn104-series-v1-0-7698d25df866@gmail.com \
--to=devnull+famlauro93l.gmail.com@kernel.org \
--cc=barebox@lists.infradead.org \
--cc=famlauro93l@gmail.com \
--cc=s.hauer@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox