aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-04-21 09:38:52 +0200
committerJohn Crispin <john@phrozen.org>2017-04-24 11:11:52 +0200
commita02cb1f311218ef12cc5502e0841495ec7682100 (patch)
treeda07681b3b3380a7103c9c7fc908f914d5a74f29 /target/linux/mediatek/base-files
parent4c6ae885c5796c94976bc5aaca071fe8f8b47f39 (diff)
downloadupstream-a02cb1f311218ef12cc5502e0841495ec7682100.tar.gz
upstream-a02cb1f311218ef12cc5502e0841495ec7682100.tar.bz2
upstream-a02cb1f311218ef12cc5502e0841495ec7682100.zip
mediatek: add support for the NAND-ePHY board
This is the same as the NAND board but gmac1 is wired to an external phy. Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/base-files')
-rwxr-xr-xtarget/linux/mediatek/base-files/etc/board.d/02_network6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/mediatek/base-files/etc/board.d/02_network b/target/linux/mediatek/base-files/etc/board.d/02_network
index d772ab013f..361771199f 100755
--- a/target/linux/mediatek/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/base-files/etc/board.d/02_network
@@ -10,8 +10,12 @@ mediatek_setup_interfaces()
case $board in
'mediatek,mt7623-rfb-emmc' | \
+ 'mediatek,mt7623-rfb-nand-ephy')
+ ucidef_set_interface_lan "lan0 lan1 lan2 lan3"
+ ucidef_set_interface_wan eth1
+ ;;
'mediatek,mt7623-rfb-nand')
- ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
+ ucidef_set_interface_lan "lan0 lan1 lan2 lan3"
ucidef_set_interface_wan wan
;;
esac