#include <linux/init.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/pm.h>
#include <linux/export.h>
#include <linux/delay.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <asm/reboot.h>
#include <lantiq_soc.h>
#include "../prom.h"
Go to the source code of this file.
#define ltq_rcu_r32 |
( |
|
x | ) |
ltq_r32(ltq_rcu_membase + (x)) |
#define ltq_rcu_w32 |
( |
|
x, |
|
|
|
y |
|
) |
| ltq_w32((x), ltq_rcu_membase + (y)) |
#define RCU_BOOT_SEL_MASK 0x7 |
#define RCU_BOOT_SEL_SHIFT 26 |
#define RCU_RD_SRST BIT(30) |
#define RCU_RST_REQ 0x0010 |
#define RCU_RST_STAT 0x0014 |
#define RCU_STAT_SHIFT 26 |