18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * arch/arm/plat-orion/include/plat/time.h
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Marvell Orion SoC time handling.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This file is licensed under the terms of the GNU General Public
78c2ecf20Sopenharmony_ci * License version 2.  This program is licensed "as is" without any
88c2ecf20Sopenharmony_ci * warranty of any kind, whether express or implied.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef __PLAT_TIME_H
128c2ecf20Sopenharmony_ci#define __PLAT_TIME_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_civoid orion_time_set_base(void __iomem *timer_base);
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_civoid orion_time_init(void __iomem *bridge_base, u32 bridge_timer1_clr_mask,
178c2ecf20Sopenharmony_ci		     unsigned int irq, unsigned int tclk);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci#endif
21