staging: mt7621-dts: add support for second network interface
authorNeilBrown <neil@brown.name>
Mon, 1 Jul 2019 00:43:07 +0000 (10:43 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 16:28:29 +0000 (18:28 +0200)
commitbaa3477f06af2238bc88a74db22d7e8ea5782dda
tree0ba404a9d4a6dfbe1c6d911c220d607ee6a65e0c
parentcf8e49ae200baa05b8536e99fbee37faf9c2cebb
staging: mt7621-dts: add support for second network interface

The mt7621 has two network interfaces, one that connects to an
internal switch, and one that can connect to either that switch
or an external phy, or possibly an internal phy.

The Gnubee-PC2 has an external phy for use with the second interface.

This patch add some support for the second interface to mt7621.dtsi
and add a gbpc2.dts which makes use of this.  This allows the second
interface to be used.

I don't fully understand how to configure this interface - the
documentation is thin - so there could well be room for improvement
here.

Signed-off-by: NeilBrown <neil@brown.name>
Link: https://lore.kernel.org/r/156194178766.1430.12784163026696670896.stgit@noble.brown
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/Kconfig
drivers/staging/mt7621-dts/Makefile
drivers/staging/mt7621-dts/gbpc1.dts
drivers/staging/mt7621-dts/gbpc2.dts [new file with mode: 0644]
drivers/staging/mt7621-dts/mt7621.dtsi