Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Heiko Stübner | d5beff2 | 2017-02-18 19:46:30 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016 Heiko Stuebner <heiko@sntech.de> |
Heiko Stübner | d5beff2 | 2017-02-18 19:46:30 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _ASM_ARCH_PMU_RK3188_H |
| 7 | #define _ASM_ARCH_PMU_RK3188_H |
| 8 | |
| 9 | struct 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 | }; |
| 33 | check_member(rk3188_pmu, gpio0_p[1], 0x0068); |
| 34 | |
| 35 | #endif |