From 9f57e03518ffbf0a652bce50eed9f7cfeeba3293 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 10 Jan 2020 14:33:03 -0700 Subject: [PATCH] Set all GPIOs to 3.3V --- src/board/system76/lemp9/gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/board/system76/lemp9/gpio.c b/src/board/system76/lemp9/gpio.c index 6482c4b..bd14d8f 100644 --- a/src/board/system76/lemp9/gpio.c +++ b/src/board/system76/lemp9/gpio.c @@ -21,6 +21,8 @@ void gpio_init() { GCR = 0x04; // Enable SMBus channel 4 GCR15 = (1 << 4); + // Set GPF2 and GPF3 to 3.3V + GCR20 = 0; // Set GPIO data GPDRA = 0;