summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/sasukette/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/variants/sasukette/gpio.c')
-rw-r--r--src/mainboard/google/dedede/variants/sasukette/gpio.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/sasukette/gpio.c b/src/mainboard/google/dedede/variants/sasukette/gpio.c
new file mode 100644
index 0000000000..0f5b6d292b
--- /dev/null
+++ b/src/mainboard/google/dedede/variants/sasukette/gpio.c
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <baseboard/gpio.h>
+#include <baseboard/variants.h>
+
+/* Pad configuration in ramstage*/
+static const struct pad_config gpio_table[] = {
+ /* D15 : EN_PP3300_CAMERA */
+ PAD_CFG_GPO(GPP_D15, 1, PLTRST),
+};
+
+const struct pad_config *variant_override_gpio_table(size_t *num)
+{
+ *num = ARRAY_SIZE(gpio_table);
+ return gpio_table;
+}