From e2fa3a330a1a1f8b25ef4586eb9a16df02375b0a Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 3 Jan 2015 06:30:30 +0000 Subject: [PATCH] Add AR934x GPIO function configuration. Obtained from: Linux OpenWRT --- sys/mips/atheros/ar934xreg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/mips/atheros/ar934xreg.h b/sys/mips/atheros/ar934xreg.h index 1df1cb293ac8..3d850190bc9d 100644 --- a/sys/mips/atheros/ar934xreg.h +++ b/sys/mips/atheros/ar934xreg.h @@ -179,6 +179,12 @@ /* * GPIO block */ +#define AR934X_GPIO_REG_OUT_FUNC0 0x2c +#define AR934X_GPIO_REG_OUT_FUNC1 0x30 +#define AR934X_GPIO_REG_OUT_FUNC2 0x34 +#define AR934X_GPIO_REG_OUT_FUNC3 0x38 +#define AR934X_GPIO_REG_OUT_FUNC4 0x3c +#define AR934X_GPIO_REG_OUT_FUNC5 0x40 #define AR934X_GPIO_REG_FUNC 0x6c #define AR934X_GPIO_COUNT 23