Home | History | Annotate | Line # | Download | only in power
      1      1.1  jmcneill /*	$NetBSD: r8a7793-sysc.h,v 1.1.1.2 2020/01/03 14:33:03 skrll Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.2     skrll /* SPDX-License-Identifier: GPL-2.0-only */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * Copyright (C) 2016 Glider bvba
      6      1.1  jmcneill  */
      7      1.1  jmcneill #ifndef __DT_BINDINGS_POWER_R8A7793_SYSC_H__
      8      1.1  jmcneill #define __DT_BINDINGS_POWER_R8A7793_SYSC_H__
      9      1.1  jmcneill 
     10      1.1  jmcneill /*
     11      1.1  jmcneill  * These power domain indices match the numbers of the interrupt bits
     12      1.1  jmcneill  * representing the power areas in the various Interrupt Registers
     13      1.1  jmcneill  * (e.g. SYSCISR, Interrupt Status Register)
     14      1.1  jmcneill  *
     15      1.1  jmcneill  * Note that R-Car M2-N is identical to R-Car M2-W w.r.t. power domains.
     16      1.1  jmcneill  */
     17      1.1  jmcneill 
     18      1.1  jmcneill #define R8A7793_PD_CA15_CPU0		 0
     19      1.1  jmcneill #define R8A7793_PD_CA15_CPU1		 1
     20      1.1  jmcneill #define R8A7793_PD_CA15_SCU		12
     21      1.1  jmcneill #define R8A7793_PD_SH_4A		16
     22      1.1  jmcneill #define R8A7793_PD_SGX			20
     23      1.1  jmcneill 
     24      1.1  jmcneill /* Always-on power area */
     25      1.1  jmcneill #define R8A7793_PD_ALWAYS_ON		32
     26      1.1  jmcneill 
     27      1.1  jmcneill #endif /* __DT_BINDINGS_POWER_R8A7793_SYSC_H__ */
     28