aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorFranz Flasch <franz.flasch@gmx.at>2018-05-17 11:51:38 +0200
committerMathias Kresin <dev@kresin.me>2018-06-25 20:52:18 +0200
commitd4ac26ec4920036fe15414e47a0f1a3df6e8b9fb (patch)
tree9fb98e1bd3ebe5cecbecd1525a610bbf46e4f53e /LICENSE
parentf9e7f193344fcee585b454e3884297f721187f4a (diff)
downloadupstream-d4ac26ec4920036fe15414e47a0f1a3df6e8b9fb.tar.gz
upstream-d4ac26ec4920036fe15414e47a0f1a3df6e8b9fb.tar.bz2
upstream-d4ac26ec4920036fe15414e47a0f1a3df6e8b9fb.zip
kernel: rtl8366-smi: add Realtek switch management via mii-bus
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>; }; &ethernet { 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>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions