Path: blob/main/sys/arm/allwinner/h616/h616_r_padconf.c
178476 views
/*-1* SPDX-License-Identifier: BSD-2-Clause2*3* Copyright (c) 2019 Emmanuel Vadot <[email protected]>4*5* Copyright (c) 2026 The FreeBSD Foundation.6*7* Portions of this file were written by Tom Jones <[email protected]> under8* sponsorship from The FreeBSD Foundation.9*10*/1112#include <sys/param.h>13#include <sys/systm.h>14#include <sys/kernel.h>15#include <sys/types.h>1617#include <arm/allwinner/allwinner_pinctrl.h>1819#include "opt_soc.h"2021static const struct allwinner_pins h616_r_pins[] = {22{ "PL0" , 0, 0, { "gpio-in", "gpio_out", NULL, "spi0", NULL, NULL, NULL }, 0, 0, 0 },23{ "PL1" , 0, 1, { "gpio-in", "gpio_out", NULL, "spi0", NULL, NULL, NULL }, 0, 0, 0 },24};2526const struct allwinner_padconf h616_r_padconf = {27.npins = nitems(h616_r_pins),28.pins = h616_r_pins,29};303132