a10_clk.h (256281) | a10_clk.h (266274) |
---|---|
1/*- 2 * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@gmail.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@gmail.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: stable/10/sys/arm/allwinner/a10_clk.h 246851 2013-02-15 21:29:03Z gonzo $ | 26 * $FreeBSD: stable/10/sys/arm/allwinner/a10_clk.h 266274 2014-05-16 23:27:18Z ian $ |
27 */ 28 29#ifndef _A10_CLK_H_ 30#define _A10_CLK_H_ 31 32#define CCMU_BASE 0xe1c20000 33 34#define CCM_PLL1_CFG 0x0000 --- 63 unchanged lines hidden (view full) --- 98#define CCM_ACE_CLK 0x0148 99#define CCM_LVDS_CLK 0x014c 100#define CCM_HDMI_CLK 0x0150 101#define CCM_MALI400_CLK 0x0154 102 103#define CCM_AHB_GATING_USB0 (1 << 0) 104#define CCM_AHB_GATING_EHCI0 (1 << 1) 105#define CCM_AHB_GATING_EHCI1 (1 << 3) | 27 */ 28 29#ifndef _A10_CLK_H_ 30#define _A10_CLK_H_ 31 32#define CCMU_BASE 0xe1c20000 33 34#define CCM_PLL1_CFG 0x0000 --- 63 unchanged lines hidden (view full) --- 98#define CCM_ACE_CLK 0x0148 99#define CCM_LVDS_CLK 0x014c 100#define CCM_HDMI_CLK 0x0150 101#define CCM_MALI400_CLK 0x0154 102 103#define CCM_AHB_GATING_USB0 (1 << 0) 104#define CCM_AHB_GATING_EHCI0 (1 << 1) 105#define CCM_AHB_GATING_EHCI1 (1 << 3) |
106#define CCM_AHB_GATING_EMAC (1 << 17) |
|
106 107#define CCM_USB_PHY (1 << 8) 108#define CCM_USB0_RESET (1 << 0) 109#define CCM_USB1_RESET (1 << 1) 110#define CCM_USB2_RESET (1 << 2) 111 112int a10_clk_usb_activate(void); 113int a10_clk_usb_deactivate(void); | 107 108#define CCM_USB_PHY (1 << 8) 109#define CCM_USB0_RESET (1 << 0) 110#define CCM_USB1_RESET (1 << 1) 111#define CCM_USB2_RESET (1 << 2) 112 113int a10_clk_usb_activate(void); 114int a10_clk_usb_deactivate(void); |
115int a10_clk_emac_activate(void); |
|
114 115#endif /* _A10_CLK_H_ */ | 116 117#endif /* _A10_CLK_H_ */ |