summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288/clock.h')
-rw-r--r--src/soc/rockchip/rk3288/clock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/rockchip/rk3288/clock.h b/src/soc/rockchip/rk3288/clock.h
index 452d352194..b206baa006 100644
--- a/src/soc/rockchip/rk3288/clock.h
+++ b/src/soc/rockchip/rk3288/clock.h
@@ -26,6 +26,14 @@
#define GPLL_HZ 594000000
#define CPLL_HZ 384000000
+#define PD_BUS_ACLK_HZ 148500000
+#define PD_BUS_HCLK_HZ 148500000
+#define PD_BUS_PCLK_HZ 74250000
+
+#define PERI_ACLK_HZ 148500000
+#define PERI_HCLK_HZ 148500000
+#define PERI_PCLK_HZ 74250000
+
void rkclk_init(void);
void rkclk_configure_spi(unsigned int bus, unsigned int hz);
void rkclk_ddr_reset(u32 ch, u32 ctl, u32 phy);