summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-07-25 14:49:54 -0400
committerTom Rini <trini@konsulko.com>2016-07-25 14:49:54 -0400
commitfd42e1b589b5ae7e89dc327a70e5852999a23aeb (patch)
tree7f5a4ada7b95af8b94b7dc86638cde9a2663f88c /arch/arm/include/asm/arch-sunxi/clock_sun4i.h
parente312e745db7bcde95c759986d218e8ab5259f64f (diff)
parent59441ac3c135c412c679bdd1c82c8f2a9b805bbc (diff)
Merge git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun4i.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/clock_sun4i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
index 0088bb9d0b..d1c5ad0a73 100644
--- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
@@ -269,6 +269,11 @@ struct sunxi_ccm_reg {
#define CCM_MBUS_CTRL_CLK_SRC_PLL5 0x2
#define CCM_MBUS_CTRL_GATE (0x1 << 31)
+#define CCM_NAND_CTRL_M(x) ((x) - 1)
+#define CCM_NAND_CTRL_N(x) ((x) << 16)
+#define CCM_NAND_CTRL_OSCM24 (0x0 << 24)
+#define CCM_NAND_CTRL_PLL6 (0x1 << 24)
+#define CCM_NAND_CTRL_PLL5 (0x2 << 24)
#define CCM_NAND_CTRL_ENABLE (0x1 << 31)
#define CCM_MMC_CTRL_M(x) ((x) - 1)