]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - arch/arm/mach-tegra/devices.c
FIQ: Implement WDT FIQ debugger
[sojka/nv-tegra/linux-3.10.git] / arch / arm / mach-tegra / devices.c
index 14e62439429796ca32f3cd74360bb5700c339bfa..3b2665de9326e829ec68c6967303100613631eb8 100644 (file)
@@ -5,7 +5,7 @@
  *     Colin Cross <ccross@android.com>
  *     Erik Gilling <ccross@android.com>
  *
- * Copyright (c) 2010-2014, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2010-2015, NVIDIA CORPORATION.  All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -2172,6 +2172,19 @@ static struct resource tegra_wdt0_resources[] = {
                .flags  = IORESOURCE_IRQ,
        },
 #endif
+#if !defined(CONFIG_TRUSTED_FOUNDATIONS) && \
+       defined(CONFIG_ARCH_TEGRA_12x_SOC) && defined(CONFIG_FIQ_DEBUGGER)
+       [5] = {
+               .start  = TEGRA_WDT4_BASE,
+               .end    = TEGRA_WDT4_BASE + TEGRA_WDT4_SIZE - 1,
+               .flags  = IORESOURCE_MEM,
+       },
+       [6] = {
+               .start  = INT_WDT_AVP,
+               .end    = INT_WDT_AVP,
+               .flags  = IORESOURCE_IRQ,
+       },
+#endif
 };
 
 struct platform_device tegra_wdt0_device = {