Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/amlogic Fix GPIOH pin groups and add GPIOY
details: https://anonhg.NetBSD.org/src/rev/bb3c30568592
branches: trunk
changeset: 449212:bb3c30568592
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Feb 26 21:55:28 2019 +0000
description:
Fix GPIOH pin groups and add GPIOY
diffstat:
sys/arch/arm/amlogic/mesongxbb_pinctrl.c | 31 +++++++++++++++++++++++++------
1 files changed, 25 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 20c58003155a -r bb3c30568592 sys/arch/arm/amlogic/mesongxbb_pinctrl.c
--- a/sys/arch/arm/amlogic/mesongxbb_pinctrl.c Tue Feb 26 21:24:44 2019 +0000
+++ b/sys/arch/arm/amlogic/mesongxbb_pinctrl.c Tue Feb 26 21:55:28 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mesongxbb_pinctrl.c,v 1.1 2019/02/25 19:30:17 jmcneill Exp $ */
+/* $NetBSD: mesongxbb_pinctrl.c,v 1.2 2019/02/26 21:55:28 jmcneill Exp $ */
/*-
* Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mesongxbb_pinctrl.c,v 1.1 2019/02/25 19:30:17 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mesongxbb_pinctrl.c,v 1.2 2019/02/26 21:55:28 jmcneill Exp $");
#include <sys/param.h>
@@ -255,11 +255,30 @@
CBUS_GPIO(GPIODV_21, 0, 21),
CBUS_GPIO(GPIODV_22, 0, 22),
+ /* GPIOY */
+ CBUS_GPIO(GPIOY_0, 1, 0),
+ CBUS_GPIO(GPIOY_1, 1, 1),
+ CBUS_GPIO(GPIOY_2, 1, 2),
+ CBUS_GPIO(GPIOY_3, 1, 3),
+ CBUS_GPIO(GPIOY_4, 1, 4),
+ CBUS_GPIO(GPIOY_5, 1, 5),
+ CBUS_GPIO(GPIOY_6, 1, 6),
+ CBUS_GPIO(GPIOY_7, 1, 7),
+ CBUS_GPIO(GPIOY_8, 1, 8),
+ CBUS_GPIO(GPIOY_9, 1, 9),
+ CBUS_GPIO(GPIOY_10, 1, 10),
+ CBUS_GPIO(GPIOY_11, 1, 11),
+ CBUS_GPIO(GPIOY_12, 1, 12),
+ CBUS_GPIO(GPIOY_13, 1, 13),
+ CBUS_GPIO(GPIOY_14, 1, 14),
+ CBUS_GPIO(GPIOY_15, 1, 15),
+ CBUS_GPIO(GPIOY_16, 1, 16),
+
/* GPIOH */
- CBUS_GPIO(GPIOH_0, 1, 0),
- CBUS_GPIO(GPIOH_1, 1, 1),
- CBUS_GPIO(GPIOH_2, 1, 2),
- CBUS_GPIO(GPIOH_3, 1, 3),
+ CBUS_GPIO(GPIOH_0, 1, 20),
+ CBUS_GPIO(GPIOH_1, 1, 21),
+ CBUS_GPIO(GPIOH_2, 1, 22),
+ CBUS_GPIO(GPIOH_3, 1, 23),
/* BOOT */
CBUS_GPIO(BOOT_0, 2, 0),
Home |
Main Index |
Thread Index |
Old Index