]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dts: fix ethernet-switch node 22557/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 22 Mar 2026 08:37:06 +0000 (09:37 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Mar 2026 10:31:21 +0000 (11:31 +0100)
commit323dfdf599ac217e95d12bff81f5189498bd4793
tree9fc32a22f3b057872e37b96d2e6f49552a50f5ea
parent2f74f9188fb81b95e259110bb8336f5e62e6f6d0
realtek: dts: fix ethernet-switch node

RTL93xx devices can no longer find the switch node in the DTS.
Commit 4c92254 ("relocate/retype switch node") refactored the
switch node definition to better align with upstream. Sadly
the redefinition for RTL93xx devices failed.

- RTL83xx: use "switch0: ethernet-switch"
- RTL93xx: use "switch0: switch@1b000000"

Follow up commit 8b969f7 ("drop realtek,smi-address property)
changed the dts lookup sequence for mdio initialization. On
RTL93xx devices it cannot find the switchnode via
of_get_child_by_name(dev->of_node->parent, "ethernet-switch")

Fix the switch node type for RTL93xx

Fixes: 8b969f7 ("drop realtek,smi-address property)
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22557
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl930x.dtsi
target/linux/realtek/dts/rtl931x.dtsi