diff options
author | Chris Zhong <zyw@rock-chips.com> | 2017-11-08 04:50:41 -0500 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-12-16 15:09:37 -0500 |
commit | fe8fd85a23a746bd7f0a14e5dcd55c9bc517a055 (patch) | |
tree | bfea67a943882343830b1be84387114d4428d7f2 | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
ARM: dts: rockchip: add reset property for rk3066a-rayeager emac phy
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>
-rw-r--r-- | arch/arm/boot/dts/rk3066a-rayeager.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts b/arch/arm/boot/dts/rk3066a-rayeager.dts index cdf301f5778b..4d7057a10a4c 100644 --- a/arch/arm/boot/dts/rk3066a-rayeager.dts +++ b/arch/arm/boot/dts/rk3066a-rayeager.dts | |||
@@ -177,6 +177,7 @@ | |||
177 | 177 | ||
178 | phy0: ethernet-phy@0 { | 178 | phy0: ethernet-phy@0 { |
179 | reg = <0>; | 179 | reg = <0>; |
180 | reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>; | ||
180 | }; | 181 | }; |
181 | }; | 182 | }; |
182 | 183 | ||