Home | History | Annotate | Line # | Download | only in clock
      1      1.1  jmcneill /*	$NetBSD: stm32fx-clock.h,v 1.1.1.3 2020/01/03 14:33:05 skrll Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.3     skrll /* SPDX-License-Identifier: GPL-2.0-only */
      4      1.1  jmcneill /*
      5      1.1  jmcneill  * stm32fx-clock.h
      6      1.1  jmcneill  *
      7      1.1  jmcneill  * Copyright (C) 2016 STMicroelectronics
      8      1.1  jmcneill  * Author: Gabriel Fernandez for STMicroelectronics.
      9      1.1  jmcneill  */
     10      1.1  jmcneill 
     11      1.1  jmcneill /*
     12      1.1  jmcneill  * List of clocks wich are not derived from system clock (SYSCLOCK)
     13      1.1  jmcneill  *
     14      1.1  jmcneill  * The index of these clocks is the secondary index of DT bindings
     15      1.1  jmcneill  * (see Documentatoin/devicetree/bindings/clock/st,stm32-rcc.txt)
     16      1.1  jmcneill  *
     17      1.1  jmcneill  * e.g:
     18      1.1  jmcneill 	<assigned-clocks = <&rcc 1 CLK_LSE>;
     19      1.1  jmcneill */
     20      1.1  jmcneill 
     21      1.1  jmcneill #ifndef _DT_BINDINGS_CLK_STMFX_H
     22      1.1  jmcneill #define _DT_BINDINGS_CLK_STMFX_H
     23      1.1  jmcneill 
     24      1.1  jmcneill #define SYSTICK			0
     25      1.1  jmcneill #define FCLK			1
     26      1.1  jmcneill #define CLK_LSI			2
     27      1.1  jmcneill #define CLK_LSE			3
     28      1.1  jmcneill #define CLK_HSE_RTC		4
     29      1.1  jmcneill #define CLK_RTC			5
     30      1.1  jmcneill #define PLL_VCO_I2S		6
     31      1.1  jmcneill #define PLL_VCO_SAI		7
     32      1.1  jmcneill #define CLK_LCD			8
     33      1.1  jmcneill #define CLK_I2S			9
     34      1.1  jmcneill #define CLK_SAI1		10
     35      1.1  jmcneill #define CLK_SAI2		11
     36      1.1  jmcneill #define CLK_I2SQ_PDIV		12
     37      1.1  jmcneill #define CLK_SAIQ_PDIV		13
     38      1.1  jmcneill #define CLK_HSI			14
     39      1.1  jmcneill #define CLK_SYSCLK		15
     40  1.1.1.2  jmcneill #define CLK_F469_DSI		16
     41  1.1.1.2  jmcneill 
     42  1.1.1.2  jmcneill #define END_PRIMARY_CLK		17
     43  1.1.1.2  jmcneill 
     44      1.1  jmcneill #define CLK_HDMI_CEC		16
     45      1.1  jmcneill #define CLK_SPDIF		17
     46      1.1  jmcneill #define CLK_USART1		18
     47      1.1  jmcneill #define CLK_USART2		19
     48      1.1  jmcneill #define CLK_USART3		20
     49      1.1  jmcneill #define CLK_UART4		21
     50      1.1  jmcneill #define CLK_UART5		22
     51      1.1  jmcneill #define CLK_USART6		23
     52      1.1  jmcneill #define CLK_UART7		24
     53      1.1  jmcneill #define CLK_UART8		25
     54      1.1  jmcneill #define CLK_I2C1		26
     55      1.1  jmcneill #define CLK_I2C2		27
     56      1.1  jmcneill #define CLK_I2C3		28
     57      1.1  jmcneill #define CLK_I2C4		29
     58      1.1  jmcneill #define CLK_LPTIMER		30
     59  1.1.1.3     skrll #define CLK_PLL_SRC		31
     60  1.1.1.3     skrll #define CLK_DFSDM1		32
     61  1.1.1.3     skrll #define CLK_ADFSDM1		33
     62  1.1.1.3     skrll #define CLK_F769_DSI		34
     63  1.1.1.3     skrll #define END_PRIMARY_CLK_F7	35
     64      1.1  jmcneill 
     65      1.1  jmcneill #endif
     66