The pch_gbe driver support for PHY reset GPIOs is now provided by the standard phylib infrastructure, using a standard PHY binding. Adjust the Boston devicetree to make use of the standard PHY binding.
This is possible because we bundle the DT along with the kernel binary into a Flattened Image Tree, so the DT and kernel are always shipped together for the Boston platform. Signed-off-by: Paul Burton <paul.bur...@mips.com> Cc: Andrew Lunn <and...@lunn.ch> Cc: David S. Miller <da...@davemloft.net> Cc: linux-m...@linux-mips.org Cc: netdev@vger.kernel.org --- Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/mips/boot/dts/img/boston.dts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/img/boston.dts b/arch/mips/boot/dts/img/boston.dts index 65af3f6ba81c..cb55f7ba20c3 100644 --- a/arch/mips/boot/dts/img/boston.dts +++ b/arch/mips/boot/dts/img/boston.dts @@ -144,8 +144,17 @@ eg20t_mac@2,0,1 { compatible = "pci8086,8802"; reg = <0x00020100 0 0 0 0>; - phy-reset-gpios = <&eg20t_gpio 6 - GPIO_ACTIVE_LOW>; + + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@0 { + compatible = "ethernet-phy-id001c.c915"; + reg = <0>; + reset-gpios = <&eg20t_gpio 6 GPIO_ACTIVE_LOW>; + reset-assert-us = <25000>; + reset-deassert-us = <25000>; + }; }; eg20t_gpio: eg20t_gpio@2,0,2 { -- 2.17.0