linux/include/linux/amba/sp810.h

/*
 * ARM PrimeXsys System Controller SP810 header file
 *
 * Copyright (C) 2009 ST Microelectronics
 * Viresh Kumar <[email protected]>
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2. This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#ifndef __AMBA_SP810_H
#define __AMBA_SP810_H

#include <linux/io.h>

/* sysctl registers offset */
#define SCCTRL
#define SCSYSSTAT
#define SCIMCTRL
#define SCIMSTAT
#define SCXTALCTRL
#define SCPLLCTRL
#define SCPLLFCTRL
#define SCPERCTRL0
#define SCPERCTRL1
#define SCPEREN
#define SCPERDIS
#define SCPERCLKEN
#define SCPERSTAT
#define SCSYSID0
#define SCSYSID1
#define SCSYSID2
#define SCSYSID3
#define SCITCR
#define SCITIR0
#define SCITIR1
#define SCITOR
#define SCCNTCTRL
#define SCCNTDATA
#define SCCNTSTEP
#define SCPERIPHID0
#define SCPERIPHID1
#define SCPERIPHID2
#define SCPERIPHID3
#define SCPCELLID0
#define SCPCELLID1
#define SCPCELLID2
#define SCPCELLID3

#define SCCTRL_TIMERENnSEL_SHIFT(n)

static inline void sysctl_soft_reset(void __iomem *base)
{}

#endif /* __AMBA_SP810_H */