imx6_ccmreg.h revision 266207
1257453Sian/*- 2257453Sian * Copyright (c) 2013 Ian Lepore <ian@freebsd.org> 3257453Sian * All rights reserved. 4257453Sian * 5257453Sian * Redistribution and use in source and binary forms, with or without 6257453Sian * modification, are permitted provided that the following conditions 7257453Sian * are met: 8257453Sian * 1. Redistributions of source code must retain the above copyright 9257453Sian * notice, this list of conditions and the following disclaimer. 10257453Sian * 2. Redistributions in binary form must reproduce the above copyright 11257453Sian * notice, this list of conditions and the following disclaimer in the 12257453Sian * documentation and/or other materials provided with the distribution. 13257453Sian * 14257453Sian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15257453Sian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16257453Sian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17257453Sian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18257453Sian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19257453Sian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20257453Sian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21257453Sian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22257453Sian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23257453Sian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24257453Sian * SUCH DAMAGE. 25257453Sian * 26257453Sian * $FreeBSD: stable/10/sys/arm/freescale/imx/imx6_ccmreg.h 266207 2014-05-16 02:21:51Z ian $ 27257453Sian */ 28257453Sian 29257453Sian#ifndef IMX6_CCMREG_H 30257453Sian#define IMX6_CCMREG_H 31257453Sian 32266207Sian#define CCM_CLPCR 0x054 33266207Sian#define CCM_CLPCR_LPM_MASK 0x03 34266207Sian#define CCM_CLPCR_LPM_RUN 0x00 35266207Sian#define CCM_CLPCR_LPM_WAIT 0x01 36266207Sian#define CCM_CLPCR_LPM_STOP 0x02 37266207Sian#define CCM_CGPR 0x064 38266207Sian#define CCM_CGPR_INT_MEM_CLK_LPM (1 << 17) 39266207Sian#define CCM_CCGR1 0x06C 40266207Sian#define CCM_CCGR2 0x070 41266207Sian#define CCM_CCGR3 0x074 42266207Sian#define CCM_CCGR4 0x078 43266207Sian#define CCM_CCGR5 0x07C 44266207Sian#define CCM_CCGR6 0x080 45266207Sian#define CCM_CMEOR 0x088 46257453Sian 47257453Sian 48257453Sian#endif 49