xref: /freebsd/sys/arm/allwinner/h616/h616_r_padconf.c (revision e506af08bb52bcf02553a35a385b7ef0b8692589)
1 /*-
2  * SPDX-License-Identifier: BSD-2-Clause
3  *
4  * Copyright (c) 2019 Emmanuel Vadot <manu@freebsd.org>
5  *
6  * Copyright (c) 2026 The FreeBSD Foundation.
7  *
8  * Portions of this file were written by Tom Jones <thj@freebsd.org> under
9  * sponsorship from The FreeBSD Foundation.
10  *
11  */
12 
13 #include <sys/param.h>
14 #include <sys/systm.h>
15 #include <sys/kernel.h>
16 #include <sys/types.h>
17 
18 #include <arm/allwinner/allwinner_pinctrl.h>
19 
20 #include "opt_soc.h"
21 
22 static const struct allwinner_pins h616_r_pins[] = {
23 	{ "PL0" , 0, 0, { "gpio-in", "gpio_out", NULL, "spi0", NULL, NULL, NULL }, 0, 0, 0 },
24 	{ "PL1" , 0, 1, { "gpio-in", "gpio_out", NULL, "spi0", NULL, NULL, NULL }, 0, 0, 0 },
25 };
26 
27 const struct allwinner_padconf h616_r_padconf = {
28 	.npins = nitems(h616_r_pins),
29 	.pins = h616_r_pins,
30 };
31