am335x_scm.h revision 251016
12061Sjkh/*-
250479Speter * Copyright (c) 2012 Oleksandr Tymoshenko <gonzo@freebsd.org>
32061Sjkh * All rights reserved.
438666Sjb *
532427Sjb * Redistribution and use in source and binary forms, with or without
6111131Sru * modification, are permitted provided that the following conditions
7111131Sru * are met:
838666Sjb * 1. Redistributions of source code must retain the above copyright
938666Sjb *    notice, this list of conditions and the following disclaimer.
1038666Sjb * 2. Redistributions in binary form must reproduce the above copyright
1138666Sjb *    notice, this list of conditions and the following disclaimer in the
1264049Salex *    documentation and/or other materials provided with the distribution.
1364049Salex *
14116679Ssimokawa * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1566071Smarkm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16116679Ssimokawa * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1773504Sobrien * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1838666Sjb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1932427Sjb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2038666Sjb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21108451Sschweikh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2238666Sjb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2338666Sjb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2438666Sjb * SUCH DAMAGE.
2538666Sjb *
2617308Speter * $FreeBSD: head/sys/arm/ti/am335x/am335x_scm.h 251016 2013-05-27 00:09:04Z gonzo $
2791606Skeramida */
2819175Sbde#ifndef __AM335X_SCM_H__
2996205Sjwd#define __AM335X_SCM_H__
3096205Sjwd
3138042Sbde/* AM335x-specific registers for control module (scm) */
3296205Sjwd#define	SCM_USB_CTRL0	0x620
3396205Sjwd#define	SCM_USB_STS0	0x624
3438042Sbde#define	SCM_USB_CTRL1	0x628
3596205Sjwd#define	SCM_USB_STS1	0x62C
3696205Sjwd#define	SCM_PWMSS_CTRL	0x664
3717308Speter
3896205Sjwd#endif /* __AM335X_SCM_H__ */
3996205Sjwd