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