aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/leafhill/brd_gpio_early.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/leafhill/brd_gpio_early.h')
-rw-r--r--src/mainboard/intel/leafhill/brd_gpio_early.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/intel/leafhill/brd_gpio_early.h b/src/mainboard/intel/leafhill/brd_gpio_early.h
new file mode 100644
index 0000000000..e44bc706fa
--- /dev/null
+++ b/src/mainboard/intel/leafhill/brd_gpio_early.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <soc/gpio.h>
+
+static const struct pad_config early_gpio_table[] = {
+ /* LPC */
+ PAD_CFG_NF(LPC_ILB_SERIRQ, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_CLKRUNB, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_AD0, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_AD1, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_AD2, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_AD3, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_FRAMEB, NATIVE, DEEP, NF1),
+ PAD_CFG_NF(LPC_CLKOUT0, UP_20K, DEEP, NF1),
+ PAD_CFG_NF(LPC_CLKOUT1, UP_20K, DEEP, NF1)
+};