Commit 550a1331 authored by Paweł Jarosz's avatar Paweł Jarosz Committed by Heiko Stuebner

clk: rockchip: Add binding ids for cpu and peri clocks on rk3066

Add bindings for ACLK_CPU, HCLK_CPU, PCLK_CPU, ACLK_PERI, HCLK_PERI, PCLK_PERI.

We need this to init it's rate at boot time.
Signed-off-by: default avatarPaweł Jarosz <paweljarosz3691@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 1001354c
...@@ -72,6 +72,8 @@ ...@@ -72,6 +72,8 @@
#define ACLK_IPP 200 #define ACLK_IPP 200
#define ACLK_RGA 201 #define ACLK_RGA 201
#define ACLK_CIF0 202 #define ACLK_CIF0 202
#define ACLK_CPU 203
#define ACLK_PERI 204
/* pclk gates */ /* pclk gates */
#define PCLK_GRF 320 #define PCLK_GRF 320
...@@ -104,6 +106,8 @@ ...@@ -104,6 +106,8 @@
#define PCLK_EFUSE 347 #define PCLK_EFUSE 347
#define PCLK_TZPC 348 #define PCLK_TZPC 348
#define PCLK_TSADC 349 #define PCLK_TSADC 349
#define PCLK_CPU 350
#define PCLK_PERI 351
/* hclk gates */ /* hclk gates */
#define HCLK_SDMMC 448 #define HCLK_SDMMC 448
...@@ -126,8 +130,10 @@ ...@@ -126,8 +130,10 @@
#define HCLK_IPP 465 #define HCLK_IPP 465
#define HCLK_RGA 466 #define HCLK_RGA 466
#define HCLK_NANDC0 467 #define HCLK_NANDC0 467
#define HCLK_CPU 468
#define HCLK_PERI 469
#define CLK_NR_CLKS (HCLK_NANDC0 + 1) #define CLK_NR_CLKS (HCLK_PERI + 1)
/* soft-reset indices */ /* soft-reset indices */
#define SRST_MCORE 2 #define SRST_MCORE 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment