Re: [PATCH] dt-bindings: net: dsa: realtek-smi: convert to YAML schema
From: Linus Walleij
Date: Sat Jan 15 2022 - 19:16:04 EST
On Wed, Jan 5, 2022 at 12:44 AM Luiz Angelo Daros de Luca
<luizluca@xxxxxxxxx> wrote:
> BTW, I couldn't find a datasheet for rtl8366rb.
There is none... all I have is a code dump from realtek.
The custom header had to be reverse engineered.
> The commit message
> says it is from a DIR-685 but wikidevi days that device has a
> RTL8366SR, which is described as "SINGLE-CHIP 5+1-PORT 10/100/1000
> MBPS SWITCH CONTROLLER WITH DUAL MAC INTERFACES".
The device most definitely has the RTL8366RB, as can be seen in the
PCB photo here:
https://www.redeszone.net/app/uploads-redeszone.net/d-link_dir-685_analisis_15.jpg
> Do you have any suggestions?
The DIR-685 has WAN + 4 x LAN and the WAN port is handled in a separate
register from the LAN ports (suggesting it can also do an optical
line) so I think
it's 4 + 1.
Yours,
Linus Walleij