[PATCH v3 0/8] Add Bananapi R4 variants and add xsphy

Frank Wunderlich
2025-04-16T09:54:18Z

With this series i continue the mt7988/bananapi-r4 dts upstream work

https://patchwork.kernel.org/project/linux-mediatek/list/?series=952704
https://patchwork.kernel.org/project/linux-mediatek/list/?series=952805

- Adding new Hardware Variant for bananapi R4 (1 SFP replaced by RJ45 port with internal phy)
- Adding XS-phy for pcie2

because of new compatible for 2g5 variant now requires also a series i merged both into one.

Daniel Golle (1):
phy: mediatek: xsphy: support type switch by pericfg

Frank Wunderlich (7):
dt-bindings: arm: mediatek: add bpi-r4 2g5 phy variant
arm64: dts: mediatek: mt7988a-bpi-r4: allow hw variants of bpi-r4
dt-bindings: phy: mtk-xs-phy: Add mt7988 compatible
dt-bindings: phy: mtk-xs-phy: support type switch by pericfg
dt-bindings: mfd: syscon: Add mt7988-topmisc
arm64: dts: mediatek: mt7988: Add xsphy for ssusb0/pcie2
arm64: dts: mediatek: mt7988a-bpi-r4: enable xsphy

.../devicetree/bindings/arm/mediatek.yaml | 4 +
.../devicetree/bindings/mfd/syscon.yaml | 2 +
.../bindings/phy/mediatek,xsphy.yaml | 17 +
arch/arm64/boot/dts/mediatek/Makefile | 2 +
.../mediatek/mt7988a-bananapi-bpi-r4-2g5.dts | 11 +
.../dts/mediatek/mt7988a-bananapi-bpi-r4.dts | 400 +----------------
.../dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi | 403 ++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 36 ++
drivers/phy/mediatek/phy-mtk-xsphy.c | 85 +++-
9 files changed, 564 insertions(+), 396 deletions(-)
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-2g5.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi

--
2.43.0