blob: d3feac383267bb130c5791ac666247afc40b1ca5 [file] [log] [blame]
Heiko Stübnerd5beff22017-02-18 19:46:30 +01001/*
2 * Copyright (c) 2016 Heiko Stuebner <heiko@sntech.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef _ASM_ARCH_PMU_RK3188_H
8#define _ASM_ARCH_PMU_RK3188_H
9
10struct rk3188_pmu {
11 u32 wakeup_cfg[2];
12 u32 pwrdn_con;
13 u32 pwrdn_st;
14
15 u32 int_con;
16 u32 int_st;
17 u32 misc_con;
18
19 u32 osc_cnt;
20 u32 pll_cnt;
21 u32 pmu_cnt;
22 u32 ddrio_pwron_cnt;
23 u32 wakeup_rst_clr_cnt;
24 u32 scu_pwrdwn_cnt;
25 u32 scu_pwrup_cnt;
26 u32 misc_con1;
27 u32 gpio0_con;
28
29 u32 sys_reg[4];
30 u32 reserved0[4];
31 u32 stop_int_dly;
32 u32 gpio0_p[2];
33};
34check_member(rk3188_pmu, gpio0_p[1], 0x0068);
35
36#endif