Skip to content

Commit

Permalink
clk: rockchip: Add binding ids for cpu and peri clocks on rk3066
Browse files Browse the repository at this point in the history
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: Paweł Jarosz <paweljarosz3691@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
  • Loading branch information
Paweł Jarosz authored and Heiko Stuebner committed Oct 21, 2016
1 parent 1001354 commit 550a133
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/dt-bindings/clock/rk3188-cru-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
#define ACLK_IPP 200
#define ACLK_RGA 201
#define ACLK_CIF0 202
#define ACLK_CPU 203
#define ACLK_PERI 204

/* pclk gates */
#define PCLK_GRF 320
Expand Down Expand Up @@ -104,6 +106,8 @@
#define PCLK_EFUSE 347
#define PCLK_TZPC 348
#define PCLK_TSADC 349
#define PCLK_CPU 350
#define PCLK_PERI 351

/* hclk gates */
#define HCLK_SDMMC 448
Expand All @@ -126,8 +130,10 @@
#define HCLK_IPP 465
#define HCLK_RGA 466
#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 */
#define SRST_MCORE 2
Expand Down

0 comments on commit 550a133

Please sign in to comment.