1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <device/device.h>
8 static void mainboard_init(void *chip_info
)
10 const struct pad_config
*pads
;
13 pads
= variant_gpio_table(&num
);
14 gpio_configure_pads(pads
, num
);
17 struct chip_operations mainboard_ops
= {
18 .init
= mainboard_init
,