SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / arch / arm / include / asm / arch-rockchip / pmu_rk3188.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2016 Heiko Stuebner <heiko@sntech.de>
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