xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/samsung,s2mps11.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (C) 2015 Markus Reichl
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Device Tree binding constants clocks for the Samsung S2MPS11 PMIC.
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot /* Fixed rate clocks. */
12*c66ec88fSEmmanuel Vadot 
13*c66ec88fSEmmanuel Vadot #define S2MPS11_CLK_AP		0
14*c66ec88fSEmmanuel Vadot #define S2MPS11_CLK_CP		1
15*c66ec88fSEmmanuel Vadot #define S2MPS11_CLK_BT		2
16*c66ec88fSEmmanuel Vadot 
17*c66ec88fSEmmanuel Vadot /* Total number of clocks. */
18*c66ec88fSEmmanuel Vadot #define S2MPS11_CLKS_NUM		(S2MPS11_CLK_BT + 1)
19*c66ec88fSEmmanuel Vadot 
20*c66ec88fSEmmanuel Vadot #endif /* _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H */
21