commit | a5644119186eda088225588768c243886a944c39 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Sep 25 17:45:33 2019 +0800 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Fri Oct 25 17:20:44 2019 +0200 |
tree | fd76e74819a1cbe693e8907808de013b88d6fc28 | |
parent | e4387bd827e720a47693cdd42037d0332552e7a1 [diff] |
net: mt7628-eth: make phy link up detection optional via DT The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port). Although in IOT mode only port0 is usable, the phy0 is still connected to the switch, not the ethernet gmac directly. This patch rewrites it and makes it optional. It can be turned on by adding mediatek,poll-link-phy = <?> explicitly into the eth node. By default the driver is switch mode with all 5 phy ports working without link detection.