pmu_rk3188.h 573 B

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