ARM64: dts: meson-gxbb-p201: fix ethernet support
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 19 Feb 2017 21:41:47 +0000 (22:41 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 6 Mar 2017 17:55:56 +0000 (09:55 -0800)
commit23edd1b2d83c384949b5f77cdb940006a5d56279
treefc21ef8ba1d0521d866f0e70d81325d6cfd83663
parent695dcb2ba1363d06384b8e98c1adc46e79b36239
ARM64: dts: meson-gxbb-p201: fix ethernet support

Amlogic's own .dts specifies that the P201 board uses a RMII PHY (with
the reset GPIO being GPIOZ_14).
However our P201 board .dts simply inherits the phy-mode setting from
from meson-gx.dtsi where it defaults to RGMII mode.
Remove all ethernet settings from meson-gxbb-p20x.dtsi as it only
specifies the RGMII pins which are only valid for the P200 board.
Instead we add the ethmac node to the meson-gxbb-p201.dts and configure
the pinctrl property and the phy-mode for an RMII PHY.

An MDIO node (which would also specify the PHY) is not added since we
don't know which PHY is being used (and thus which PHY address would
have to be used).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi