ARM: dts: rockchip: add reset property for rk3066a-rayeager emac phy
authorChris Zhong <zyw@rock-chips.com>
Wed, 8 Nov 2017 09:50:41 +0000 (17:50 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 16 Dec 2017 20:09:37 +0000 (21:09 +0100)
The ethernet phy of rk3066a-rayeager has a reset pin, it controlled by
GPIO1_D6, this pin should be pull down then pull up to reset the phy.
Add a reset-gpios property in phy0, make the phy can be reset when emac
power on.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3066a-rayeager.dts

index cdf301f..4d7057a 100644 (file)
 
        phy0: ethernet-phy@0 {
                reg = <0>;
+               reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>;
        };
 };