1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * As a rule of thumb, GPIO pins used by coreboot should be initialized at
8 * bootblock while GPIO pins used only by the OS should be initialized at
11 static const struct soc_amd_gpio gpio_set_stage_ram
[] = {
13 PAD_NF(GPIO_7
, ACP_I2S_SDIN
, PULL_NONE
),
15 PAD_NF(GPIO_8
, ACP_I2S_LRCLK
, PULL_NONE
),
17 PAD_GPI(GPIO_11
, PULL_UP
),
19 PAD_SCI(GPIO_24
, PULL_UP
, EDGE_LOW
),
21 PAD_INT(GPIO_69
, PULL_UP
, EDGE_LOW
, STATUS
),
24 void mainboard_program_gpios(void)
26 gpio_configure_pads(gpio_set_stage_ram
, ARRAY_SIZE(gpio_set_stage_ram
));