1763c5bd0SIcenowy Zheng /* 2763c5bd0SIcenowy Zheng * Copyright 2016 Icenowy Zheng <icenowy@aosc.io> 3763c5bd0SIcenowy Zheng * 4763c5bd0SIcenowy Zheng * This program is free software; you can redistribute it and/or modify 5763c5bd0SIcenowy Zheng * it under the terms of the GNU General Public License as published by 6763c5bd0SIcenowy Zheng * the Free Software Foundation; either version 2 of the License, or 7763c5bd0SIcenowy Zheng * (at your option) any later version. 8763c5bd0SIcenowy Zheng * 9763c5bd0SIcenowy Zheng * This program is distributed in the hope that it will be useful, 10763c5bd0SIcenowy Zheng * but WITHOUT ANY WARRANTY; without even the implied warranty of 11763c5bd0SIcenowy Zheng * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12763c5bd0SIcenowy Zheng * GNU General Public License for more details. 13763c5bd0SIcenowy Zheng */ 14763c5bd0SIcenowy Zheng 15763c5bd0SIcenowy Zheng #ifndef _CCU_SUN8I_DE2_H_ 16763c5bd0SIcenowy Zheng #define _CCU_SUN8I_DE2_H_ 17763c5bd0SIcenowy Zheng 18763c5bd0SIcenowy Zheng #include <dt-bindings/clock/sun8i-de2.h> 19763c5bd0SIcenowy Zheng #include <dt-bindings/reset/sun8i-de2.h> 20763c5bd0SIcenowy Zheng 21763c5bd0SIcenowy Zheng /* Intermediary clock dividers are not exported */ 22763c5bd0SIcenowy Zheng #define CLK_MIXER0_DIV 3 23763c5bd0SIcenowy Zheng #define CLK_MIXER1_DIV 4 24763c5bd0SIcenowy Zheng #define CLK_WB_DIV 5 25763c5bd0SIcenowy Zheng 26763c5bd0SIcenowy Zheng #define CLK_NUMBER (CLK_WB + 1) 27763c5bd0SIcenowy Zheng 28763c5bd0SIcenowy Zheng #endif /* _CCU_SUN8I_DE2_H_ */ 29