diff options
author | Michael Pratt <mcpratt@pm.me> | 2021-05-31 03:56:20 -0400 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-04-19 14:48:21 +0200 |
commit | 6685eb29e507ee3e6f913290c54767ba63e2ce80 (patch) | |
tree | 19347ed1b7d2430623bf680cce55e7389bc3df67 /toolchain | |
parent | 47db830b827c55c7d301f4244d2270e6bd45153d (diff) | |
download | upstream-6685eb29e507ee3e6f913290c54767ba63e2ce80.tar.gz upstream-6685eb29e507ee3e6f913290c54767ba63e2ce80.tar.bz2 upstream-6685eb29e507ee3e6f913290c54767ba63e2ce80.zip |
ramips: mt7620: add ephy-disable option to switch driver
Add back the register write to disable internal PHYs
as a separate option in the code that can be set using a DTS property.
Set the option to true by default
when an external mt7530 switch is identified.
This makes the driver more in sync with original SDK code
while keeping the lines separated into different options
to accommodate any board with any PHY layout.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
(cherry picked from commit cc6fd6fbb505071e08011f7998afaffefcf08fd3)
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions