arm64: dts: renesas: ulcb: Add EthernetAVB PHY reset
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Dec 2017 10:34:52 +0000 (11:34 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 11 Dec 2017 07:03:24 +0000 (08:03 +0100)
Describe the GPIO used to reset the Ethernet PHY for EthernetAVB.
This allows the driver to reset the PHY during probe and after system
resume.

On ULCB, the enable pin of the regulator providing PHY power is always
pulled high, but the driver may still need to reset the PHY if this
wasn't done by the bootloader before.

Inspired by patches in the BSP for the individual Salvator-X/XS boards
by Kazuya Mizuguchi.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/ulcb.dtsi

index 0d85b31..be91016 100644 (file)
                reg = <0>;
                interrupt-parent = <&gpio2>;
                interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
        };
 };