ramips: remove superfluous & confusing DT binding
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Wed, 1 Aug 2018 14:44:20 +0000 (07:44 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 6 Aug 2018 05:05:37 +0000 (07:05 +0200)
commit5a6229a93df8a3f292094012a43410c6a24c210e
tree34e722aee5cf4646ccc34c30a9158f6af4df96c1
parentf72fa883b324311c1972c39ed521e536b25d674c
ramips: remove superfluous & confusing DT binding

Mediatek has a reference platform that pairs an MT7620A with an MT7530W,
where the latter responds on MDIO address 0x1f while both chips respond on
0x0 to 0x4. The driver special-cases this arrangement to make sure it's
talking to the right chip, but two different ways in two different places.
This patch consolidates the detection without the current requirement of
both tests to be separately satisfied in the DTS.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
target/linux/ramips/dts/BR-6478AC-V2.dts
target/linux/ramips/dts/E1700.dts
target/linux/ramips/dts/MT7620a_MT7530.dts
target/linux/ramips/dts/TINY-AC.dts
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c