1
1
openwrt/target/linux/ath79/files
Lech Perczak c7b04769a7 ath79: ag71xx: use "builtin-switch" property to set link configuration
To support reporting link state of PHYs attached to built-in switch,
add a device tree knob which allows to force 1000Mbps/FD mode,
which is the link mode between eth1 MAC and the on-chip switch, even if
no "fixed-link" node is present. Re-use the "builtin-switch" name
already used in respective MDIO nodes.

This way, a phy-handle property can be added to eth1 node, and devices,
which have a single port attached through the built-in switch,
can report proper link state of that to userspace.

To perform that, one needs to delete the 'fixed-link' node and map the
correct swphy node to 'phy-handle' property. One of those is still
required to be present in the eth1 node.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/9971
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-25 20:24:41 +02:00
..
arch/mips/include/asm/fw/myloader ath79: remove obsolete pci-ath9k-fixup.[c,h] files 2021-08-26 21:00:26 +02:00
drivers ath79: ag71xx: use "builtin-switch" property to set link configuration 2026-05-25 20:24:41 +02:00
include/mfd ath79: add Mikrotik rb4xx series drivers 2020-06-15 21:16:18 +02:00