]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl930x: psx8: specify RTL8224 reset GPIO 23297/head
authorSven Eckelmann <se@simonwunderlich.de>
Fri, 17 Apr 2026 06:50:26 +0000 (08:50 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 13 May 2026 09:34:34 +0000 (11:34 +0200)
commit12d41dce0681301713a99f67a383eae47c656b25
tree0bdaf266f6034f10d788f844a74813686469b27c
parent80e53edc8788fa64b4f97b12e11043c0395f99d3
realtek: rtl930x: psx8: specify RTL8224 reset GPIO

The nRESET pins of the RTL8224 PHYs on the PSX8/PSX10 are wired to GPIO6
(lan1-4) + GPIO10 (lan5-8) of the SoC, but this was never described in the
devicetree.

GPIO 6 is the global reset shared by (logical) PHYs 0-3 on MDIO bus0. GPIO
10 is the global reset shared by (logical) PHYs 8-11 on mdio bus0. It is
intentionally not declared as reset-gpios on any bus: the MDIO driver /
phylink only support a single reset GPIO per bus, not two (or more). And a
GPIO can only be used as reset-gpio on a single PHY. Attaching it to a
single PHY would still reset the other PHYs on the same chip as a side
effect, leaving their software state out of sync with the hardware and
likely breaking them.

Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/23297
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9302_plasmacloud_common.dtsi