]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dts: new SWITCH_PORT_LED() macro 22591/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 24 Mar 2026 19:02:03 +0000 (20:02 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 26 Mar 2026 09:53:05 +0000 (10:53 +0100)
commitd52f7a4ca5ec974f1f168f9d0d5f9f9cd3457674
treea05372ccf81ec046cc8a3412289dffcba064d26e
parent52063ff831d0781749a8d65577bd009792206a30
realtek: dts: new SWITCH_PORT_LED() macro

Several devices (including the upcoming DGS-1250) need a fully
featured port definition that includes:

- port number
- label
- led-set
- pcs-handle
- phy-handle
- phy-mode

Provide a new macro for that and make the Zyxel XGS-1210 series
the first consumer of it.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22591
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/macros.dtsi
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi