summaryrefslogtreecommitdiff
path: root/boards
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2017-01-10 10:12:15 -0600
committerKumar Gala <kumar.gala@linaro.org>2017-01-12 09:46:27 -0600
commita758429b1e713120672442d1868e7f7206e89862 (patch)
treeb6eea4a9d53c87b241c546a384fdf66e48c797d8 /boards
parent362bdaabeb799070c21346ebc702145200c65d1e (diff)
frdm_k64f: hexiwear_k64: Remove defaults for the k64 gpio driver
Jira: ZEP-1394 Change-Id: Ie0dd812ebca6306413300c6160f00ee764ebd4c2 Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Diffstat (limited to 'boards')
-rw-r--r--boards/arm/frdm_k64f/Kconfig.defconfig22
-rw-r--r--boards/arm/frdm_k64f/board.h28
-rw-r--r--boards/arm/hexiwear_k64/Kconfig.defconfig22
-rw-r--r--boards/arm/hexiwear_k64/board.h20
4 files changed, 2 insertions, 90 deletions
diff --git a/boards/arm/frdm_k64f/Kconfig.defconfig b/boards/arm/frdm_k64f/Kconfig.defconfig
index 2764e788c..7b4984ac6 100644
--- a/boards/arm/frdm_k64f/Kconfig.defconfig
+++ b/boards/arm/frdm_k64f/Kconfig.defconfig
@@ -112,25 +112,6 @@ config PINMUX_MCUX_PORTE
endif # PINMUX_MCUX
-if GPIO_K64
-
-config GPIO_K64_A
- def_bool y
-
-config GPIO_K64_B
- def_bool y
-
-config GPIO_K64_C
- def_bool y
-
-config GPIO_K64_D
- def_bool y
-
-config GPIO_K64_E
- def_bool y
-
-endif # GPIO_K64
-
if GPIO_MCUX
config GPIO_MCUX_PORTA
@@ -189,8 +170,7 @@ config FXOS8700_I2C_ADDRESS
default 0x1d
config FXOS8700_GPIO_NAME
- default GPIO_K64_C_DEV_NAME if GPIO_K64
- default GPIO_MCUX_PORTC_NAME if GPIO_MCUX
+ default GPIO_MCUX_PORTC_NAME
config FXOS8700_GPIO_PIN
default 13
diff --git a/boards/arm/frdm_k64f/board.h b/boards/arm/frdm_k64f/board.h
index 9166551ca..d6b2efc01 100644
--- a/boards/arm/frdm_k64f/board.h
+++ b/boards/arm/frdm_k64f/board.h
@@ -19,32 +19,6 @@
#include <soc.h>
-#ifdef CONFIG_GPIO_K64
-
-/* Push button switch 2 */
-#define SW2_GPIO_NAME CONFIG_GPIO_K64_C_DEV_NAME
-#define SW2_GPIO_PIN 6
-
-/* Push button switch 3 */
-#define SW3_GPIO_NAME CONFIG_GPIO_K64_A_DEV_NAME
-#define SW3_GPIO_PIN 4
-
-/* Red LED */
-#define RED_GPIO_NAME CONFIG_GPIO_K64_B_DEV_NAME
-#define RED_GPIO_PIN 22
-
-/* Green LED */
-#define GREEN_GPIO_NAME CONFIG_GPIO_K64_E_DEV_NAME
-#define GREEN_GPIO_PIN 26
-
-/* Blue LED */
-#define BLUE_GPIO_NAME CONFIG_GPIO_K64_B_DEV_NAME
-#define BLUE_GPIO_PIN 21
-
-#endif /* CONFIG_GPIO_K64 */
-
-#ifdef CONFIG_GPIO_MCUX
-
/* Push button switch 2 */
#define SW2_GPIO_NAME CONFIG_GPIO_MCUX_PORTC_NAME
#define SW2_GPIO_PIN 6
@@ -65,8 +39,6 @@
#define BLUE_GPIO_NAME CONFIG_GPIO_MCUX_PORTB_NAME
#define BLUE_GPIO_PIN 21
-#endif /* CONFIG_GPIO_MCUX */
-
/* LED0. There is no physical LED on the board with this name, so create an
* alias to the green LED to make the basic blinky sample work.
*/
diff --git a/boards/arm/hexiwear_k64/Kconfig.defconfig b/boards/arm/hexiwear_k64/Kconfig.defconfig
index 90c6444ff..29be85ccf 100644
--- a/boards/arm/hexiwear_k64/Kconfig.defconfig
+++ b/boards/arm/hexiwear_k64/Kconfig.defconfig
@@ -112,25 +112,6 @@ config PINMUX_MCUX_PORTE
endif # PINMUX_MCUX
-if GPIO_K64
-
-config GPIO_K64_A
- def_bool y
-
-config GPIO_K64_B
- def_bool y
-
-config GPIO_K64_C
- def_bool y
-
-config GPIO_K64_D
- def_bool y
-
-config GPIO_K64_E
- def_bool y
-
-endif # GPIO_K64
-
if GPIO_MCUX
config GPIO_MCUX_PORTA
@@ -189,8 +170,7 @@ config FXOS8700_I2C_ADDRESS
default 0x1e
config FXOS8700_GPIO_NAME
- default GPIO_K64_D_DEV_NAME if GPIO_K64
- default GPIO_MCUX_PORTD_NAME if GPIO_MCUX
+ default GPIO_MCUX_PORTD_NAME
config FXOS8700_GPIO_PIN
default 13
diff --git a/boards/arm/hexiwear_k64/board.h b/boards/arm/hexiwear_k64/board.h
index 1333c1dba..520fb87f6 100644
--- a/boards/arm/hexiwear_k64/board.h
+++ b/boards/arm/hexiwear_k64/board.h
@@ -19,24 +19,6 @@
#include <soc.h>
-#ifdef CONFIG_GPIO_K64
-
-/* Red LED */
-#define RED_GPIO_NAME CONFIG_GPIO_K64_C_DEV_NAME
-#define RED_GPIO_PIN 8
-
-/* Green LED */
-#define GREEN_GPIO_NAME CONFIG_GPIO_K64_D_DEV_NAME
-#define GREEN_GPIO_PIN 0
-
-/* Blue LED */
-#define BLUE_GPIO_NAME CONFIG_GPIO_K64_C_DEV_NAME
-#define BLUE_GPIO_PIN 9
-
-#endif /* CONFIG_GPIO_K64 */
-
-#ifdef CONFIG_GPIO_MCUX
-
/* Red LED */
#define RED_GPIO_NAME CONFIG_GPIO_MCUX_PORTC_NAME
#define RED_GPIO_PIN 8
@@ -49,8 +31,6 @@
#define BLUE_GPIO_NAME CONFIG_GPIO_MCUX_PORTC_NAME
#define BLUE_GPIO_PIN 9
-#endif /* CONFIG_GPIO_MCUX */
-
/* LED0. There is no physical LED on the board with this name, so create an
* alias to the green LED to make the basic blinky sample work.
*/