diff --git a/include/drivers/defs/zynq_parallella.h b/include/drivers/defs/zynq_parallella.h index c59517e..4425b86 100644 --- a/include/drivers/defs/zynq_parallella.h +++ b/include/drivers/defs/zynq_parallella.h @@ -21,13 +21,16 @@ namespace Zynq_parallella { using namespace Zynq; enum { - /* clocks (assuming 6:2:1 mode) */ - PS_CLOCK = 33333333, + /* clocks (assuming 6:2:1 mode) with + * - 33.33333Mhz PS_CLK + * - PLL = 40 * PS_CLK + * - CPU_6x4x = PLL / 2 + */ CPU_1X_CLOCK = 111111100, CPU_3X2X_CLOCK = 3*CPU_1X_CLOCK, CPU_6X4X_CLOCK = 6*CPU_1X_CLOCK, - CORTEX_A9_CLOCK = CPU_6X4X_CLOCK, + CORTEX_A9_CLOCK = 2*CPU_6X4X_CLOCK, CORTEX_A9_PRIVATE_TIMER_CLK = CPU_3X2X_CLOCK, CORTEX_A9_PRIVATE_TIMER_DIV = 100, diff --git a/include/drivers/defs/zynq_zc702.h b/include/drivers/defs/zynq_zc702.h index 7f72820..3b9503a 100644 --- a/include/drivers/defs/zynq_zc702.h +++ b/include/drivers/defs/zynq_zc702.h @@ -21,12 +21,16 @@ namespace Zynq_zc702 { using namespace Zynq; enum { - /* clocks (assuming 6:2:1 mode) */ + /* clocks (assuming 6:2:1 mode) with + * - 33.33333Mhz PS_CLK + * - PLL = 40 * PS_CLK + * - CPU_6x4x = PLL / 2 + */ CPU_1X_CLOCK = 111111100, CPU_3X2X_CLOCK = 3*CPU_1X_CLOCK, CPU_6X4X_CLOCK = 6*CPU_1X_CLOCK, - CORTEX_A9_CLOCK = CPU_6X4X_CLOCK, + CORTEX_A9_CLOCK = 2*CPU_6X4X_CLOCK, CORTEX_A9_PRIVATE_TIMER_CLK = CPU_3X2X_CLOCK, CORTEX_A9_PRIVATE_TIMER_DIV = 100, diff --git a/include/drivers/defs/zynq_zc706.h b/include/drivers/defs/zynq_zc706.h index dceca8c..5ee4bfe 100644 --- a/include/drivers/defs/zynq_zc706.h +++ b/include/drivers/defs/zynq_zc706.h @@ -21,12 +21,16 @@ namespace Zynq_zc706 { using namespace Zynq; enum { - /* clocks (assuming 6:2:1 mode) */ + /* clocks (assuming 6:2:1 mode) with + * - 33.33333Mhz PS_CLK + * - PLL = 40 * PS_CLK + * - CPU_6x4x = PLL / 2 + */ CPU_1X_CLOCK = 111111100, CPU_3X2X_CLOCK = 3*CPU_1X_CLOCK, CPU_6X4X_CLOCK = 6*CPU_1X_CLOCK, - CORTEX_A9_CLOCK = CPU_6X4X_CLOCK, + CORTEX_A9_CLOCK = 2*CPU_6X4X_CLOCK, CORTEX_A9_PRIVATE_TIMER_CLK = CPU_3X2X_CLOCK, CORTEX_A9_PRIVATE_TIMER_DIV = 100,