mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 04:49:42 +02:00
[adm5120] fix RB-133/133C led definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12097 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a563c1d49b
commit
22a77eed08
@ -27,7 +27,7 @@
|
|||||||
#include <adm5120_info.h>
|
#include <adm5120_info.h>
|
||||||
|
|
||||||
#define DRV_DESC "LED driver for the ADM5120 based boards"
|
#define DRV_DESC "LED driver for the ADM5120 based boards"
|
||||||
#define DRV_VERSION "0.2.0"
|
#define DRV_VERSION "0.2.1"
|
||||||
|
|
||||||
#define NUM_LEDS_MAX 23
|
#define NUM_LEDS_MAX 23
|
||||||
#define ADM5120_GPIO_xxxx 0x100 /* an unknown pin */
|
#define ADM5120_GPIO_xxxx 0x100 /* an unknown pin */
|
||||||
@ -176,6 +176,10 @@ LED_ARRAY(rb133) {
|
|||||||
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
|
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
|
||||||
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
|
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
|
||||||
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
|
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
|
||||||
|
LED_INV(ADM5120_GPIO_P1L1, "lan2_speed", NULL), /* untested */
|
||||||
|
LED_INV(ADM5120_GPIO_P1L0, "lan2_lnkact", NULL), /* untested */
|
||||||
|
LED_INV(ADM5120_GPIO_P0L1, "lan3_speed", NULL), /* untested */
|
||||||
|
LED_INV(ADM5120_GPIO_P0L0, "lan3_lnkact", NULL), /* untested */
|
||||||
};
|
};
|
||||||
|
|
||||||
LED_ARRAY(rb133c) {
|
LED_ARRAY(rb133c) {
|
||||||
@ -183,10 +187,6 @@ LED_ARRAY(rb133c) {
|
|||||||
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
|
LED_STD(ADM5120_GPIO_PIN5, "user", NULL),
|
||||||
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
|
LED_INV(ADM5120_GPIO_P2L1, "lan1_speed", NULL), /* untested */
|
||||||
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
|
LED_INV(ADM5120_GPIO_P2L0, "lan1_lnkact", NULL), /* untested */
|
||||||
LED_INV(ADM5120_GPIO_P1L1, "lan2_speed", NULL), /* untested */
|
|
||||||
LED_INV(ADM5120_GPIO_P1L0, "lan2_lnkact", NULL), /* untested */
|
|
||||||
LED_INV(ADM5120_GPIO_P0L1, "lan3_speed", NULL), /* untested */
|
|
||||||
LED_INV(ADM5120_GPIO_P0L0, "lan3_lnkact", NULL), /* untested */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
LED_ARRAY(rb150) {
|
LED_ARRAY(rb150) {
|
||||||
|
Loading…
Reference in New Issue
Block a user