Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright 2016 Icenowy Zheng <icenowy@aosc.io>
0004  */
0005 
0006 #ifndef _CCU_SUN8I_DE2_H_
0007 #define _CCU_SUN8I_DE2_H_
0008 
0009 #include <dt-bindings/clock/sun8i-de2.h>
0010 #include <dt-bindings/reset/sun8i-de2.h>
0011 
0012 /* Intermediary clock dividers are not exported */
0013 #define CLK_MIXER0_DIV  3
0014 #define CLK_MIXER1_DIV  4
0015 #define CLK_WB_DIV  5
0016 #define CLK_ROT_DIV 11
0017 
0018 #define CLK_NUMBER_WITH_ROT (CLK_ROT_DIV + 1)
0019 #define CLK_NUMBER_WITHOUT_ROT  (CLK_WB + 1)
0020 
0021 #endif /* _CCU_SUN8I_DE2_H_ */