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 gmac clocks
details: https://anonhg.NetBSD.org/src/rev/59f970e3ad06
branches: trunk
changeset: 999249:59f970e3ad06
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun May 26 13:56:46 2019 +0000
description:
Add gmac clocks
diffstat:
sys/arch/arm/sunxi/sun9i_a80_ccu.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r f791ff07adfd -r 59f970e3ad06 sys/arch/arm/sunxi/sun9i_a80_ccu.c
--- a/sys/arch/arm/sunxi/sun9i_a80_ccu.c Sun May 26 10:22:59 2019 +0000
+++ b/sys/arch/arm/sunxi/sun9i_a80_ccu.c Sun May 26 13:56:46 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun9i_a80_ccu.c,v 1.2 2019/01/03 15:49:09 jmcneill Exp $ */
+/* $NetBSD: sun9i_a80_ccu.c,v 1.3 2019/05/26 13:56:46 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: sun9i_a80_ccu.c,v 1.2 2019/01/03 15:49:09 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: sun9i_a80_ccu.c,v 1.3 2019/05/26 13:56:46 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -95,6 +95,7 @@
SUNXI_CCU_RESET(A80_RST_BUS_SPI3, BUS_SOFT_RST_REG0, 23),
SUNXI_CCU_RESET(A80_RST_BUS_OTG_PHY, BUS_SOFT_RST_REG1, 1),
+ SUNXI_CCU_RESET(A80_RST_BUS_GMAC, BUS_SOFT_RST_REG1, 17),
SUNXI_CCU_RESET(A80_RST_BUS_MSGBOX, BUS_SOFT_RST_REG1, 21),
SUNXI_CCU_RESET(A80_RST_BUS_SPINLOCK, BUS_SOFT_RST_REG1, 22),
SUNXI_CCU_RESET(A80_RST_BUS_HSTIMER, BUS_SOFT_RST_REG1, 23),
@@ -329,6 +330,8 @@
SUNXI_CCU_GATE(A80_CLK_BUS_USB, "ahb1-usb", "ahb1",
BUS_CLK_GATING_REG1, 1),
+ SUNXI_CCU_GATE(A80_CLK_BUS_GMAC, "ahb1-gmac", "ahb1",
+ BUS_CLK_GATING_REG1, 17),
SUNXI_CCU_GATE(A80_CLK_BUS_MSGBOX, "ahb1-msgbox", "ahb1",
BUS_CLK_GATING_REG1, 21),
SUNXI_CCU_GATE(A80_CLK_BUS_SPINLOCK, "ahb1-spinlock", "ahb1",
Home |
Main Index |
Thread Index |
Old Index