mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
arm64: dts: rockchip: pull down rst-gpio of gmac-phy at suspend for rk3399-box
Some phys would not enter low power mode by writing 'power down' bit into phy common register0 such as RTL8211E. And pulling down reset gpio is also a common way to make phy get low consumption, if the supplied regulator of phy could not be disabled at suspend. Change-Id: Ib01f48ec8c0bdec633868bb79e4155561ca6c471 Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
@@ -928,8 +928,9 @@
|
||||
snps,reset-delays-us = <0 10000 50000>;
|
||||
assigned-clocks = <&cru SCLK_RMII_SRC>;
|
||||
assigned-clock-parents = <&clkin_gmac>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
pinctrl-1 = <&rgmii_sleep_pins>;
|
||||
tx_delay = <0x28>;
|
||||
rx_delay = <0x11>;
|
||||
status = "okay";
|
||||
@@ -1003,4 +1004,11 @@
|
||||
<1 21 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
gmac {
|
||||
rgmii_sleep_pins: rgmii-sleep-pins {
|
||||
rockchip,pins =
|
||||
<3 15 RK_FUNC_GPIO &pcfg_output_low>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user