diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-12-14 20:43:53 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-12-14 20:43:53 +0000 |
commit | d9cf9b68524d88692f9fefb323d19050ca67dffc (patch) | |
tree | fda6c98461dbb6953c3e9e671af5ed6bd79182fa /target/linux/danube/files/include/asm-mips | |
parent | 6f5d61ecf33540e235dbffa5de4a09554e953261 (diff) |
danube_led cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/danube/files/include/asm-mips')
-rw-r--r-- | target/linux/danube/files/include/asm-mips/danube/danube.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/danube/files/include/asm-mips/danube/danube.h b/target/linux/danube/files/include/asm-mips/danube/danube.h index deb0618ea0..6329b2a826 100644 --- a/target/linux/danube/files/include/asm-mips/danube/danube.h +++ b/target/linux/danube/files/include/asm-mips/danube/danube.h @@ -309,6 +309,25 @@ #define LED_CON0_AD1 (1 << 25) #define LED_CON0_AD0 (1 << 24) +#define DANUBE_LED_2HZ (0) +#define DANUBE_LED_4HZ (1 << 23) +#define DANUBE_LED_8HZ (2 << 23) +#define DANUBE_LED_10HZ (3 << 23) +#define DANUBE_LED_MASK (0xf << 23) + +#define DANUBE_LED_UPD_SRC_FPI (1 << 31) +#define DANUBE_LED_UPD_MASK (3 << 30) +#define DANUBE_LED_ADSL_SRC (3 << 24) + +#define DANUBE_LED_GROUP0 (1 << 0) +#define DANUBE_LED_GROUP1 (1 << 1) +#define DANUBE_LED_GROUP2 (1 << 2) + +#define DANUBE_LED_RISING 0 +#define DANUBE_LED_FALLING (1 << 26) +#define DANUBE_LED_EDGE_MASK (1 << 26) + + /*------------ GPIO */ |