1 // Copyright 2017 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #pragma once
6 
7 #include <soc/aml-a113/a113-gpio.h>
8 
9 // pins for I2C A and B
10 #define I2C_SCK_A A113_GPIOZ(6)
11 #define I2C_SDA_A A113_GPIOZ(7)
12 #define I2C_SCK_B A113_GPIOZ(8)
13 #define I2C_SDA_B A113_GPIOZ(9)
14 
15 // pins for TDM C
16 #define TDM_BCLK_C A113_GPIOA(2)
17 #define TDM_FSYNC_C A113_GPIOA(3)
18 #define TDM_MOSI_C A113_GPIOA(4)
19 #define TDM_MISO_C A113_GPIOA(5)
20 
21 #define SPK_MUTEn A113_GPIOA(20)
22 
23 // GPIO for USB VBus
24 #define USB_VBUS_GPIO A113_GPIOAO(5)
25