SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
reg-rproc.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef __REG_RPROC_H__
4#define __REG_RPROC_H__
5
6#include <reg-ncat.h>
7
8#define SUNXI_A27L_WFI_MODE_REG (SUNXI_A27L2_CFG_BASE + 0x4)
9#define SUNXI_A27L_START_ADD_REG (SUNXI_A27L2_CFG_BASE + 0x204)
10
11#define SUNXI_WAKUP_CTRL_REG (SUNXI_PMU_AON_BASE + 0x64)
12#define SUNXI_A27L_WAKUP_EN (0x1 << 8)
13#define SUNXI_LP_STATUS_REG (SUNXI_PMU_AON_BASE + 0x68)
14#define SUNXI_A27L_STATUS (0x1 << 12)
15
16#define SUNXI_E907_LPMD_MODE_MASK "0xC"
17#define SUNXI_E907_LPMD_MODE_LILGHTSLP "0x4"
18
38void sunxi_ansc_boot(uint32_t addr);
39
40#endif// __REG_RPROC_H__
u32_t uint32_t
Definition stdint.h:13
void sunxi_ansc_boot(uint32_t addr)
Boot the A27L2 processor.
Definition sys-rproc.c:35