Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Add support for NextThing GR8.



details:   https://anonhg.NetBSD.org/src/rev/b76106aa1083
branches:  trunk
changeset: 827647:b76106aa1083
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Nov 06 21:03:58 2017 +0000

description:
Add support for NextThing GR8.

diffstat:

 sys/arch/arm/sunxi/sun5i_a13_ccu.c  |  5 +++--
 sys/arch/arm/sunxi/sunxi_gpio.c     |  5 +++--
 sys/arch/arm/sunxi/sunxi_platform.c |  5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (78 lines):

diff -r 1ffa1d2e0c90 -r b76106aa1083 sys/arch/arm/sunxi/sun5i_a13_ccu.c
--- a/sys/arch/arm/sunxi/sun5i_a13_ccu.c        Mon Nov 06 19:20:54 2017 +0000
+++ b/sys/arch/arm/sunxi/sun5i_a13_ccu.c        Mon Nov 06 21:03:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun5i_a13_ccu.c,v 1.3 2017/08/27 17:53:31 jmcneill Exp $ */
+/* $NetBSD: sun5i_a13_ccu.c,v 1.4 2017/11/06 21:03:58 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: sun5i_a13_ccu.c,v 1.3 2017/08/27 17:53:31 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sun5i_a13_ccu.c,v 1.4 2017/11/06 21:03:58 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -67,6 +67,7 @@
 
 static const char * const compatible[] = {
        "allwinner,sun5i-a13-ccu",
+       "nextthing,gr8-ccu",
        NULL
 };
 
diff -r 1ffa1d2e0c90 -r b76106aa1083 sys/arch/arm/sunxi/sunxi_gpio.c
--- a/sys/arch/arm/sunxi/sunxi_gpio.c   Mon Nov 06 19:20:54 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_gpio.c   Mon Nov 06 21:03:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_gpio.c,v 1.16 2017/10/11 10:52:54 jmcneill Exp $ */
+/* $NetBSD: sunxi_gpio.c,v 1.17 2017/11/06 21:03:58 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_soc.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_gpio.c,v 1.16 2017/10/11 10:52:54 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_gpio.c,v 1.17 2017/11/06 21:03:58 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -77,6 +77,7 @@
 #endif
 #ifdef SOC_SUN5I_A13
        { "allwinner,sun5i-a13-pinctrl",        (uintptr_t)&sun5i_a13_padconf },
+       { "nextthing,gr8-pinctrl",              (uintptr_t)&sun5i_a13_padconf },
 #endif
 #ifdef SOC_SUN6I_A31
        { "allwinner,sun6i-a31-pinctrl",        (uintptr_t)&sun6i_a31_padconf },
diff -r 1ffa1d2e0c90 -r b76106aa1083 sys/arch/arm/sunxi/sunxi_platform.c
--- a/sys/arch/arm/sunxi/sunxi_platform.c       Mon Nov 06 19:20:54 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_platform.c       Mon Nov 06 21:03:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_platform.c,v 1.15 2017/10/24 15:06:23 jmcneill Exp $ */
+/* $NetBSD: sunxi_platform.c,v 1.16 2017/11/06 21:03:58 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #include "opt_fdt_arm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.15 2017/10/24 15:06:23 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.16 2017/11/06 21:03:58 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -263,6 +263,7 @@
 };
 
 ARM_PLATFORM(sun5i_a13, "allwinner,sun5i-a13", &sun5i_platform);
+ARM_PLATFORM(sun5i_gr8, "nextthing,gr8", &sun5i_platform);
 
 static const struct arm_platform sun6i_platform = {
        .devmap = sunxi_platform_devmap,



Home | Main Index | Thread Index | Old Index