Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v2] kernel: rtl8366-smi: add Realtek switch management via mii-bus

2018-04-04 Thread Сергей Василюгин
04.04.2018, 00:22, "Florian Fainelli" <f.faine...@gmail.com>: > On 04/03/2018 10:13 AM, Сергей Василюгин wrote: > The switch node should be moved under the mdio controller node below, > parent/child relationships imply the control bus. > Ok > > You should hav

[LEDE-DEV] [PATCH v2] kernel: rtl8366-smi: add Realtek switch management via mii-bus

2018-04-03 Thread Сергей Василюгин
Current version of rtl8366-smi module support Realtek switch managment via two gpio lines only. This patch add Realtek switch management via mii_bus. For my board Tp-link Archer C2 v1 (Mediatek SoC mt7620a based) dts-file configuration looks like: rtl8367rb { compatible =