-/* $OpenBSD: sxiccmu.c,v 1.17 2016/08/27 16:41:52 kettenis Exp $ */
+/* $OpenBSD: sxiccmu.c,v 1.18 2016/08/28 20:17:10 kettenis Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Artturi Alm
.compat = "allwinner,sun6i-a31-ahb1-reset",
.reset = sxiccmu_reset
},
+ {
+ .compat = "allwinner,sun6i-a31-clock-reset",
+ .reset = sxiccmu_reset
+ },
{
.compat = "allwinner,sun7i-a20-ahb-gates-clk",
.get_frequency = sxiccmu_gen_get_frequency,
#define H3_CLK_BUS_OHCI2 39
#define H3_CLK_BUS_OHCI3 40
+#define H3_CLK_BUS_PIO 54
+
#define H3_CLK_BUS_UART0 62
#define H3_CLK_BUS_UART1 63
#define H3_CLK_BUS_UART2 64
[H3_CLK_BUS_OHCI1] = { 0x0060, 29 },
[H3_CLK_BUS_OHCI2] = { 0x0060, 30 },
[H3_CLK_BUS_OHCI3] = { 0x0060, 31 },
+ [H3_CLK_BUS_PIO] = { 0x0068, 5 },
[H3_CLK_BUS_UART0] = { 0x006c, 16, H3_CLK_APB2 },
[H3_CLK_BUS_UART1] = { 0x006c, 17, H3_CLK_APB2 },
[H3_CLK_BUS_UART2] = { 0x006c, 18, H3_CLK_APB2 },