Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx G/C
details: https://anonhg.NetBSD.org/src/rev/f26fe9e65e23
branches: trunk
changeset: 1017405:f26fe9e65e23
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 26 22:28:35 2020 +0000
description:
G/C
diffstat:
sys/arch/arm/imx/imx7_ccmreg.h | 5261 --------------------------------------
sys/arch/arm/imx/imx7_ccmvar.h | 159 -
sys/arch/arm/imx/imx7_gpcreg.h | 163 -
sys/arch/arm/imx/imx7_iomuxreg.h | 614 ----
sys/arch/arm/imx/imx7_ocotpreg.h | 112 -
sys/arch/arm/imx/imx7_srcreg.h | 77 -
sys/arch/arm/imx/imx7_usbreg.h | 108 -
sys/arch/arm/imx/imx7var.h | 140 -
8 files changed, 0 insertions(+), 6634 deletions(-)
diffs (truncated from 6666 to 300 lines):
diff -r 67e3514fd7ab -r f26fe9e65e23 sys/arch/arm/imx/imx7_ccmreg.h
--- a/sys/arch/arm/imx/imx7_ccmreg.h Sat Dec 26 22:15:37 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5261 +0,0 @@
-/* $NetBSD: imx7_ccmreg.h,v 1.2 2016/10/17 09:21:51 ryo Exp $ */
-
-/*
- * Copyright (c) 2015 Internet Initiative Japan, Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef _ARM_IMX_IMX7_CCMREG_H_
-#define _ARM_IMX_IMX7_CCMREG_H_
-
-#include <sys/cdefs.h>
-
-#ifndef IMX7_OSC_FREQ
-#define IMX7_OSC_FREQ (24 * 1000 * 1000) /* 24MHz */
-#endif
-#ifndef IMX7_OSC_LOW_FREQ
-#define IMX7_OSC_LOW_FREQ (32 * 1000) /* 32KHz */
-#endif
-
-#define IMX7_ENET_PLL_CLK (1 * 1000 * 1000 * 1000) /* 1GHz */
-#define IMX7_USB_PLL_CLK (480 * 1000 * 1000) /* 480MHz */
-
-/* Clock Control Module (AIPS1_CCM_BASE:0x30380000) */
-
-/* General Purpose Register */
-#define CCM_GPR0 0x00000000
-#define CCM_GPR0_SET 0x00000004
-#define CCM_GPR0_CLR 0x00000008
-#define CCM_GPR0_TOG 0x0000000c
-
-/* CCM PLL Control Register */
-#define CCM_PLL_CTRL0 0x00000800
-#define CCM_PLL_CTRL0_SET 0x00000804
-#define CCM_PLL_CTRL0_CLR 0x00000808
-#define CCM_PLL_CTRL0_TOG 0x0000080c
-#define CCM_PLL_CTRL1 0x00000810
-#define CCM_PLL_CTRL1_SET 0x00000814
-#define CCM_PLL_CTRL1_CLR 0x00000818
-#define CCM_PLL_CTRL1_TOG 0x0000081c
-#define CCM_PLL_CTRL2 0x00000820
-#define CCM_PLL_CTRL2_SET 0x00000824
-#define CCM_PLL_CTRL2_CLR 0x00000828
-#define CCM_PLL_CTRL2_TOG 0x0000082c
-#define CCM_PLL_CTRL3 0x00000830
-#define CCM_PLL_CTRL3_SET 0x00000834
-#define CCM_PLL_CTRL3_CLR 0x00000838
-#define CCM_PLL_CTRL3_TOG 0x0000083c
-#define CCM_PLL_CTRL4 0x00000840
-#define CCM_PLL_CTRL4_SET 0x00000844
-#define CCM_PLL_CTRL4_CLR 0x00000848
-#define CCM_PLL_CTRL4_TOG 0x0000084c
-#define CCM_PLL_CTRL5 0x00000850
-#define CCM_PLL_CTRL5_SET 0x00000854
-#define CCM_PLL_CTRL5_CLR 0x00000858
-#define CCM_PLL_CTRL5_TOG 0x0000085c
-#define CCM_PLL_CTRL6 0x00000860
-#define CCM_PLL_CTRL6_SET 0x00000864
-#define CCM_PLL_CTRL6_CLR 0x00000868
-#define CCM_PLL_CTRL6_TOG 0x0000086c
-#define CCM_PLL_CTRL7 0x00000870
-#define CCM_PLL_CTRL7_SET 0x00000874
-#define CCM_PLL_CTRL7_CLR 0x00000878
-#define CCM_PLL_CTRL7_TOG 0x0000087c
-#define CCM_PLL_CTRL8 0x00000880
-#define CCM_PLL_CTRL8_SET 0x00000884
-#define CCM_PLL_CTRL8_CLR 0x00000888
-#define CCM_PLL_CTRL8_TOG 0x0000088c
-#define CCM_PLL_CTRL9 0x00000890
-#define CCM_PLL_CTRL9_SET 0x00000894
-#define CCM_PLL_CTRL9_CLR 0x00000898
-#define CCM_PLL_CTRL9_TOG 0x0000089c
-#define CCM_PLL_CTRL10 0x000008a0
-#define CCM_PLL_CTRL10_SET 0x000008a4
-#define CCM_PLL_CTRL10_CLR 0x000008a8
-#define CCM_PLL_CTRL10_TOG 0x000008ac
-#define CCM_PLL_CTRL11 0x000008b0
-#define CCM_PLL_CTRL11_SET 0x000008b4
-#define CCM_PLL_CTRL11_CLR 0x000008b8
-#define CCM_PLL_CTRL11_TOG 0x000008bc
-#define CCM_PLL_CTRL12 0x000008c0
-#define CCM_PLL_CTRL12_SET 0x000008c4
-#define CCM_PLL_CTRL12_CLR 0x000008c8
-#define CCM_PLL_CTRL12_TOG 0x000008cc
-#define CCM_PLL_CTRL13 0x000008d0
-#define CCM_PLL_CTRL13_SET 0x000008d4
-#define CCM_PLL_CTRL13_CLR 0x000008d8
-#define CCM_PLL_CTRL13_TOG 0x000008dc
-#define CCM_PLL_CTRL14 0x000008e0
-#define CCM_PLL_CTRL14_SET 0x000008e4
-#define CCM_PLL_CTRL14_CLR 0x000008e8
-#define CCM_PLL_CTRL14_TOG 0x000008ec
-#define CCM_PLL_CTRL15 0x000008f0
-#define CCM_PLL_CTRL15_SET 0x000008f4
-#define CCM_PLL_CTRL15_CLR 0x000008f8
-#define CCM_PLL_CTRL15_TOG 0x000008fc
-#define CCM_PLL_CTRL16 0x00000900
-#define CCM_PLL_CTRL16_SET 0x00000904
-#define CCM_PLL_CTRL16_CLR 0x00000908
-#define CCM_PLL_CTRL16_TOG 0x0000090c
-#define CCM_PLL_CTRL17 0x00000910
-#define CCM_PLL_CTRL17_SET 0x00000914
-#define CCM_PLL_CTRL17_CLR 0x00000918
-#define CCM_PLL_CTRL17_TOG 0x0000091c
-#define CCM_PLL_CTRL18 0x00000920
-#define CCM_PLL_CTRL18_SET 0x00000924
-#define CCM_PLL_CTRL18_CLR 0x00000928
-#define CCM_PLL_CTRL18_TOG 0x0000092c
-#define CCM_PLL_CTRL19 0x00000930
-#define CCM_PLL_CTRL19_SET 0x00000934
-#define CCM_PLL_CTRL19_CLR 0x00000938
-#define CCM_PLL_CTRL19_TOG 0x0000093c
-#define CCM_PLL_CTRL20 0x00000940
-#define CCM_PLL_CTRL20_SET 0x00000944
-#define CCM_PLL_CTRL20_CLR 0x00000948
-#define CCM_PLL_CTRL20_TOG 0x0000094c
-#define CCM_PLL_CTRL21 0x00000950
-#define CCM_PLL_CTRL21_SET 0x00000954
-#define CCM_PLL_CTRL21_CLR 0x00000958
-#define CCM_PLL_CTRL21_TOG 0x0000095c
-#define CCM_PLL_CTRL22 0x00000960
-#define CCM_PLL_CTRL22_SET 0x00000964
-#define CCM_PLL_CTRL22_CLR 0x00000968
-#define CCM_PLL_CTRL22_TOG 0x0000096c
-#define CCM_PLL_CTRL23 0x00000970
-#define CCM_PLL_CTRL23_SET 0x00000974
-#define CCM_PLL_CTRL23_CLR 0x00000978
-#define CCM_PLL_CTRL23_TOG 0x0000097c
-#define CCM_PLL_CTRL24 0x00000980
-#define CCM_PLL_CTRL24_SET 0x00000984
-#define CCM_PLL_CTRL24_CLR 0x00000988
-#define CCM_PLL_CTRL24_TOG 0x0000098c
-#define CCM_PLL_CTRL25 0x00000990
-#define CCM_PLL_CTRL25_SET 0x00000994
-#define CCM_PLL_CTRL25_CLR 0x00000998
-#define CCM_PLL_CTRL25_TOG 0x0000099c
-#define CCM_PLL_CTRL26 0x000009a0
-#define CCM_PLL_CTRL26_SET 0x000009a4
-#define CCM_PLL_CTRL26_CLR 0x000009a8
-#define CCM_PLL_CTRL26_TOG 0x000009ac
-#define CCM_PLL_CTRL27 0x000009b0
-#define CCM_PLL_CTRL27_SET 0x000009b4
-#define CCM_PLL_CTRL27_CLR 0x000009b8
-#define CCM_PLL_CTRL27_TOG 0x000009bc
-#define CCM_PLL_CTRL28 0x000009c0
-#define CCM_PLL_CTRL28_SET 0x000009c4
-#define CCM_PLL_CTRL28_CLR 0x000009c8
-#define CCM_PLL_CTRL28_TOG 0x000009cc
-#define CCM_PLL_CTRL29 0x000009d0
-#define CCM_PLL_CTRL29_SET 0x000009d4
-#define CCM_PLL_CTRL29_CLR 0x000009d8
-#define CCM_PLL_CTRL29_TOG 0x000009dc
-#define CCM_PLL_CTRL30 0x000009e0
-#define CCM_PLL_CTRL30_SET 0x000009e4
-#define CCM_PLL_CTRL30_CLR 0x000009e8
-#define CCM_PLL_CTRL30_TOG 0x000009ec
-#define CCM_PLL_CTRL31 0x000009f0
-#define CCM_PLL_CTRL31_SET 0x000009f4
-#define CCM_PLL_CTRL31_CLR 0x000009f8
-#define CCM_PLL_CTRL31_TOG 0x000009fc
-#define CCM_PLL_CTRL32 0x00000a00
-#define CCM_PLL_CTRL32_SET 0x00000a04
-#define CCM_PLL_CTRL32_CLR 0x00000a08
-#define CCM_PLL_CTRL32_TOG 0x00000a0c
-
-/* Clock Control Gating Register */
-#define CCM_CCGR0 0x00004000
-#define CCM_CCGR0_SET 0x00004004
-#define CCM_CCGR0_CLR 0x00004008
-#define CCM_CCGR0_TOG 0x0000400c
-#define CCM_CCGR_SETTING0 __BITS(1, 0)
-#define CCM_CCGR_SETTING1 __BITS(5, 4)
-#define CCM_CCGR_SETTING2 __BITS(9, 8)
-#define CCM_CCGR_SETTING3 __BITS(13, 12)
-#define CCM_CCGR_MASK (CCM_CCGR_SETTING0| \
- CCM_CCGR_SETTING1| \
- CCM_CCGR_SETTING2| \
- CCM_CCGR_SETTING3)
-#define CCM_CCGR_DOMAIN0_ALL __SHIFTIN(3, CCM_CCGR_SETTING0)
-#define CCM_CCGR_DOMAIN1_ALL __SHIFTIN(3, CCM_CCGR_SETTING1)
-#define CCM_CCGR_DOMAIN2_ALL __SHIFTIN(3, CCM_CCGR_SETTING2)
-#define CCM_CCGR_DOMAIN3_ALL __SHIFTIN(3, CCM_CCGR_SETTING3)
-#define CCM_CCGR_DOMAIN0_RUNWAIT __SHIFTIN(2, CCM_CCGR_SETTING0)
-#define CCM_CCGR_DOMAIN1_RUNWAIT __SHIFTIN(2, CCM_CCGR_SETTING1)
-#define CCM_CCGR_DOMAIN2_RUNWAIT __SHIFTIN(2, CCM_CCGR_SETTING2)
-#define CCM_CCGR_DOMAIN3_RUNWAIT __SHIFTIN(2, CCM_CCGR_SETTING3)
-#define CCM_CCGR_DOMAIN0_RUN __SHIFTIN(1, CCM_CCGR_SETTING0)
-#define CCM_CCGR_DOMAIN1_RUN __SHIFTIN(1, CCM_CCGR_SETTING1)
-#define CCM_CCGR_DOMAIN2_RUN __SHIFTIN(1, CCM_CCGR_SETTING2)
-#define CCM_CCGR_DOMAIN3_RUN __SHIFTIN(1, CCM_CCGR_SETTING3)
-#define CCM_CCGR_DOMAIN0_NOTNEED __SHIFTIN(0, CCM_CCGR_SETTING0)
-#define CCM_CCGR_DOMAIN1_NOTNEED __SHIFTIN(0, CCM_CCGR_SETTING1)
-#define CCM_CCGR_DOMAIN2_NOTNEED __SHIFTIN(0, CCM_CCGR_SETTING2)
-#define CCM_CCGR_DOMAIN3_NOTNEED __SHIFTIN(0, CCM_CCGR_SETTING3)
-#define CCM_CCGR1 0x00004010
-#define CCM_CCGR1_SET 0x00004014
-#define CCM_CCGR1_CLR 0x00004018
-#define CCM_CCGR1_TOG 0x0000401c
-#define CCM_CCGR2 0x00004020
-#define CCM_CCGR2_SET 0x00004024
-#define CCM_CCGR2_CLR 0x00004028
-#define CCM_CCGR2_TOG 0x0000402c
-#define CCM_CCGR3 0x00004030
-#define CCM_CCGR3_SET 0x00004034
-#define CCM_CCGR3_CLR 0x00004038
-#define CCM_CCGR3_TOG 0x0000403c
-#define CCM_CCGR4 0x00004040
-#define CCM_CCGR4_SET 0x00004044
-#define CCM_CCGR4_CLR 0x00004048
-#define CCM_CCGR4_TOG 0x0000404c
-#define CCM_CCGR5 0x00004050
-#define CCM_CCGR5_SET 0x00004054
-#define CCM_CCGR5_CLR 0x00004058
-#define CCM_CCGR5_TOG 0x0000405c
-#define CCM_CCGR6 0x00004060
-#define CCM_CCGR6_SET 0x00004064
-#define CCM_CCGR6_CLR 0x00004068
-#define CCM_CCGR6_TOG 0x0000406c
-#define CCM_CCGR7 0x00004070
-#define CCM_CCGR7_SET 0x00004074
-#define CCM_CCGR7_CLR 0x00004078
-#define CCM_CCGR7_TOG 0x0000407c
-#define CCM_CCGR8 0x00004080
-#define CCM_CCGR8_SET 0x00004084
-#define CCM_CCGR8_CLR 0x00004088
-#define CCM_CCGR8_TOG 0x0000408c
-#define CCM_CCGR9 0x00004090
-#define CCM_CCGR9_SET 0x00004094
-#define CCM_CCGR9_CLR 0x00004098
-#define CCM_CCGR9_TOG 0x0000409c
-#define CCM_CCGR10 0x000040a0
-#define CCM_CCGR10_SET 0x000040a4
-#define CCM_CCGR10_CLR 0x000040a8
-#define CCM_CCGR10_TOG 0x000040ac
-#define CCM_CCGR11 0x000040b0
-#define CCM_CCGR11_SET 0x000040b4
-#define CCM_CCGR11_CLR 0x000040b8
-#define CCM_CCGR11_TOG 0x000040bc
-#define CCM_CCGR12 0x000040c0
-#define CCM_CCGR12_SET 0x000040c4
-#define CCM_CCGR12_CLR 0x000040c8
-#define CCM_CCGR12_TOG 0x000040cc
-#define CCM_CCGR13 0x000040d0
-#define CCM_CCGR13_SET 0x000040d4
-#define CCM_CCGR13_CLR 0x000040d8
-#define CCM_CCGR13_TOG 0x000040dc
-#define CCM_CCGR14 0x000040e0
-#define CCM_CCGR14_SET 0x000040e4
-#define CCM_CCGR14_CLR 0x000040e8
-#define CCM_CCGR14_TOG 0x000040ec
-#define CCM_CCGR15 0x000040f0
-#define CCM_CCGR15_SET 0x000040f4
-#define CCM_CCGR15_CLR 0x000040f8
-#define CCM_CCGR15_TOG 0x000040fc
-#define CCM_CCGR16 0x00004100
-#define CCM_CCGR16_SET 0x00004104
-#define CCM_CCGR16_CLR 0x00004108
-#define CCM_CCGR16_TOG 0x0000410c
-#define CCM_CCGR17 0x00004110
-#define CCM_CCGR17_SET 0x00004114
-#define CCM_CCGR17_CLR 0x00004118
-#define CCM_CCGR17_TOG 0x0000411c
-#define CCM_CCGR18 0x00004120
-#define CCM_CCGR18_SET 0x00004124
-#define CCM_CCGR18_CLR 0x00004128
-#define CCM_CCGR18_TOG 0x0000412c
-#define CCM_CCGR19 0x00004130
-#define CCM_CCGR19_SET 0x00004134
-#define CCM_CCGR19_CLR 0x00004138
-#define CCM_CCGR19_TOG 0x0000413c
-#define CCM_CCGR20 0x00004140
-#define CCM_CCGR20_SET 0x00004144
-#define CCM_CCGR20_CLR 0x00004148
-#define CCM_CCGR20_TOG 0x0000414c
-#define CCM_CCGR21 0x00004150
-#define CCM_CCGR21_SET 0x00004154
Home |
Main Index |
Thread Index |
Old Index