summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/clock.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-11-23 00:56:20 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-30 08:24:39 +0100
commitca30fb634c4ae273738cb2c411ea6e58a4d7bbfb (patch)
tree8ed5a26c09713e77f893d15a789352911e59af56 /arch/arm/mach-at91/clock.h
parent1f987a11338e2b601e7a51a7840019d4e1c0113c (diff)
downloadbarebox-ca30fb634c4ae273738cb2c411ea6e58a4d7bbfb.tar.gz
barebox-ca30fb634c4ae273738cb2c411ea6e58a4d7bbfb.tar.xz
at91: add sama5d3 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/clock.h')
-rw-r--r--arch/arm/mach-at91/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/clock.h b/arch/arm/mach-at91/clock.h
index cacc0b5469..8af8d963c8 100644
--- a/arch/arm/mach-at91/clock.h
+++ b/arch/arm/mach-at91/clock.h
@@ -20,7 +20,9 @@ struct clk {
const char *name; /* unique clock name */
struct clk_lookup cl;
unsigned long rate_hz;
+ unsigned div; /* parent clock divider */
struct clk *parent;
+ unsigned pid; /* peripheral ID */
u32 pmc_mask;
void (*mode)(struct clk *, int);
unsigned id:3; /* PCK0..4, or 32k/main/a/b */