mediatek: filogic: bpi-r4: set netdev-name for sfp ports
authorJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 13 Nov 2024 22:25:09 +0000 (22:25 +0000)
committerPaul Spooren <mail@aparcar.org>
Fri, 20 Dec 2024 17:19:10 +0000 (18:19 +0100)
commitcd8dcfef378044a1687adfa3738f01f9a9622baf
treef548a3115c6e7e458c3111685251038c7c3a1181
parent84fc59c0d5285a0a0fe50e3cb2a85f6224362c55
mediatek: filogic: bpi-r4: set netdev-name for sfp ports

Sets openwrt,netdev-name for the gmac nodes in the dts of BPI-R4 which
correspond to the two sfp slots. By default they are automatically
named as eth1 and eth2 in bad order, however 'SFP1-WAN' and 'SFP2-LAN'
are printed on the PCB and the official metal case has labels 'SFP-WAN'
and 'SFP-LAN'. Thus, label the ports accordingly to match the
board/case labels.
The COMPAT_VERSION is increased to denote that configuration has to be
adjusted manually.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-poe.dts
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi
target/linux/mediatek/filogic/base-files/etc/board.d/02_network
target/linux/mediatek/filogic/base-files/etc/board.d/05_compat-version
target/linux/mediatek/image/filogic.mk