From: kettenis Date: Fri, 21 May 2021 15:37:54 +0000 (+0000) Subject: Add an additional pin configuration. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8c17c73d13a081367dafe608a20fbe1b0ed903ce;p=openbsd Add an additional pin configuration. --- diff --git a/sys/dev/fdt/amlpinctrl.c b/sys/dev/fdt/amlpinctrl.c index 3012a527dbb..162ba9165a3 100644 --- a/sys/dev/fdt/amlpinctrl.c +++ b/sys/dev/fdt/amlpinctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amlpinctrl.c,v 1.9 2020/12/29 15:57:29 kettenis Exp $ */ +/* $OpenBSD: amlpinctrl.c,v 1.10 2021/05/21 15:37:54 kettenis Exp $ */ /* * Copyright (c) 2019 Mark Kettenis * @@ -89,6 +89,7 @@ #define GPIOAO_11 11 #define GPIOE_0 12 #define GPIOE_1 13 +#define GPIOE_2 14 #define PERIPHS_PIN_MUX_0 0xb0 #define PERIPHS_PIN_MUX_3 0xb3 @@ -331,6 +332,7 @@ struct aml_pin_group aml_g12a_ao_pin_groups[] = { /* GPIOE */ { "pwm_ao_b", GPIOE_0, 3, "pwm_ao_b" }, { "pwm_ao_d_e", GPIOE_1, 3, "pwm_ao_d" }, + { "pwm_a_e", GPIOE_2, 3, "pwm_a_e" }, { } };