2 * (C) Copyright 2015 Chen-Yu Tsai <wens@csie.org>
4 * SPDX-License-Identifier: GPL-2.0+
8 #include <asm/arch/cpu.h>
9 #include <asm/arch/tzpc.h>
11 /* Configure Trust Zone Protection Controller */
14 struct sunxi_tzpc *tzpc = (struct sunxi_tzpc *)SUNXI_TZPC_BASE;
16 /* Enable non-secure access to the RTC */
17 writel(SUNXI_TZPC_DECPORT0_RTC, &tzpc->decport0_set);