diff options
author | John Crispin <john@phrozen.org> | 2017-04-21 09:38:52 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-04-24 11:11:52 +0200 |
commit | a02cb1f311218ef12cc5502e0841495ec7682100 (patch) | |
tree | da07681b3b3380a7103c9c7fc908f914d5a74f29 /target/linux/mediatek/base-files/etc/board.d | |
parent | 4c6ae885c5796c94976bc5aaca071fe8f8b47f39 (diff) | |
download | upstream-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/etc/board.d')
-rwxr-xr-x | target/linux/mediatek/base-files/etc/board.d/02_network | 6 |
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 |