arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/1 arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>
The lion gmac node currently uses opposite active-values for the gmac phy reset pin. The gpio-declaration uses active-high while the separate snps,reset-active-low property marks the pin as active low.
While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now.
So bring this in line and make both properties match, similar to the other Rockchip board.
--- arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi +1 -1
@@ -157,7 +157,7 @@ &gmac { pinctrl-0 = <&rgmii_pins>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; - snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; + snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>; tx_delay = <0x10>; rx_delay = <0x10>; status = "okay";
Signature · 1 line
2.26.2
Quoted 8 lines · Heiko Stuebner
The lion gmac node currently uses opposite active-values for the gmac phy reset pin. The gpio-declaration uses active-high while the separate snps,reset-active-low property marks the pin as active low.
While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now.
[...]
Applied, thanks!
[1/1] arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
commit: 2300e6dab473e93181cf76e4fe6671aa3d24c57b
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>