ar71xx: cr5000: Tweak switch LED settings
authorDaniel F. Dickinson <cshored@thecshore.com>
Sat, 21 Jul 2018 01:03:27 +0000 (21:03 -0400)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:32 +0000 (10:43 +0200)
This is basically cosmetic and sets the Port 1-4 LEDs to blink on
10/100/1000M.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c

index f3f030c1d8b11dc0d058dfd6fed2163a00401e26..efc5e1d5ed27c5cbfdb122922b701f2f99452f09 100644 (file)
@@ -106,10 +106,10 @@ static struct ar8327_pad_cfg cr5000_ar8327_pad0_cfg = {
 };
 
 static struct ar8327_led_cfg cr5000_ar8327_led_cfg = {
-       .led_ctrl0 = 0x00000000,
-       .led_ctrl1 = 0xc737c737,
-       .led_ctrl2 = 0x00000000,
-       .led_ctrl3 = 0x00c30c00,
+       .led_ctrl0 = 0xcc35cc35,
+       .led_ctrl1 = 0xca35ca35,
+       .led_ctrl2 = 0xc935c935,
+       .led_ctrl3 = 0x03ffff00,
        .open_drain = true,
 };