arm: rockchip: add RK3308 SGRF registers support

Change-Id: I04340035cf8c372ae9f30424871da3810c70c56b
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-03-26 17:13:30 +08:00
parent 164b2a3361
commit 3a10ef3901
1 changed files with 16 additions and 0 deletions

View File

@ -173,4 +173,20 @@ struct rk3308_grf {
unsigned int chip_id;
};
check_member(rk3308_grf, gpio0a_p, 0xa0);
struct rk3308_sgrf {
unsigned int soc_con0;
unsigned int soc_con1;
unsigned int con_tzma_r0size;
unsigned int con_secure0;
unsigned int reserved0;
unsigned int clk_timer_en;
unsigned int clkgat_con;
unsigned int fastboot_addr;
unsigned int fastboot_en;
unsigned int reserved1[(0x30 - 0x24) / 4];
unsigned int srst_con;
};
check_member(rk3308_sgrf, fastboot_en, 0x20);
#endif