mii-bus = <>;
phy_id = <29>;
};
This patch is independent of the rtl8366_smi patch (set switch phy address)
and may be helpful for device with rtl8367rb connected through EXT2.
Signed-off-by: Serge Vasilugin
--- a/target/linux/generic/files/drivers/net/phy/rtl
device...
Signed-off-by: Serge Vasilugin
--- a/target/linux/generic/files/drivers/net/phy/rtl8367b.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367b.c
@@ -588,6 +588,20 @@
{0x133E, 0x000E}, {0x133F, 0x0010},
};
+static const struct rtl8367b_initval rtl8367c_initvals0
Adding support for tplink archer c5 v4 some problems arise:
1. Device use unsupported rtl8367s switch.
2. rtl8367s switch have non default 0 phy address at mii-bus (29).
3. rtl8367s switch is connected through unsupported extended interface 2.
The patches resolve these problems. Many info and
ek,extif2 = <1 0 1 1 1 1 1 1 2>;
mii-bus = <>;
cpu-port = <7>;
}
Use default 0 address if not set.
Backward compatibility tested on tplink archer c2 v1 (rtl8367rb switch)
Signed-off-by: Serge Vasilugin
--- a/target/linux/generic/files/d