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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:44 +0000 (17:47 +0100)
commit0d39f342eb1545ceef73b52c0c73e43f140ebbe3
tree9e59dc615b75b6debdb7a7c3a3ff9894fd98dded
parent3cc214899885121f0ff09cef64bd9e41650dcca7
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>
(backported from 5a6229a93df8a3f292094012a43410c6a24c210e)
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