Skip to content

Commit 97ba5f5

Browse files
frank-wAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt7988a-bpi-r4: allow hw variants of bpi-r4
Sinovoip has released other variants of Bananapi-R4 board. The known changes affecting only the LAN SFP+ slot which is replaced by a 2.5G phy with optional PoE. Just move the common parts to a new dtsi and keep differences (only i2c for lan-sfp) in dts. Signed-off-by: Frank Wunderlich <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent 7ff8907 commit 97ba5f5

File tree

4 files changed

+417
-395
lines changed

4 files changed

+417
-395
lines changed

arch/arm64/boot/dts/mediatek/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-sd.dtbo
2222
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-rfb.dtb
2323
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986b-rfb.dtb
2424
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7988a-bananapi-bpi-r4.dtb
25+
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7988a-bananapi-bpi-r4-2g5.dtb
2526
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7988a-bananapi-bpi-r4-emmc.dtbo
2627
dtb-$(CONFIG_ARCH_MEDIATEK) += mt7988a-bananapi-bpi-r4-sd.dtbo
2728
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8167-pumpkin.dtb
@@ -109,4 +110,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
109110
DTC_FLAGS_mt7986a-bananapi-bpi-r3 := -@
110111
DTC_FLAGS_mt7986a-bananapi-bpi-r3-mini := -@
111112
DTC_FLAGS_mt7988a-bananapi-bpi-r4 := -@
113+
DTC_FLAGS_mt7988a-bananapi-bpi-r4-2g5 := -@
112114
DTC_FLAGS_mt8395-radxa-nio-12l := -@
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0-only OR MIT
2+
3+
/dts-v1/;
4+
5+
#include "mt7988a-bananapi-bpi-r4.dtsi"
6+
7+
/ {
8+
compatible = "bananapi,bpi-r4-2g5", "bananapi,bpi-r4", "mediatek,mt7988a";
9+
model = "Banana Pi BPI-R4 (1x SFP+, 1x 2.5GbE)";
10+
chassis-type = "embedded";
11+
};

0 commit comments

Comments
 (0)