From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Frank Wunderlich <frank-w@public-files.de>,
Sean Wang <sean.wang@mediatek.com>,
Daniel Golle <daniel@makrotopia.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: [PATCH v2 0/5] Add Bananapi R4 Pro support
Date: Wed, 5 Nov 2025 20:50:00 +0100 [thread overview]
Message-ID: <20251105195007.199229-1-linux@fw-web.de> (raw)
From: Frank Wunderlich <frank-w@public-files.de>
BananaPi R4 Pro is a MT7988A based board which exists in 2 different
hardware versions:
- 4E: 4 GB RAM and using internal 2.5G Phy for WAN-Combo
- 8X: 8 GB RAM and 2x Aeonsemi AS21010P 10G phys
common parts:
- MediaTek MT7988A Quad-core Arm Corex-A73,1.8GHz processor
- 8GB eMMC flash
- 256MB SPI-NAND Flash
- Micro SD card slot
- 1x 10G SFP+ WAN
- 1x 10G SFP+ LAN
- 4x 2.5G RJ45 LAN (MxL86252C)
- 1x 1G RJ45 LAN (MT7988 internal switch)
- 2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi NIC
- 2x M.2 M-KEY slots with PCIe3.0 1lane interface for NVME SSD
- 3x M.2 B-KEY slots with USB3.2 for 5G Module (PCIe shared with key-m)
- 1x USB3.2 slot
- 1x USB2.0 slot
- 1x USB TypeC Debug Console
- 2x13 PIN Header for expanding application
official product information:
https://docs.banana-pi.org/en/BPI-R4_Pro/BananaPi_BPI-R4_Pro
The PCIe is per default in key-m state and can be changed to key-b with
the pcie-overlays.
changes:
v2:
- dropped "dt-bindings: arm: mediatek: add BPI-R4 Pro board" which was
applied from v1
- added new patch "disable 2.5G phy and enable at board layer"
- squashed "mt7988a: Add label for ssusb0" to r4pro dts commit
- some updates after angelos review to the r4pro dts commit
- fixed buck4 and ldo displayed voltage (cannot be controlled by software)
to match schematic
- reorder fan after eth node (alphanumeric)
- reorder spi-tx after spi-rx (alphanumeric)
- follow reg first, then others also for spi-nand partitions
- drop 2pg5 phy disabling node (due to new patch disabling by default)
- change order of pinctrl (first number than names)
- fix commit prefix (mediatek was missing)
Frank Wunderlich (5):
dt-bindings: pinctrl: mt7988: allow gpio-hogs
arm64: dts: mediatek: mt7988: disable 2.5G phy and enable at board
layer
arm64: dts: mediatek: mt7988: Add devicetree for BananaPi R4 Pro
arm64: dts: mediatek: mt7988a-bpi-r4-pro: add PCIe overlays
arm64: dts: mediatek: mt7988a-bpi-r4pro: Add mmc overlays
.../pinctrl/mediatek,mt7988-pinctrl.yaml | 5 +
arch/arm64/boot/dts/mediatek/Makefile | 8 +
.../mediatek/mt7988a-bananapi-bpi-r4-2g5.dts | 1 +
.../mt7988a-bananapi-bpi-r4-pro-4e.dts | 16 +
.../mt7988a-bananapi-bpi-r4-pro-8x.dts | 16 +
.../mt7988a-bananapi-bpi-r4-pro-cn15.dtso | 20 +
.../mt7988a-bananapi-bpi-r4-pro-cn18.dtso | 20 +
.../mt7988a-bananapi-bpi-r4-pro-emmc.dtso | 33 ++
.../mt7988a-bananapi-bpi-r4-pro-sd.dtso | 31 +
.../mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi | 534 ++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 3 +-
11 files changed, 686 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-4e.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-8x.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-cn15.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-cn18.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-emmc.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-sd.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: devicetree@vger.kernel.org, Sean Wang <sean.wang@mediatek.com>,
Daniel Golle <daniel@makrotopia.org>,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/5] Add Bananapi R4 Pro support
Date: Wed, 5 Nov 2025 20:50:00 +0100 [thread overview]
Message-ID: <20251105195007.199229-1-linux@fw-web.de> (raw)
From: Frank Wunderlich <frank-w@public-files.de>
BananaPi R4 Pro is a MT7988A based board which exists in 2 different
hardware versions:
- 4E: 4 GB RAM and using internal 2.5G Phy for WAN-Combo
- 8X: 8 GB RAM and 2x Aeonsemi AS21010P 10G phys
common parts:
- MediaTek MT7988A Quad-core Arm Corex-A73,1.8GHz processor
- 8GB eMMC flash
- 256MB SPI-NAND Flash
- Micro SD card slot
- 1x 10G SFP+ WAN
- 1x 10G SFP+ LAN
- 4x 2.5G RJ45 LAN (MxL86252C)
- 1x 1G RJ45 LAN (MT7988 internal switch)
- 2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi NIC
- 2x M.2 M-KEY slots with PCIe3.0 1lane interface for NVME SSD
- 3x M.2 B-KEY slots with USB3.2 for 5G Module (PCIe shared with key-m)
- 1x USB3.2 slot
- 1x USB2.0 slot
- 1x USB TypeC Debug Console
- 2x13 PIN Header for expanding application
official product information:
https://docs.banana-pi.org/en/BPI-R4_Pro/BananaPi_BPI-R4_Pro
The PCIe is per default in key-m state and can be changed to key-b with
the pcie-overlays.
changes:
v2:
- dropped "dt-bindings: arm: mediatek: add BPI-R4 Pro board" which was
applied from v1
- added new patch "disable 2.5G phy and enable at board layer"
- squashed "mt7988a: Add label for ssusb0" to r4pro dts commit
- some updates after angelos review to the r4pro dts commit
- fixed buck4 and ldo displayed voltage (cannot be controlled by software)
to match schematic
- reorder fan after eth node (alphanumeric)
- reorder spi-tx after spi-rx (alphanumeric)
- follow reg first, then others also for spi-nand partitions
- drop 2pg5 phy disabling node (due to new patch disabling by default)
- change order of pinctrl (first number than names)
- fix commit prefix (mediatek was missing)
Frank Wunderlich (5):
dt-bindings: pinctrl: mt7988: allow gpio-hogs
arm64: dts: mediatek: mt7988: disable 2.5G phy and enable at board
layer
arm64: dts: mediatek: mt7988: Add devicetree for BananaPi R4 Pro
arm64: dts: mediatek: mt7988a-bpi-r4-pro: add PCIe overlays
arm64: dts: mediatek: mt7988a-bpi-r4pro: Add mmc overlays
.../pinctrl/mediatek,mt7988-pinctrl.yaml | 5 +
arch/arm64/boot/dts/mediatek/Makefile | 8 +
.../mediatek/mt7988a-bananapi-bpi-r4-2g5.dts | 1 +
.../mt7988a-bananapi-bpi-r4-pro-4e.dts | 16 +
.../mt7988a-bananapi-bpi-r4-pro-8x.dts | 16 +
.../mt7988a-bananapi-bpi-r4-pro-cn15.dtso | 20 +
.../mt7988a-bananapi-bpi-r4-pro-cn18.dtso | 20 +
.../mt7988a-bananapi-bpi-r4-pro-emmc.dtso | 33 ++
.../mt7988a-bananapi-bpi-r4-pro-sd.dtso | 31 +
.../mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi | 534 ++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 3 +-
11 files changed, 686 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-4e.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-8x.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-cn15.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-cn18.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-emmc.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro-sd.dtso
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi
--
2.43.0
next reply other threads:[~2025-11-05 19:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 19:50 Frank Wunderlich [this message]
2025-11-05 19:50 ` [PATCH v2 0/5] Add Bananapi R4 Pro support Frank Wunderlich
2025-11-05 19:50 ` [PATCH v2 1/5] dt-bindings: pinctrl: mt7988: allow gpio-hogs Frank Wunderlich
2025-11-05 19:50 ` Frank Wunderlich
2025-11-05 20:01 ` Frank Wunderlich
2025-11-06 9:01 ` AngeloGioacchino Del Regno
2025-11-06 17:43 ` Conor Dooley
2025-11-06 17:43 ` Conor Dooley
2025-11-11 10:13 ` Linus Walleij
2025-11-11 10:13 ` Linus Walleij
2025-11-10 23:34 ` Linus Walleij
2025-11-10 23:34 ` Linus Walleij
2025-11-11 6:51 ` Frank Wunderlich
2025-11-05 19:50 ` [PATCH v2 2/5] arm64: dts: mediatek: mt7988: Disable 2.5G phy and enable at board layer Frank Wunderlich
2025-11-05 19:50 ` Frank Wunderlich
2025-11-05 19:50 ` [PATCH v2 3/5] arm64: dts: mediatek: mt7988: Add devicetree for BananaPi R4 Pro Frank Wunderlich
2025-11-05 19:50 ` Frank Wunderlich
2025-11-05 19:50 ` [PATCH v2 4/5] arm64: dts: mediatek: mt7988a-bpi-r4-pro: Add PCIe overlays Frank Wunderlich
2025-11-05 19:50 ` Frank Wunderlich
2025-11-05 19:50 ` [PATCH v2 5/5] arm64: dts: mediatek: mt7988a-bpi-r4pro: Add mmc overlays Frank Wunderlich
2025-11-05 19:50 ` Frank Wunderlich
2025-11-06 9:05 ` (subset) [PATCH v2 0/5] Add Bananapi R4 Pro support AngeloGioacchino Del Regno
2025-11-06 9:05 ` AngeloGioacchino Del Regno
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=20251105195007.199229-1-linux@fw-web.de \
--to=linux@fw-web.de \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=daniel@makrotopia.org \
--cc=devicetree@vger.kernel.org \
--cc=frank-w@public-files.de \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
--cc=sean.wang@mediatek.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 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.