Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/allwinner/clkng/aw_ccung.h
- This file was copied to sys/arm/allwinner/clkng/ccu_a83t.h.
Show All 23 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef __CCU_NG_H__ | #ifndef __CCU_NG_H__ | ||||
#define __CCU_NG_H__ | #define __CCU_NG_H__ | ||||
#ifdef __aarch64__ | |||||
#include "opt_soc.h" | |||||
#endif | |||||
#if defined(SOC_ALLWINNER_H3) || defined(SOC_ALLWINNER_H5) | |||||
#define H3_CCU 1 | |||||
#define H3_R_CCU 2 | |||||
#endif | |||||
#if defined(SOC_ALLWINNER_A31) | |||||
#define A31_CCU 3 | |||||
#endif | |||||
#if defined(SOC_ALLWINNER_A64) | |||||
#define A64_CCU 4 | |||||
#define A64_R_CCU 5 | |||||
#endif | |||||
#if defined(SOC_ALLWINNER_A83T) | |||||
#define A83T_CCU 6 | |||||
#define A83T_R_CCU 7 | |||||
#endif | |||||
struct aw_ccung_softc { | struct aw_ccung_softc { | ||||
device_t dev; | device_t dev; | ||||
struct resource *res; | struct resource *res; | ||||
struct clkdom *clkdom; | struct clkdom *clkdom; | ||||
struct mtx mtx; | struct mtx mtx; | ||||
int type; | int type; | ||||
struct aw_ccung_reset *resets; | struct aw_ccung_reset *resets; | ||||
int nresets; | int nresets; | ||||
Show All 20 Lines |