Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/arm/allwinner/h616/h616_r_padconf.c
178476 views
1
/*-
2
* SPDX-License-Identifier: BSD-2-Clause
3
*
4
* Copyright (c) 2019 Emmanuel Vadot <[email protected]>
5
*
6
* Copyright (c) 2026 The FreeBSD Foundation.
7
*
8
* Portions of this file were written by Tom Jones <[email protected]> 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
32