diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-11-08 20:22:27 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-11-08 20:22:27 +0000 |
commit | cec0770f996f2ffb045664c5537f6c2431f5471b (patch) | |
tree | 2b522bde33e41c4a04a43f743a5096dfb8d85832 /sys/arch/armv7 | |
parent | c77d213cfd81174238d76d63244f191a0244527e (diff) |
Add a few more easy sun9i-a80 clocks.
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/sunxi/sxiccmu.c | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/sys/arch/armv7/sunxi/sxiccmu.c b/sys/arch/armv7/sunxi/sxiccmu.c index 744e83e3441..c61f02df711 100644 --- a/sys/arch/armv7/sunxi/sxiccmu.c +++ b/sys/arch/armv7/sunxi/sxiccmu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxiccmu.c,v 1.23 2016/11/08 19:44:42 kettenis Exp $ */ +/* $OpenBSD: sxiccmu.c,v 1.24 2016/11/08 20:22:26 kettenis Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2013 Artturi Alm @@ -287,6 +287,36 @@ struct sxiccmu_device sxiccmu_devices[] = { .enable = sxiccmu_gate_enable }, { + .compat = "allwinner,sun9i-a80-ahb0-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { + .compat = "allwinner,sun9i-a80-ahb1-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { + .compat = "allwinner,sun9i-a80-ahb2-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { + .compat = "allwinner,sun9i-a80-apb0-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { + .compat = "allwinner,sun9i-a80-apb1-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { + .compat = "allwinner,sun9i-a80-apbs-gates-clk", + .get_frequency = sxiccmu_gen_get_frequency, + .enable = sxiccmu_gate_enable + }, + { .compat = "allwinner,sun9i-a80-mmc-clk", .set_frequency = sxiccmu_mmc_set_frequency, .enable = sxiccmu_mmc_enable |