1 /* SPDX-License-Identifier: GPL-2.0-only */
7 /* Early pad configuration in bootblock */
8 static const struct pad_config early_gpio_table
[] = {
10 PAD_CFG_NF(GPP_C0
, NONE
, DEEP
, NF1
),
12 PAD_CFG_NF(GPP_C1
, NONE
, DEEP
, NF1
),
15 PAD_CFG_GPI(GPP_E7
, NONE
, DEEP
),
18 PAD_CFG_GPI(GPP_A8
, NONE
, DEEP
),
19 PAD_CFG_GPI(GPP_F19
, NONE
, DEEP
),
20 PAD_CFG_GPI(GPP_H19
, NONE
, DEEP
),
21 PAD_CFG_GPI(GPP_H23
, NONE
, DEEP
),
24 PAD_CFG_NF(GPP_H10
, NONE
, DEEP
, NF2
),
26 PAD_CFG_NF(GPP_H11
, NONE
, DEEP
, NF2
),
28 PAD_CFG_NF(GPP_D17
, NONE
, DEEP
, NF1
),
30 PAD_CFG_NF(GPP_D18
, NONE
, DEEP
, NF1
),
32 PAD_CFG_GPO(GPP_E8
, 1, PLTRST
), /* PERST_CB_RESET_N */
35 void configure_early_gpio_pads(void)
37 gpio_configure_pads(early_gpio_table
, ARRAY_SIZE(early_gpio_table
));