Home | History | Annotate | Line # | Download | only in power
r8a7794-sysc.h revision 1.1.1.1.6.2
      1 /*	$NetBSD: r8a7794-sysc.h,v 1.1.1.1.6.2 2017/08/28 17:53:04 skrll Exp $	*/
      2 
      3 /*
      4  * Copyright (C) 2016 Glider bvba
      5  *
      6  * This program is free software; you can redistribute it and/or modify
      7  * it under the terms of the GNU General Public License as published by
      8  * the Free Software Foundation; version 2 of the License.
      9  */
     10 #ifndef __DT_BINDINGS_POWER_R8A7794_SYSC_H__
     11 #define __DT_BINDINGS_POWER_R8A7794_SYSC_H__
     12 
     13 /*
     14  * These power domain indices match the numbers of the interrupt bits
     15  * representing the power areas in the various Interrupt Registers
     16  * (e.g. SYSCISR, Interrupt Status Register)
     17  */
     18 
     19 #define R8A7794_PD_CA7_CPU0		 5
     20 #define R8A7794_PD_CA7_CPU1		 6
     21 #define R8A7794_PD_SH_4A		16
     22 #define R8A7794_PD_SGX			20
     23 #define R8A7794_PD_CA7_SCU		21
     24 
     25 /* Always-on power area */
     26 #define R8A7794_PD_ALWAYS_ON		32
     27 
     28 #endif /* __DT_BINDINGS_POWER_R8A7794_SYSC_H__ */
     29