diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-05-21 15:37:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-05-21 15:37:55 +0000 |
commit | 8684b27f7e01ac6517fe7441040df609c803275b (patch) | |
tree | e697d629902146e1b756ea6df1ad0f071b60f788 /sys | |
parent | 658bc4b96e76cedabe2b7a0bec0c60c99920d916 (diff) |
Add an additional pin configuration.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdt/amlpinctrl.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <kettenis@openbsd.org> * @@ -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" }, { } }; |