diff options
author | Peter Körner <git@mazdermind.de> | 2023-09-20 00:44:39 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2024-01-15 18:09:22 +0100 |
commit | 668a0491715853117b15578e4e5bca5cef8e99d9 (patch) | |
tree | c0b913c043714416be958bc307acef5cce3d4e22 | |
parent | b49a0feb2008fcfcf916632950f23423494d3319 (diff) |
rtl838x: fix RTL838X_LED_SW_CTRL definition
According to https://svanheule.net/realtek/maple/register/led_sw_ctrl and also
drivers/net/dsa/rtl83xx/debugfs.c LED_SW_CTRL on the RTL838X should be 0xa00c
not 0x0128. Please note, that is is 0x0128 on the RTL8390/cypress SOC family.
Signed-off-by: Peter Körner <git@mazdermind.de>
-rw-r--r-- | target/linux/realtek/files-5.15/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files-5.15/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h b/target/linux/realtek/files-5.15/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h index d9c0b311ae..81a9ac00f8 100644 --- a/target/linux/realtek/files-5.15/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h +++ b/target/linux/realtek/files-5.15/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h @@ -291,7 +291,7 @@ #define RTL838X_LED_P_EN_CTRL (0xA008) /* LED control by software */ -#define RTL838X_LED_SW_CTRL (0x0128) +#define RTL838X_LED_SW_CTRL (0xA00C) #define RTL839X_LED_SW_CTRL (0xA00C) #define RTL838X_LED_SW_P_EN_CTRL (0xA010) #define RTL839X_LED_SW_P_EN_CTRL (0x012C) |