diff options
Diffstat (limited to 'package/broadcom-diag/src/gpio.h')
-rw-r--r-- | package/broadcom-diag/src/gpio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h index d0e3e06c8a..8bd3fe02f8 100644 --- a/package/broadcom-diag/src/gpio.h +++ b/package/broadcom-diag/src/gpio.h @@ -9,8 +9,14 @@ #define EXTIF_ADDR 0x1f000000 #define EXTIF_UART (EXTIF_ADDR + 0x00800000) +/* GPIO pins driving LEDs through a shift register */ +#define SHIFTREG_DATA (1 << 6) +#define SHIFTREG_CLK (1 << 7) +#define SHIFTREG_MAX_BITS 8 + #define GPIO_TYPE_NORMAL (0x0 << 24) #define GPIO_TYPE_EXTIF (0x1 << 24) +#define GPIO_TYPE_SHIFT (0x2 << 24) #define GPIO_TYPE_MASK (0xf << 24) #endif /* __DIAG_GPIO_H */ |