realtek: add support for port led configuration on RTL93XX
authorBirger Koblitz <git@birger-koblitz.de>
Wed, 2 Feb 2022 06:29:25 +0000 (07:29 +0100)
committerPaul Spooren <mail@aparcar.org>
Wed, 2 Feb 2022 09:32:58 +0000 (10:32 +0100)
commit13f35f6eb415ded8c3c7481e2a99d7d4d3833090
treef40106a6188ba2172fc05e972399b80a20e2c91e
parent18e18a03dd02ee30446497c9c78b5a709aac0123
realtek: add support for port led configuration on RTL93XX

Using the led-set attribute of a port in the dts we allow configuration
of the port leds. Each led-set is being defined in the led-set configuration
of the .dts, giving a specific configuration to steer the port LEDs via a serial
connection.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl931x.c