From 38d83d2c3c8fbe1bc6b22809d85b49bcf90983e7 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Wed, 28 Sep 2016 20:25:49 +0200 Subject: [PATCH] Setup GPIOs available in CF-E320N v2 as inputs J9 header pinout on Comfast CF-E320N v2 PCB: 1. GPIO14 2. GPIO12 3. GPIO11 4. GPIO16 5. VCC (I/O, 2,62 v) 6. GND Setup available GPIOs as inputs by default. This allows to use them later in Linux system. --- u-boot/include/configs/ap143.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/u-boot/include/configs/ap143.h b/u-boot/include/configs/ap143.h index 2a5615d..21f8e91 100644 --- a/u-boot/include/configs/ap143.h +++ b/u-boot/include/configs/ap143.h @@ -36,7 +36,8 @@ #define CONFIG_QCA_GPIO_MASK_LED_ACT_H GPIO0 | GPIO2 | GPIO3 #define CONFIG_QCA_GPIO_MASK_OUT CONFIG_QCA_GPIO_MASK_LED_ACT_H - #define CONFIG_QCA_GPIO_MASK_IN GPIO17 + #define CONFIG_QCA_GPIO_MASK_IN GPIO11 | GPIO12 | GPIO14 |\ + GPIO16 | GPIO17 #define CONFIG_QCA_GPIO_MASK_OUT_INIT_L CONFIG_QCA_GPIO_MASK_LED_ACT_H #elif defined(CONFIG_FOR_COMFAST_CF_E520N) ||\ -- 2.25.1