Add Broadcom / Netgear changes from RAXE 1.0.0.48
[project/bcm63xx/u-boot.git] / arch / arm / include / asm / arch-bcm63138 / timer.h
diff --git a/arch/arm/include/asm/arch-bcm63138/timer.h b/arch/arm/include/asm/arch-bcm63138/timer.h
new file mode 100644 (file)
index 0000000..ae751bf
--- /dev/null
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+
+ *
+ *  Copyright 2019 Broadcom Ltd.
+ */
+
+#ifndef _63138_TIMER_H
+#define _63138_TIMER_H
+
+#define TIMR_BASE                               0xfffe8080
+
+#define TIMER_CLKRSTCTL                         0x2c
+#define TIMER_CLKRSTCTL_FAP1_PLL_CLKEN          (1<<11)
+#define TIMER_CLKRSTCTL_FAP2_PLL_CLKEN          (1<<15)
+#define TIMER_WD_RESET                          0x34
+#define TIMER_RESET_STATUS                      0x38
+#define TIMER_RESET_STATUS_POR                  (1 << 31)
+
+#endif