Go to the documentation of this file.
13 #include <asm/reboot.h>
14 #include <linux/export.h>
16 #include <lantiq_soc.h>
19 #define SYS1_CPU0RS 0x0040
21 #define CPU0RS_MASK 0x0003
23 #define SYS1_BM 0x00a0
25 #define BM_MASK 0x0005
40 #define BOOT_REG_BASE (KSEG1 | 0x1F200000)
41 #define BOOT_PW1_REG (BOOT_REG_BASE | 0x20)
42 #define BOOT_PW2_REG (BOOT_REG_BASE | 0x24)
43 #define BOOT_PW1 0x4C545100
44 #define BOOT_PW2 0x0051544C
46 #define WDT_REG_BASE (KSEG1 | 0x1F8803F0)
47 #define WDT_PW1 0x00BE0000
48 #define WDT_PW2 0x00DC0000
82 static int __init mips_reboot_setup(
void)