mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
d4ac26ec49
Current version of rtl8366-smi module only supports Realtek switch managment via two gpio lines. This adds Realtek switch management via mii_bus. Tested on a Tp-link Archer C2 v1 (Mediatek SoC mt7620a based) dts-file configuration should look like this: rtl8367rb { compatible = "realtek,rtl8367b"; realtek,extif1 = <1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio0>; }; ðernet { status = "okay"; mtd-mac-address = <&rom 0xf100>; pinctrl-names = "default"; pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>; port@5 { status = "okay"; mediatek,fixed-link = <1000 1 1 1>; phy-mode = "rgmii"; }; mdio0: mdio-bus { status = "okay"; }; }; Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Signed-off-by: Franz Flasch <franz.flasch@gmx.at> |
||
---|---|---|
.. | ||
b53 | ||
adm6996.c | ||
adm6996.h | ||
ar8216.c | ||
ar8216.h | ||
ar8327.c | ||
ar8327.h | ||
ip17xx.c | ||
mvsw61xx.c | ||
mvsw61xx.h | ||
mvswitch.c | ||
mvswitch.h | ||
psb6970.c | ||
rtl8306.c | ||
rtl8366_smi.c | ||
rtl8366_smi.h | ||
rtl8366rb.c | ||
rtl8366s.c | ||
rtl8367.c | ||
rtl8367b.c | ||
swconfig_leds.c | ||
swconfig.c |