summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/boxy
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/variants/boxy')
-rw-r--r--src/mainboard/google/dedede/variants/boxy/gpio.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/boxy/gpio.c b/src/mainboard/google/dedede/variants/boxy/gpio.c
index f8ed0cfefd..e8cb9ffe81 100644
--- a/src/mainboard/google/dedede/variants/boxy/gpio.c
+++ b/src/mainboard/google/dedede/variants/boxy/gpio.c
@@ -87,3 +87,18 @@ const struct pad_config *variant_override_gpio_table(size_t *num)
*num = ARRAY_SIZE(gpio_table);
return gpio_table;
}
+
+static const gpio_t hpd_gpios[] = {
+ /* HDMI1 */
+ GPP_A17,
+ /* USB C0 */
+ GPP_B23,
+ /* USB C1 */
+ GPP_A16,
+};
+
+const gpio_t *variant_hpd_gpios(size_t *num)
+{
+ *num = ARRAY_SIZE(hpd_gpios);
+ return hpd_gpios;
+}