aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2022-02-02 07:29:25 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-17 15:21:47 +0000
commit0538dc693b54e52fdfb8b7cd052eb96b5eb65708 (patch)
treefbe6968dac4ec1bc3b7f36f6248514a931e96a9f /target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
parentcaaac9ab3bb34a067001595648f6fb6b57621202 (diff)
downloadupstream-0538dc693b54e52fdfb8b7cd052eb96b5eb65708.tar.gz
upstream-0538dc693b54e52fdfb8b7cd052eb96b5eb65708.tar.bz2
upstream-0538dc693b54e52fdfb8b7cd052eb96b5eb65708.zip
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>
Diffstat (limited to 'target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h')
-rw-r--r--target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
index 9f8b210c44..d95e5fb098 100644
--- a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
+++ b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
@@ -229,7 +229,7 @@
#define RTL838X_LED_GLB_CTRL (0xA000)
#define RTL839X_LED_GLB_CTRL (0x00E4)
#define RTL9302_LED_GLB_CTRL (0xcc00)
-#define RTL930X_LED_GLB_CTRL (0xC400)
+#define RTL930X_LED_GLB_CTRL (0xCC00)
#define RTL931X_LED_GLB_CTRL (0x0600)
#define RTL838X_EXT_GPIO_DIR (0xA08C)