mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
36 lines
652 B
C
36 lines
652 B
C
/*
|
|
* (C) Copyright 2009
|
|
* Ryan CHEN, ST Micoelectronics, ryan.chen@st.com
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __SYSCTRL_H
|
|
#define __SYSCTRL_H
|
|
|
|
struct syscntl_regs {
|
|
u32 scctrl;
|
|
u32 scsysstat;
|
|
u32 scimctrl;
|
|
u32 scimsysstat;
|
|
u32 scxtalctrl;
|
|
u32 scpllctrl;
|
|
u32 scpllfctrl;
|
|
u32 scperctrl0;
|
|
u32 scperctrl1;
|
|
u32 scperen;
|
|
u32 scperdis;
|
|
const u32 scperclken;
|
|
const u32 scperstat;
|
|
};
|
|
|
|
#define MODE_SHIFT 0x00000003
|
|
|
|
#define NORMAL 0x00000004
|
|
#define SLOW 0x00000002
|
|
#define DOZE 0x00000001
|
|
#define SLEEP 0x00000000
|
|
|
|
#define PLL_TIM 0x01FFFFFF
|
|
|
|
#endif
|