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