summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry/gpio.h
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2021-05-06 14:07:12 +0800
committerHung-Te Lin <hungte@chromium.org>2021-05-26 07:32:39 +0000
commitfb5fa1abe7a17caf29c387cb6864b85b1479822b (patch)
treebb8bd6ba1bd2d725dd0a3bb279eaeaa310fb885c /src/mainboard/google/cherry/gpio.h
parent3d2297e13dbe891785a143ea4858965ff55b4512 (diff)
mb/google/cherry: Support audio
Add GPIO "beep enable" for switching on and off. Signed-off-by: Trevor Wu <trevor.wu@mediatek.com> Change-Id: Iddb781e30fa90f05767cceeb83e623432540dcc0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54739 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/cherry/gpio.h')
-rw-r--r--src/mainboard/google/cherry/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/gpio.h b/src/mainboard/google/cherry/gpio.h
index 28e11869a8..f07fa38dc9 100644
--- a/src/mainboard/google/cherry/gpio.h
+++ b/src/mainboard/google/cherry/gpio.h
@@ -8,6 +8,7 @@
#define GPIO_EC_AP_INT GPIO(GPIO_04)
#define GPIO_WP GPIO(GPIO_05)
#define GPIO_SD_CD GPIO(I2SO1_D1)
+#define GPIO_BEEP_ON GPIO(DMIC1_DAT)
#define GPIO_EC_IN_RW GPIO(DGI_D10)
#define GPIO_GSC_AP_INT GPIO(DGI_D11)
#define GPIO_EN_SPK GPIO(UART1_RTS)