]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-sunxi/clock_sun4i.h
sunxi: nand: Add pinmux and clock settings for NAND support
[karo-tx-uboot.git] / arch / arm / include / asm / arch-sunxi / clock_sun4i.h
index 58aff1687af357eca4439d1c55243def8cc8dc56..01d3e28274fce0cc680acd574f4926a76d680fb9 100644 (file)
@@ -267,6 +267,8 @@ struct sunxi_ccm_reg {
 #define CCM_MBUS_CTRL_CLK_SRC_PLL5 0x2
 #define CCM_MBUS_CTRL_GATE (0x1 << 31)
 
+#define CCM_NAND_CTRL_ENABLE           (0x1 << 31)
+
 #define CCM_MMC_CTRL_M(x)              ((x) - 1)
 #define CCM_MMC_CTRL_OCLK_DLY(x)       ((x) << 8)
 #define CCM_MMC_CTRL_N(x)              ((x) << 16)