mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
clk: rockchip: Add clock controller for the RK3308
Add the clock tree definition for the new RK3308 SoC. Change-Id: I1c0794b290207d28102e8d30cca13bbbf54ccfb8 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
parent
d247acc66f
commit
2793cfa0d0
|
|
@ -21,6 +21,7 @@ obj-y += clk-rk3128.o
|
|||
obj-y += clk-rk3188.o
|
||||
obj-y += clk-rk3228.o
|
||||
obj-y += clk-rk3288.o
|
||||
obj-y += clk-rk3308.o
|
||||
obj-y += clk-rk3328.o
|
||||
obj-y += clk-rk3368.o
|
||||
obj-y += clk-rk3399.o
|
||||
|
|
|
|||
|
|
@ -131,7 +131,6 @@ static const struct rockchip_cpuclk_reg_data rk3308_cpuclk_data = {
|
|||
.mux_core_main = 0,
|
||||
.mux_core_shift = 6,
|
||||
.mux_core_mask = 0x3,
|
||||
.pll_name = "pll_apll",
|
||||
};
|
||||
|
||||
PNAME(mux_pll_p) = { "xin24m" };
|
||||
|
|
|
|||
|
|
@ -130,6 +130,19 @@ struct clk;
|
|||
#define RK3288_EMMC_CON0 0x218
|
||||
#define RK3288_EMMC_CON1 0x21c
|
||||
|
||||
#define RK3308_PLL_CON(x) RK2928_PLL_CON(x)
|
||||
#define RK3308_CLKSEL_CON(x) ((x) * 0x4 + 0x100)
|
||||
#define RK3308_CLKGATE_CON(x) ((x) * 0x4 + 0x300)
|
||||
#define RK3308_GLB_SRST_FST 0xb8
|
||||
#define RK3308_SOFTRST_CON(x) ((x) * 0x4 + 0x400)
|
||||
#define RK3308_MODE_CON 0xa0
|
||||
#define RK3308_SDMMC_CON0 0x480
|
||||
#define RK3308_SDMMC_CON1 0x484
|
||||
#define RK3308_SDIO_CON0 0x488
|
||||
#define RK3308_SDIO_CON1 0x48c
|
||||
#define RK3308_EMMC_CON0 0x490
|
||||
#define RK3308_EMMC_CON1 0x494
|
||||
|
||||
#define RK3328_PLL_CON(x) RK2928_PLL_CON(x)
|
||||
#define RK3328_CLKSEL_CON(x) ((x) * 0x4 + 0x100)
|
||||
#define RK3328_CLKGATE_CON(x) ((x) * 0x4 + 0x200)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user