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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/dt-bindings/clock/hi3559av100-clock.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/dt-bindings/clock/hi3559av100-clock.h (Architecture i386) and /scripts/dtc/include-prefixes/dt-bindings/clock/hi3559av100-clock.h (Architecture sparc)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later O      1 /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
  2 /*                                                  2 /*
  3  * Copyright (c) 2019-2020, Huawei Tech. Co.,       3  * Copyright (c) 2019-2020, Huawei Tech. Co., Ltd.
  4  *                                                  4  *
  5  * Author: Dongjiu Geng <gengdongjiu@huawei.co      5  * Author: Dongjiu Geng <gengdongjiu@huawei.com>
  6  */                                                 6  */
  7                                                     7 
  8 #ifndef __DTS_HI3559AV100_CLOCK_H                   8 #ifndef __DTS_HI3559AV100_CLOCK_H
  9 #define __DTS_HI3559AV100_CLOCK_H                   9 #define __DTS_HI3559AV100_CLOCK_H
 10                                                    10 
 11 /*  fixed   rate    */                             11 /*  fixed   rate    */
 12 #define HI3559AV100_FIXED_1188M     1              12 #define HI3559AV100_FIXED_1188M     1
 13 #define HI3559AV100_FIXED_1000M     2              13 #define HI3559AV100_FIXED_1000M     2
 14 #define HI3559AV100_FIXED_842M      3              14 #define HI3559AV100_FIXED_842M      3
 15 #define HI3559AV100_FIXED_792M      4              15 #define HI3559AV100_FIXED_792M      4
 16 #define HI3559AV100_FIXED_750M      5              16 #define HI3559AV100_FIXED_750M      5
 17 #define HI3559AV100_FIXED_710M      6              17 #define HI3559AV100_FIXED_710M      6
 18 #define HI3559AV100_FIXED_680M      7              18 #define HI3559AV100_FIXED_680M      7
 19 #define HI3559AV100_FIXED_667M      8              19 #define HI3559AV100_FIXED_667M      8
 20 #define HI3559AV100_FIXED_631M      9              20 #define HI3559AV100_FIXED_631M      9
 21 #define HI3559AV100_FIXED_600M      10             21 #define HI3559AV100_FIXED_600M      10
 22 #define HI3559AV100_FIXED_568M      11             22 #define HI3559AV100_FIXED_568M      11
 23 #define HI3559AV100_FIXED_500M      12             23 #define HI3559AV100_FIXED_500M      12
 24 #define HI3559AV100_FIXED_475M      13             24 #define HI3559AV100_FIXED_475M      13
 25 #define HI3559AV100_FIXED_428M      14             25 #define HI3559AV100_FIXED_428M      14
 26 #define HI3559AV100_FIXED_400M      15             26 #define HI3559AV100_FIXED_400M      15
 27 #define HI3559AV100_FIXED_396M      16             27 #define HI3559AV100_FIXED_396M      16
 28 #define HI3559AV100_FIXED_300M      17             28 #define HI3559AV100_FIXED_300M      17
 29 #define HI3559AV100_FIXED_250M      18             29 #define HI3559AV100_FIXED_250M      18
 30 #define HI3559AV100_FIXED_198M      19             30 #define HI3559AV100_FIXED_198M      19
 31 #define HI3559AV100_FIXED_187p5M    20             31 #define HI3559AV100_FIXED_187p5M    20
 32 #define HI3559AV100_FIXED_150M      21             32 #define HI3559AV100_FIXED_150M      21
 33 #define HI3559AV100_FIXED_148p5M    22             33 #define HI3559AV100_FIXED_148p5M    22
 34 #define HI3559AV100_FIXED_125M      23             34 #define HI3559AV100_FIXED_125M      23
 35 #define HI3559AV100_FIXED_107M      24             35 #define HI3559AV100_FIXED_107M      24
 36 #define HI3559AV100_FIXED_100M      25             36 #define HI3559AV100_FIXED_100M      25
 37 #define HI3559AV100_FIXED_99M       26             37 #define HI3559AV100_FIXED_99M       26
 38 #define HI3559AV100_FIXED_74p25M    27             38 #define HI3559AV100_FIXED_74p25M    27
 39 #define HI3559AV100_FIXED_72M       28             39 #define HI3559AV100_FIXED_72M       28
 40 #define HI3559AV100_FIXED_60M       29             40 #define HI3559AV100_FIXED_60M       29
 41 #define HI3559AV100_FIXED_54M       30             41 #define HI3559AV100_FIXED_54M       30
 42 #define HI3559AV100_FIXED_50M       31             42 #define HI3559AV100_FIXED_50M       31
 43 #define HI3559AV100_FIXED_49p5M     32             43 #define HI3559AV100_FIXED_49p5M     32
 44 #define HI3559AV100_FIXED_37p125M   33             44 #define HI3559AV100_FIXED_37p125M   33
 45 #define HI3559AV100_FIXED_36M       34             45 #define HI3559AV100_FIXED_36M       34
 46 #define HI3559AV100_FIXED_32p4M     35             46 #define HI3559AV100_FIXED_32p4M     35
 47 #define HI3559AV100_FIXED_27M       36             47 #define HI3559AV100_FIXED_27M       36
 48 #define HI3559AV100_FIXED_25M       37             48 #define HI3559AV100_FIXED_25M       37
 49 #define HI3559AV100_FIXED_24M       38             49 #define HI3559AV100_FIXED_24M       38
 50 #define HI3559AV100_FIXED_12M       39             50 #define HI3559AV100_FIXED_12M       39
 51 #define HI3559AV100_FIXED_3M        40             51 #define HI3559AV100_FIXED_3M        40
 52 #define HI3559AV100_FIXED_1p6M      41             52 #define HI3559AV100_FIXED_1p6M      41
 53 #define HI3559AV100_FIXED_400K      42             53 #define HI3559AV100_FIXED_400K      42
 54 #define HI3559AV100_FIXED_100K      43             54 #define HI3559AV100_FIXED_100K      43
 55 #define HI3559AV100_FIXED_200M      44             55 #define HI3559AV100_FIXED_200M      44
 56 #define HI3559AV100_FIXED_75M       75             56 #define HI3559AV100_FIXED_75M       75
 57                                                    57 
 58 #define HI3559AV100_I2C0_CLK    50                 58 #define HI3559AV100_I2C0_CLK    50
 59 #define HI3559AV100_I2C1_CLK    51                 59 #define HI3559AV100_I2C1_CLK    51
 60 #define HI3559AV100_I2C2_CLK    52                 60 #define HI3559AV100_I2C2_CLK    52
 61 #define HI3559AV100_I2C3_CLK    53                 61 #define HI3559AV100_I2C3_CLK    53
 62 #define HI3559AV100_I2C4_CLK    54                 62 #define HI3559AV100_I2C4_CLK    54
 63 #define HI3559AV100_I2C5_CLK    55                 63 #define HI3559AV100_I2C5_CLK    55
 64 #define HI3559AV100_I2C6_CLK    56                 64 #define HI3559AV100_I2C6_CLK    56
 65 #define HI3559AV100_I2C7_CLK    57                 65 #define HI3559AV100_I2C7_CLK    57
 66 #define HI3559AV100_I2C8_CLK    58                 66 #define HI3559AV100_I2C8_CLK    58
 67 #define HI3559AV100_I2C9_CLK    59                 67 #define HI3559AV100_I2C9_CLK    59
 68 #define HI3559AV100_I2C10_CLK   60                 68 #define HI3559AV100_I2C10_CLK   60
 69 #define HI3559AV100_I2C11_CLK   61                 69 #define HI3559AV100_I2C11_CLK   61
 70                                                    70 
 71 #define HI3559AV100_SPI0_CLK    62                 71 #define HI3559AV100_SPI0_CLK    62
 72 #define HI3559AV100_SPI1_CLK    63                 72 #define HI3559AV100_SPI1_CLK    63
 73 #define HI3559AV100_SPI2_CLK    64                 73 #define HI3559AV100_SPI2_CLK    64
 74 #define HI3559AV100_SPI3_CLK    65                 74 #define HI3559AV100_SPI3_CLK    65
 75 #define HI3559AV100_SPI4_CLK    66                 75 #define HI3559AV100_SPI4_CLK    66
 76 #define HI3559AV100_SPI5_CLK    67                 76 #define HI3559AV100_SPI5_CLK    67
 77 #define HI3559AV100_SPI6_CLK    68                 77 #define HI3559AV100_SPI6_CLK    68
 78                                                    78 
 79 #define HI3559AV100_EDMAC_CLK     69               79 #define HI3559AV100_EDMAC_CLK     69
 80 #define HI3559AV100_EDMAC_AXICLK  70               80 #define HI3559AV100_EDMAC_AXICLK  70
 81 #define HI3559AV100_EDMAC1_CLK    71               81 #define HI3559AV100_EDMAC1_CLK    71
 82 #define HI3559AV100_EDMAC1_AXICLK 72               82 #define HI3559AV100_EDMAC1_AXICLK 72
 83 #define HI3559AV100_VDMAC_CLK     73               83 #define HI3559AV100_VDMAC_CLK     73
 84                                                    84 
 85 /*  mux clocks  */                                 85 /*  mux clocks  */
 86 #define HI3559AV100_FMC_MUX     80                 86 #define HI3559AV100_FMC_MUX     80
 87 #define HI3559AV100_SYSAPB_MUX  81                 87 #define HI3559AV100_SYSAPB_MUX  81
 88 #define HI3559AV100_UART_MUX    82                 88 #define HI3559AV100_UART_MUX    82
 89 #define HI3559AV100_SYSBUS_MUX  83                 89 #define HI3559AV100_SYSBUS_MUX  83
 90 #define HI3559AV100_A73_MUX     84                 90 #define HI3559AV100_A73_MUX     84
 91 #define HI3559AV100_MMC0_MUX    85                 91 #define HI3559AV100_MMC0_MUX    85
 92 #define HI3559AV100_MMC1_MUX    86                 92 #define HI3559AV100_MMC1_MUX    86
 93 #define HI3559AV100_MMC2_MUX    87                 93 #define HI3559AV100_MMC2_MUX    87
 94 #define HI3559AV100_MMC3_MUX    88                 94 #define HI3559AV100_MMC3_MUX    88
 95                                                    95 
 96 /*  gate    clocks  */                             96 /*  gate    clocks  */
 97 #define HI3559AV100_FMC_CLK     90                 97 #define HI3559AV100_FMC_CLK     90
 98 #define HI3559AV100_UART0_CLK   91                 98 #define HI3559AV100_UART0_CLK   91
 99 #define HI3559AV100_UART1_CLK   92                 99 #define HI3559AV100_UART1_CLK   92
100 #define HI3559AV100_UART2_CLK   93                100 #define HI3559AV100_UART2_CLK   93
101 #define HI3559AV100_UART3_CLK   94                101 #define HI3559AV100_UART3_CLK   94
102 #define HI3559AV100_UART4_CLK   95                102 #define HI3559AV100_UART4_CLK   95
103 #define HI3559AV100_MMC0_CLK    96                103 #define HI3559AV100_MMC0_CLK    96
104 #define HI3559AV100_MMC1_CLK    97                104 #define HI3559AV100_MMC1_CLK    97
105 #define HI3559AV100_MMC2_CLK    98                105 #define HI3559AV100_MMC2_CLK    98
106 #define HI3559AV100_MMC3_CLK    99                106 #define HI3559AV100_MMC3_CLK    99
107                                                   107 
108 #define HI3559AV100_ETH_CLK         100           108 #define HI3559AV100_ETH_CLK         100
109 #define HI3559AV100_ETH_MACIF_CLK   101           109 #define HI3559AV100_ETH_MACIF_CLK   101
110 #define HI3559AV100_ETH1_CLK        102           110 #define HI3559AV100_ETH1_CLK        102
111 #define HI3559AV100_ETH1_MACIF_CLK  103           111 #define HI3559AV100_ETH1_MACIF_CLK  103
112                                                   112 
113 /*  complex */                                    113 /*  complex */
114 #define HI3559AV100_MAC0_CLK                11    114 #define HI3559AV100_MAC0_CLK                110
115 #define HI3559AV100_MAC1_CLK                11    115 #define HI3559AV100_MAC1_CLK                111
116 #define HI3559AV100_SATA_CLK                11    116 #define HI3559AV100_SATA_CLK                112
117 #define HI3559AV100_USB_CLK                 11    117 #define HI3559AV100_USB_CLK                 113
118 #define HI3559AV100_USB1_CLK                11    118 #define HI3559AV100_USB1_CLK                114
119                                                   119 
120 /* pll clocks */                                  120 /* pll clocks */
121 #define HI3559AV100_APLL_CLK                25    121 #define HI3559AV100_APLL_CLK                250
122 #define HI3559AV100_GPLL_CLK                25    122 #define HI3559AV100_GPLL_CLK                251
123                                                   123 
124 #define HI3559AV100_CRG_NR_CLKS             25    124 #define HI3559AV100_CRG_NR_CLKS             256
125                                                   125 
126 #define HI3559AV100_SHUB_SOURCE_SOC_24M     0     126 #define HI3559AV100_SHUB_SOURCE_SOC_24M     0
127 #define HI3559AV100_SHUB_SOURCE_SOC_200M    1     127 #define HI3559AV100_SHUB_SOURCE_SOC_200M    1
128 #define HI3559AV100_SHUB_SOURCE_SOC_300M    2     128 #define HI3559AV100_SHUB_SOURCE_SOC_300M    2
129 #define HI3559AV100_SHUB_SOURCE_PLL         3     129 #define HI3559AV100_SHUB_SOURCE_PLL         3
130 #define HI3559AV100_SHUB_SOURCE_CLK         4     130 #define HI3559AV100_SHUB_SOURCE_CLK         4
131                                                   131 
132 #define HI3559AV100_SHUB_I2C0_CLK           10    132 #define HI3559AV100_SHUB_I2C0_CLK           10
133 #define HI3559AV100_SHUB_I2C1_CLK           11    133 #define HI3559AV100_SHUB_I2C1_CLK           11
134 #define HI3559AV100_SHUB_I2C2_CLK           12    134 #define HI3559AV100_SHUB_I2C2_CLK           12
135 #define HI3559AV100_SHUB_I2C3_CLK           13    135 #define HI3559AV100_SHUB_I2C3_CLK           13
136 #define HI3559AV100_SHUB_I2C4_CLK           14    136 #define HI3559AV100_SHUB_I2C4_CLK           14
137 #define HI3559AV100_SHUB_I2C5_CLK           15    137 #define HI3559AV100_SHUB_I2C5_CLK           15
138 #define HI3559AV100_SHUB_I2C6_CLK           16    138 #define HI3559AV100_SHUB_I2C6_CLK           16
139 #define HI3559AV100_SHUB_I2C7_CLK           17    139 #define HI3559AV100_SHUB_I2C7_CLK           17
140                                                   140 
141 #define HI3559AV100_SHUB_SPI_SOURCE_CLK     20    141 #define HI3559AV100_SHUB_SPI_SOURCE_CLK     20
142 #define HI3559AV100_SHUB_SPI4_SOURCE_CLK    21    142 #define HI3559AV100_SHUB_SPI4_SOURCE_CLK    21
143 #define HI3559AV100_SHUB_SPI0_CLK           22    143 #define HI3559AV100_SHUB_SPI0_CLK           22
144 #define HI3559AV100_SHUB_SPI1_CLK           23    144 #define HI3559AV100_SHUB_SPI1_CLK           23
145 #define HI3559AV100_SHUB_SPI2_CLK           24    145 #define HI3559AV100_SHUB_SPI2_CLK           24
146 #define HI3559AV100_SHUB_SPI3_CLK           25    146 #define HI3559AV100_SHUB_SPI3_CLK           25
147 #define HI3559AV100_SHUB_SPI4_CLK           26    147 #define HI3559AV100_SHUB_SPI4_CLK           26
148                                                   148 
149 #define HI3559AV100_SHUB_UART_CLK_32K       30    149 #define HI3559AV100_SHUB_UART_CLK_32K       30
150 #define HI3559AV100_SHUB_UART_SOURCE_CLK    31    150 #define HI3559AV100_SHUB_UART_SOURCE_CLK    31
151 #define HI3559AV100_SHUB_UART_DIV_CLK       32    151 #define HI3559AV100_SHUB_UART_DIV_CLK       32
152 #define HI3559AV100_SHUB_UART0_CLK          33    152 #define HI3559AV100_SHUB_UART0_CLK          33
153 #define HI3559AV100_SHUB_UART1_CLK          34    153 #define HI3559AV100_SHUB_UART1_CLK          34
154 #define HI3559AV100_SHUB_UART2_CLK          35    154 #define HI3559AV100_SHUB_UART2_CLK          35
155 #define HI3559AV100_SHUB_UART3_CLK          36    155 #define HI3559AV100_SHUB_UART3_CLK          36
156 #define HI3559AV100_SHUB_UART4_CLK          37    156 #define HI3559AV100_SHUB_UART4_CLK          37
157 #define HI3559AV100_SHUB_UART5_CLK          38    157 #define HI3559AV100_SHUB_UART5_CLK          38
158 #define HI3559AV100_SHUB_UART6_CLK          39    158 #define HI3559AV100_SHUB_UART6_CLK          39
159                                                   159 
160 #define HI3559AV100_SHUB_EDMAC_CLK          40    160 #define HI3559AV100_SHUB_EDMAC_CLK          40
161                                                   161 
162 #define HI3559AV100_SHUB_NR_CLKS            50    162 #define HI3559AV100_SHUB_NR_CLKS            50
163                                                   163 
164 #endif  /* __DTS_HI3559AV100_CLOCK_H */           164 #endif  /* __DTS_HI3559AV100_CLOCK_H */
165                                                   165 
166                                                   166 

~ [ 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