![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/blsp.h>
#include <soc/qup.h>
Go to the source code of this file.
Macros | |
#define | IPQ40XX_I2C0_PINGROUP_1 1 |
#define | IPQ40XX_I2C0_PINGROUP_2 (!IPQ40XX_I2C0_PINGROUP_1) |
#define | IPQ40XX_I2C1_PINGROUP_1 1 |
#define | SCL_GPIO 20 |
#define | SDA_GPIO 21 |
#define | GPIO_FUNC_SCL 0x1 |
#define | GPIO_FUNC_SDA 0x1 |
#define | SCL_GPIO_I2C1 34 |
#define | SDA_GPIO_I2C1 35 |
#define | GPIO_I2C1_FUNC_SCL 0x1 |
#define | GPIO_I2C1_FUNC_SDA 0x1 |
Functions | |
int | blsp_i2c_init_board (blsp_qup_id_t id) |
#define IPQ40XX_I2C0_PINGROUP_2 (!IPQ40XX_I2C0_PINGROUP_1) |
int blsp_i2c_init_board | ( | blsp_qup_id_t | id | ) |
Definition at line 41 of file blsp.c.
References BLSP_QUP_ID_0, BLSP_QUP_ID_1, BLSP_QUP_ID_2, BLSP_QUP_ID_3, GPIO_2MA, GPIO_FUNC_SCL, GPIO_FUNC_SDA, GPIO_I2C1_FUNC_SCL, GPIO_I2C1_FUNC_SDA, GPIO_NO_PULL, gpio_tlmm_config_set(), SCL_GPIO, SCL_GPIO_I2C1, SDA_GPIO, and SDA_GPIO_I2C1.
Referenced by blsp_i2c_init().