~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/mfd/stm32f7-rcc.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/mfd/stm32f7-rcc.h (Version linux-6.11.5) and /include/dt-bindings/mfd/stm32f7-rcc.h (Version linux-4.12.14)


  1 /* SPDX-License-Identifier: GPL-2.0 */         << 
  2 /*                                                  1 /*
  3  * This header provides constants for the STM3      2  * This header provides constants for the STM32F7 RCC IP
  4  */                                                 3  */
  5                                                     4 
  6 #ifndef _DT_BINDINGS_MFD_STM32F7_RCC_H              5 #ifndef _DT_BINDINGS_MFD_STM32F7_RCC_H
  7 #define _DT_BINDINGS_MFD_STM32F7_RCC_H              6 #define _DT_BINDINGS_MFD_STM32F7_RCC_H
  8                                                     7 
  9 /* AHB1 */                                          8 /* AHB1 */
 10 #define STM32F7_RCC_AHB1_GPIOA          0           9 #define STM32F7_RCC_AHB1_GPIOA          0
 11 #define STM32F7_RCC_AHB1_GPIOB          1          10 #define STM32F7_RCC_AHB1_GPIOB          1
 12 #define STM32F7_RCC_AHB1_GPIOC          2          11 #define STM32F7_RCC_AHB1_GPIOC          2
 13 #define STM32F7_RCC_AHB1_GPIOD          3          12 #define STM32F7_RCC_AHB1_GPIOD          3
 14 #define STM32F7_RCC_AHB1_GPIOE          4          13 #define STM32F7_RCC_AHB1_GPIOE          4
 15 #define STM32F7_RCC_AHB1_GPIOF          5          14 #define STM32F7_RCC_AHB1_GPIOF          5
 16 #define STM32F7_RCC_AHB1_GPIOG          6          15 #define STM32F7_RCC_AHB1_GPIOG          6
 17 #define STM32F7_RCC_AHB1_GPIOH          7          16 #define STM32F7_RCC_AHB1_GPIOH          7
 18 #define STM32F7_RCC_AHB1_GPIOI          8          17 #define STM32F7_RCC_AHB1_GPIOI          8
 19 #define STM32F7_RCC_AHB1_GPIOJ          9          18 #define STM32F7_RCC_AHB1_GPIOJ          9
 20 #define STM32F7_RCC_AHB1_GPIOK          10         19 #define STM32F7_RCC_AHB1_GPIOK          10
 21 #define STM32F7_RCC_AHB1_CRC            12         20 #define STM32F7_RCC_AHB1_CRC            12
 22 #define STM32F7_RCC_AHB1_BKPSRAM        18         21 #define STM32F7_RCC_AHB1_BKPSRAM        18
 23 #define STM32F7_RCC_AHB1_DTCMRAM        20         22 #define STM32F7_RCC_AHB1_DTCMRAM        20
 24 #define STM32F7_RCC_AHB1_DMA1           21         23 #define STM32F7_RCC_AHB1_DMA1           21
 25 #define STM32F7_RCC_AHB1_DMA2           22         24 #define STM32F7_RCC_AHB1_DMA2           22
 26 #define STM32F7_RCC_AHB1_DMA2D          23         25 #define STM32F7_RCC_AHB1_DMA2D          23
 27 #define STM32F7_RCC_AHB1_ETHMAC         25         26 #define STM32F7_RCC_AHB1_ETHMAC         25
 28 #define STM32F7_RCC_AHB1_ETHMACTX       26         27 #define STM32F7_RCC_AHB1_ETHMACTX       26
 29 #define STM32F7_RCC_AHB1_ETHMACRX       27         28 #define STM32F7_RCC_AHB1_ETHMACRX       27
 30 #define STM32FF_RCC_AHB1_ETHMACPTP      28         29 #define STM32FF_RCC_AHB1_ETHMACPTP      28
 31 #define STM32F7_RCC_AHB1_OTGHS          29         30 #define STM32F7_RCC_AHB1_OTGHS          29
 32 #define STM32F7_RCC_AHB1_OTGHSULPI      30         31 #define STM32F7_RCC_AHB1_OTGHSULPI      30
 33                                                    32 
 34 #define STM32F7_AHB1_RESET(bit) (STM32F7_RCC_A     33 #define STM32F7_AHB1_RESET(bit) (STM32F7_RCC_AHB1_##bit + (0x10 * 8))
 35 #define STM32F7_AHB1_CLOCK(bit) (STM32F7_RCC_A     34 #define STM32F7_AHB1_CLOCK(bit) (STM32F7_RCC_AHB1_##bit)
 36                                                    35 
 37                                                    36 
 38 /* AHB2 */                                         37 /* AHB2 */
 39 #define STM32F7_RCC_AHB2_DCMI           0          38 #define STM32F7_RCC_AHB2_DCMI           0
 40 #define STM32F7_RCC_AHB2_CRYP           4          39 #define STM32F7_RCC_AHB2_CRYP           4
 41 #define STM32F7_RCC_AHB2_HASH           5          40 #define STM32F7_RCC_AHB2_HASH           5
 42 #define STM32F7_RCC_AHB2_RNG            6          41 #define STM32F7_RCC_AHB2_RNG            6
 43 #define STM32F7_RCC_AHB2_OTGFS          7          42 #define STM32F7_RCC_AHB2_OTGFS          7
 44                                                    43 
 45 #define STM32F7_AHB2_RESET(bit) (STM32F7_RCC_A     44 #define STM32F7_AHB2_RESET(bit) (STM32F7_RCC_AHB2_##bit + (0x14 * 8))
 46 #define STM32F7_AHB2_CLOCK(bit) (STM32F7_RCC_A     45 #define STM32F7_AHB2_CLOCK(bit) (STM32F7_RCC_AHB2_##bit + 0x20)
 47                                                    46 
 48 /* AHB3 */                                         47 /* AHB3 */
 49 #define STM32F7_RCC_AHB3_FMC            0          48 #define STM32F7_RCC_AHB3_FMC            0
 50 #define STM32F7_RCC_AHB3_QSPI           1          49 #define STM32F7_RCC_AHB3_QSPI           1
 51                                                    50 
 52 #define STM32F7_AHB3_RESET(bit) (STM32F7_RCC_A     51 #define STM32F7_AHB3_RESET(bit) (STM32F7_RCC_AHB3_##bit + (0x18 * 8))
 53 #define STM32F7_AHB3_CLOCK(bit) (STM32F7_RCC_A     52 #define STM32F7_AHB3_CLOCK(bit) (STM32F7_RCC_AHB3_##bit + 0x40)
 54                                                    53 
 55 /* APB1 */                                         54 /* APB1 */
 56 #define STM32F7_RCC_APB1_TIM2           0          55 #define STM32F7_RCC_APB1_TIM2           0
 57 #define STM32F7_RCC_APB1_TIM3           1          56 #define STM32F7_RCC_APB1_TIM3           1
 58 #define STM32F7_RCC_APB1_TIM4           2          57 #define STM32F7_RCC_APB1_TIM4           2
 59 #define STM32F7_RCC_APB1_TIM5           3          58 #define STM32F7_RCC_APB1_TIM5           3
 60 #define STM32F7_RCC_APB1_TIM6           4          59 #define STM32F7_RCC_APB1_TIM6           4
 61 #define STM32F7_RCC_APB1_TIM7           5          60 #define STM32F7_RCC_APB1_TIM7           5
 62 #define STM32F7_RCC_APB1_TIM12          6          61 #define STM32F7_RCC_APB1_TIM12          6
 63 #define STM32F7_RCC_APB1_TIM13          7          62 #define STM32F7_RCC_APB1_TIM13          7
 64 #define STM32F7_RCC_APB1_TIM14          8          63 #define STM32F7_RCC_APB1_TIM14          8
 65 #define STM32F7_RCC_APB1_LPTIM1         9          64 #define STM32F7_RCC_APB1_LPTIM1         9
 66 #define STM32F7_RCC_APB1_WWDG           11         65 #define STM32F7_RCC_APB1_WWDG           11
 67 #define STM32F7_RCC_APB1_CAN3           13     << 
 68 #define STM32F7_RCC_APB1_SPI2           14         66 #define STM32F7_RCC_APB1_SPI2           14
 69 #define STM32F7_RCC_APB1_SPI3           15         67 #define STM32F7_RCC_APB1_SPI3           15
 70 #define STM32F7_RCC_APB1_SPDIFRX        16         68 #define STM32F7_RCC_APB1_SPDIFRX        16
 71 #define STM32F7_RCC_APB1_UART2          17         69 #define STM32F7_RCC_APB1_UART2          17
 72 #define STM32F7_RCC_APB1_UART3          18         70 #define STM32F7_RCC_APB1_UART3          18
 73 #define STM32F7_RCC_APB1_UART4          19         71 #define STM32F7_RCC_APB1_UART4          19
 74 #define STM32F7_RCC_APB1_UART5          20         72 #define STM32F7_RCC_APB1_UART5          20
 75 #define STM32F7_RCC_APB1_I2C1           21         73 #define STM32F7_RCC_APB1_I2C1           21
 76 #define STM32F7_RCC_APB1_I2C2           22         74 #define STM32F7_RCC_APB1_I2C2           22
 77 #define STM32F7_RCC_APB1_I2C3           23         75 #define STM32F7_RCC_APB1_I2C3           23
 78 #define STM32F7_RCC_APB1_I2C4           24         76 #define STM32F7_RCC_APB1_I2C4           24
 79 #define STM32F7_RCC_APB1_CAN1           25         77 #define STM32F7_RCC_APB1_CAN1           25
 80 #define STM32F7_RCC_APB1_CAN2           26         78 #define STM32F7_RCC_APB1_CAN2           26
 81 #define STM32F7_RCC_APB1_CEC            27         79 #define STM32F7_RCC_APB1_CEC            27
 82 #define STM32F7_RCC_APB1_PWR            28         80 #define STM32F7_RCC_APB1_PWR            28
 83 #define STM32F7_RCC_APB1_DAC            29         81 #define STM32F7_RCC_APB1_DAC            29
 84 #define STM32F7_RCC_APB1_UART7          30         82 #define STM32F7_RCC_APB1_UART7          30
 85 #define STM32F7_RCC_APB1_UART8          31         83 #define STM32F7_RCC_APB1_UART8          31
 86                                                    84 
 87 #define STM32F7_APB1_RESET(bit) (STM32F7_RCC_A     85 #define STM32F7_APB1_RESET(bit) (STM32F7_RCC_APB1_##bit + (0x20 * 8))
 88 #define STM32F7_APB1_CLOCK(bit) (STM32F7_RCC_A     86 #define STM32F7_APB1_CLOCK(bit) (STM32F7_RCC_APB1_##bit + 0x80)
 89                                                    87 
 90 /* APB2 */                                         88 /* APB2 */
 91 #define STM32F7_RCC_APB2_TIM1           0          89 #define STM32F7_RCC_APB2_TIM1           0
 92 #define STM32F7_RCC_APB2_TIM8           1          90 #define STM32F7_RCC_APB2_TIM8           1
 93 #define STM32F7_RCC_APB2_USART1         4          91 #define STM32F7_RCC_APB2_USART1         4
 94 #define STM32F7_RCC_APB2_USART6         5          92 #define STM32F7_RCC_APB2_USART6         5
 95 #define STM32F7_RCC_APB2_SDMMC2         7      << 
 96 #define STM32F7_RCC_APB2_ADC1           8          93 #define STM32F7_RCC_APB2_ADC1           8
 97 #define STM32F7_RCC_APB2_ADC2           9          94 #define STM32F7_RCC_APB2_ADC2           9
 98 #define STM32F7_RCC_APB2_ADC3           10         95 #define STM32F7_RCC_APB2_ADC3           10
 99 #define STM32F7_RCC_APB2_SDMMC1         11         96 #define STM32F7_RCC_APB2_SDMMC1         11
100 #define STM32F7_RCC_APB2_SPI1           12         97 #define STM32F7_RCC_APB2_SPI1           12
101 #define STM32F7_RCC_APB2_SPI4           13         98 #define STM32F7_RCC_APB2_SPI4           13
102 #define STM32F7_RCC_APB2_SYSCFG         14         99 #define STM32F7_RCC_APB2_SYSCFG         14
103 #define STM32F7_RCC_APB2_TIM9           16        100 #define STM32F7_RCC_APB2_TIM9           16
104 #define STM32F7_RCC_APB2_TIM10          17        101 #define STM32F7_RCC_APB2_TIM10          17
105 #define STM32F7_RCC_APB2_TIM11          18        102 #define STM32F7_RCC_APB2_TIM11          18
106 #define STM32F7_RCC_APB2_SPI5           20        103 #define STM32F7_RCC_APB2_SPI5           20
107 #define STM32F7_RCC_APB2_SPI6           21        104 #define STM32F7_RCC_APB2_SPI6           21
108 #define STM32F7_RCC_APB2_SAI1           22        105 #define STM32F7_RCC_APB2_SAI1           22
109 #define STM32F7_RCC_APB2_SAI2           23        106 #define STM32F7_RCC_APB2_SAI2           23
110 #define STM32F7_RCC_APB2_LTDC           26        107 #define STM32F7_RCC_APB2_LTDC           26
111 #define STM32F7_RCC_APB2_DSI            27     << 
112                                                   108 
113 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_A    109 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8))
114 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_A    110 #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0)
115                                                   111 
116 #endif /* _DT_BINDINGS_MFD_STM32F7_RCC_H */       112 #endif /* _DT_BINDINGS_MFD_STM32F7_RCC_H */
117                                                   113 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php