linux/drivers/clocksource/armv7m_systick.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) Maxime Coquelin 2015
 * Author:  Maxime Coquelin <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/clocksource.h>
#include <linux/clockchips.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/clk.h>
#include <linux/bitops.h>

#define SYST_CSR
#define SYST_RVR
#define SYST_CVR
#define SYST_CALIB

#define SYST_CSR_ENABLE

#define SYSTICK_LOAD_RELOAD_MASK

static int __init system_timer_of_register(struct device_node *np)
{}

TIMER_OF_DECLARE(arm_systick, "arm,armv7m-systick",
			system_timer_of_register);