From a0452346c4e5223ed30b70e4be1bb4a0620f496a Mon Sep 17 00:00:00 2001 From: Simon Baatz Date: Fri, 20 Jul 2012 09:59:14 +0000 Subject: kirkwood: ib62x0: Invert SATA activity LEDs The hardware design of the IB-NAS62x0 causes the SATA activity LEDs to be on when idle by default. Reverse the polarity of the activity LEDs in early init. Signed-off-by: Simon Baatz Cc: Luka Perkov Cc: Prafulla Wadaskar Acked-by: Luka Perkov --- board/raidsonic/ib62x0/ib62x0.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/raidsonic/ib62x0/ib62x0.h') diff --git a/board/raidsonic/ib62x0/ib62x0.h b/board/raidsonic/ib62x0/ib62x0.h index 0c30690..0118c2b 100644 --- a/board/raidsonic/ib62x0/ib62x0.h +++ b/board/raidsonic/ib62x0/ib62x0.h @@ -37,4 +37,8 @@ #define MV88E1116_RGMII_TXTM_CTRL (1 << 4) #define MV88E1116_RGMII_RXTM_CTRL (1 << 5) +/* SATAHC related */ +#define MVSATAHC_LED_CONF_REG (MV_SATA_BASE + 0x2C) +#define MVSATAHC_LED_POLARITY_CTRL (1 << 3) + #endif /* __IB62x0_H */ -- cgit v1.1