sunxi: add sun7i clocks and timer support.
authorIan Campbell <>
Mon, 5 May 2014 10:52:23 +0000 (11:52 +0100)
committerAlbert ARIBAUD <>
Sun, 25 May 2014 14:12:12 +0000 (16:12 +0200)
sunxi: add sun7i clocks and timer support.

This patch adds the basic clocks and timer support for the Allwinner A20
(sun7i) processor. This code will not been compiled until the build is hooked
up in a later patch. It has been split out to keep the patches manageable.

Some of the code here is common to multiple sunxi subarchtectures, hence files
are named sun4i which is the earliest similar variant.

Signed-off-by: Alexandru Gagniuc <>
Signed-off-by: Chen-Yu Tsai <>
Signed-off-by: Emilio López <>
Signed-off-by: Hans de Goede <>
Signed-off-by: Henrik Nordstrom <>
Signed-off-by: Jens Kuske <>
Signed-off-by: Luke Leighton <>
Signed-off-by: Oliver Schinagl <>
Signed-off-by: Ian Campbell <>
Cc: Stefan Roese <>
Cc: Tom Cubie <>
Reviewed-by: Tom Rini <>
arch/arm/cpu/armv7/sunxi/Makefile [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/clock.c [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/clock_sun4i.c [new file with mode: 0644]
arch/arm/cpu/armv7/sunxi/timer.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/clock.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/clock_sun4i.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/sys_proto.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/timer.h [new file with mode: 0644]