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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/dt-bindings/clock/sophgo,sg2042-clkgen.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/sophgo,sg2042-clkgen.h (Architecture i386) and /scripts/dtc/include-prefixes/dt-bindings/clock/sophgo,sg2042-clkgen.h (Architecture ppc)


  1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-C      1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
  2 /*                                                  2 /*
  3  * Copyright (C) 2023 Sophgo Technology Inc. A      3  * Copyright (C) 2023 Sophgo Technology Inc. All rights reserved.
  4  */                                                 4  */
  5                                                     5 
  6 #ifndef __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H__      6 #ifndef __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H__
  7 #define __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H__      7 #define __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H__
  8                                                     8 
  9 #define DIV_CLK_MPLL_RP_CPU_NORMAL_0    0           9 #define DIV_CLK_MPLL_RP_CPU_NORMAL_0    0
 10 #define DIV_CLK_MPLL_AXI_DDR_0          1          10 #define DIV_CLK_MPLL_AXI_DDR_0          1
 11 #define DIV_CLK_FPLL_DDR01_1            2          11 #define DIV_CLK_FPLL_DDR01_1            2
 12 #define DIV_CLK_FPLL_DDR23_1            3          12 #define DIV_CLK_FPLL_DDR23_1            3
 13 #define DIV_CLK_FPLL_RP_CPU_NORMAL_1    4          13 #define DIV_CLK_FPLL_RP_CPU_NORMAL_1    4
 14 #define DIV_CLK_FPLL_50M_A53            5          14 #define DIV_CLK_FPLL_50M_A53            5
 15 #define DIV_CLK_FPLL_TOP_RP_CMN_DIV2    6          15 #define DIV_CLK_FPLL_TOP_RP_CMN_DIV2    6
 16 #define DIV_CLK_FPLL_UART_500M          7          16 #define DIV_CLK_FPLL_UART_500M          7
 17 #define DIV_CLK_FPLL_AHB_LPC            8          17 #define DIV_CLK_FPLL_AHB_LPC            8
 18 #define DIV_CLK_FPLL_EFUSE              9          18 #define DIV_CLK_FPLL_EFUSE              9
 19 #define DIV_CLK_FPLL_TX_ETH0            10         19 #define DIV_CLK_FPLL_TX_ETH0            10
 20 #define DIV_CLK_FPLL_PTP_REF_I_ETH0     11         20 #define DIV_CLK_FPLL_PTP_REF_I_ETH0     11
 21 #define DIV_CLK_FPLL_REF_ETH0           12         21 #define DIV_CLK_FPLL_REF_ETH0           12
 22 #define DIV_CLK_FPLL_EMMC               13         22 #define DIV_CLK_FPLL_EMMC               13
 23 #define DIV_CLK_FPLL_SD                 14         23 #define DIV_CLK_FPLL_SD                 14
 24 #define DIV_CLK_FPLL_TOP_AXI0           15         24 #define DIV_CLK_FPLL_TOP_AXI0           15
 25 #define DIV_CLK_FPLL_TOP_AXI_HSPERI     16         25 #define DIV_CLK_FPLL_TOP_AXI_HSPERI     16
 26 #define DIV_CLK_FPLL_AXI_DDR_1          17         26 #define DIV_CLK_FPLL_AXI_DDR_1          17
 27 #define DIV_CLK_FPLL_DIV_TIMER1         18         27 #define DIV_CLK_FPLL_DIV_TIMER1         18
 28 #define DIV_CLK_FPLL_DIV_TIMER2         19         28 #define DIV_CLK_FPLL_DIV_TIMER2         19
 29 #define DIV_CLK_FPLL_DIV_TIMER3         20         29 #define DIV_CLK_FPLL_DIV_TIMER3         20
 30 #define DIV_CLK_FPLL_DIV_TIMER4         21         30 #define DIV_CLK_FPLL_DIV_TIMER4         21
 31 #define DIV_CLK_FPLL_DIV_TIMER5         22         31 #define DIV_CLK_FPLL_DIV_TIMER5         22
 32 #define DIV_CLK_FPLL_DIV_TIMER6         23         32 #define DIV_CLK_FPLL_DIV_TIMER6         23
 33 #define DIV_CLK_FPLL_DIV_TIMER7         24         33 #define DIV_CLK_FPLL_DIV_TIMER7         24
 34 #define DIV_CLK_FPLL_DIV_TIMER8         25         34 #define DIV_CLK_FPLL_DIV_TIMER8         25
 35 #define DIV_CLK_FPLL_100K_EMMC          26         35 #define DIV_CLK_FPLL_100K_EMMC          26
 36 #define DIV_CLK_FPLL_100K_SD            27         36 #define DIV_CLK_FPLL_100K_SD            27
 37 #define DIV_CLK_FPLL_GPIO_DB            28         37 #define DIV_CLK_FPLL_GPIO_DB            28
 38 #define DIV_CLK_DPLL0_DDR01_0           29         38 #define DIV_CLK_DPLL0_DDR01_0           29
 39 #define DIV_CLK_DPLL1_DDR23_0           30         39 #define DIV_CLK_DPLL1_DDR23_0           30
 40                                                    40 
 41 #define GATE_CLK_RP_CPU_NORMAL_DIV0     31         41 #define GATE_CLK_RP_CPU_NORMAL_DIV0     31
 42 #define GATE_CLK_AXI_DDR_DIV0           32         42 #define GATE_CLK_AXI_DDR_DIV0           32
 43                                                    43 
 44 #define GATE_CLK_RP_CPU_NORMAL_DIV1     33         44 #define GATE_CLK_RP_CPU_NORMAL_DIV1     33
 45 #define GATE_CLK_A53_50M                34         45 #define GATE_CLK_A53_50M                34
 46 #define GATE_CLK_TOP_RP_CMN_DIV2        35         46 #define GATE_CLK_TOP_RP_CMN_DIV2        35
 47 #define GATE_CLK_HSDMA                  36         47 #define GATE_CLK_HSDMA                  36
 48 #define GATE_CLK_EMMC_100M              37         48 #define GATE_CLK_EMMC_100M              37
 49 #define GATE_CLK_SD_100M                38         49 #define GATE_CLK_SD_100M                38
 50 #define GATE_CLK_TX_ETH0                39         50 #define GATE_CLK_TX_ETH0                39
 51 #define GATE_CLK_PTP_REF_I_ETH0         40         51 #define GATE_CLK_PTP_REF_I_ETH0         40
 52 #define GATE_CLK_REF_ETH0               41         52 #define GATE_CLK_REF_ETH0               41
 53 #define GATE_CLK_UART_500M              42         53 #define GATE_CLK_UART_500M              42
 54 #define GATE_CLK_EFUSE                  43         54 #define GATE_CLK_EFUSE                  43
 55                                                    55 
 56 #define GATE_CLK_AHB_LPC                44         56 #define GATE_CLK_AHB_LPC                44
 57 #define GATE_CLK_AHB_ROM                45         57 #define GATE_CLK_AHB_ROM                45
 58 #define GATE_CLK_AHB_SF                 46         58 #define GATE_CLK_AHB_SF                 46
 59                                                    59 
 60 #define GATE_CLK_APB_UART               47         60 #define GATE_CLK_APB_UART               47
 61 #define GATE_CLK_APB_TIMER              48         61 #define GATE_CLK_APB_TIMER              48
 62 #define GATE_CLK_APB_EFUSE              49         62 #define GATE_CLK_APB_EFUSE              49
 63 #define GATE_CLK_APB_GPIO               50         63 #define GATE_CLK_APB_GPIO               50
 64 #define GATE_CLK_APB_GPIO_INTR          51         64 #define GATE_CLK_APB_GPIO_INTR          51
 65 #define GATE_CLK_APB_SPI                52         65 #define GATE_CLK_APB_SPI                52
 66 #define GATE_CLK_APB_I2C                53         66 #define GATE_CLK_APB_I2C                53
 67 #define GATE_CLK_APB_WDT                54         67 #define GATE_CLK_APB_WDT                54
 68 #define GATE_CLK_APB_PWM                55         68 #define GATE_CLK_APB_PWM                55
 69 #define GATE_CLK_APB_RTC                56         69 #define GATE_CLK_APB_RTC                56
 70                                                    70 
 71 #define GATE_CLK_AXI_PCIE0              57         71 #define GATE_CLK_AXI_PCIE0              57
 72 #define GATE_CLK_AXI_PCIE1              58         72 #define GATE_CLK_AXI_PCIE1              58
 73 #define GATE_CLK_SYSDMA_AXI             59         73 #define GATE_CLK_SYSDMA_AXI             59
 74 #define GATE_CLK_AXI_DBG_I2C            60         74 #define GATE_CLK_AXI_DBG_I2C            60
 75 #define GATE_CLK_AXI_SRAM               61         75 #define GATE_CLK_AXI_SRAM               61
 76 #define GATE_CLK_AXI_ETH0               62         76 #define GATE_CLK_AXI_ETH0               62
 77 #define GATE_CLK_AXI_EMMC               63         77 #define GATE_CLK_AXI_EMMC               63
 78 #define GATE_CLK_AXI_SD                 64         78 #define GATE_CLK_AXI_SD                 64
 79 #define GATE_CLK_TOP_AXI0               65         79 #define GATE_CLK_TOP_AXI0               65
 80 #define GATE_CLK_TOP_AXI_HSPERI         66         80 #define GATE_CLK_TOP_AXI_HSPERI         66
 81                                                    81 
 82 #define GATE_CLK_TIMER1                 67         82 #define GATE_CLK_TIMER1                 67
 83 #define GATE_CLK_TIMER2                 68         83 #define GATE_CLK_TIMER2                 68
 84 #define GATE_CLK_TIMER3                 69         84 #define GATE_CLK_TIMER3                 69
 85 #define GATE_CLK_TIMER4                 70         85 #define GATE_CLK_TIMER4                 70
 86 #define GATE_CLK_TIMER5                 71         86 #define GATE_CLK_TIMER5                 71
 87 #define GATE_CLK_TIMER6                 72         87 #define GATE_CLK_TIMER6                 72
 88 #define GATE_CLK_TIMER7                 73         88 #define GATE_CLK_TIMER7                 73
 89 #define GATE_CLK_TIMER8                 74         89 #define GATE_CLK_TIMER8                 74
 90 #define GATE_CLK_100K_EMMC              75         90 #define GATE_CLK_100K_EMMC              75
 91 #define GATE_CLK_100K_SD                76         91 #define GATE_CLK_100K_SD                76
 92 #define GATE_CLK_GPIO_DB                77         92 #define GATE_CLK_GPIO_DB                77
 93                                                    93 
 94 #define GATE_CLK_AXI_DDR_DIV1           78         94 #define GATE_CLK_AXI_DDR_DIV1           78
 95 #define GATE_CLK_DDR01_DIV1             79         95 #define GATE_CLK_DDR01_DIV1             79
 96 #define GATE_CLK_DDR23_DIV1             80         96 #define GATE_CLK_DDR23_DIV1             80
 97                                                    97 
 98 #define GATE_CLK_DDR01_DIV0             81         98 #define GATE_CLK_DDR01_DIV0             81
 99 #define GATE_CLK_DDR23_DIV0             82         99 #define GATE_CLK_DDR23_DIV0             82
100                                                   100 
101 #define GATE_CLK_DDR01                  83        101 #define GATE_CLK_DDR01                  83
102 #define GATE_CLK_DDR23                  84        102 #define GATE_CLK_DDR23                  84
103 #define GATE_CLK_RP_CPU_NORMAL          85        103 #define GATE_CLK_RP_CPU_NORMAL          85
104 #define GATE_CLK_AXI_DDR                86        104 #define GATE_CLK_AXI_DDR                86
105                                                   105 
106 #define MUX_CLK_DDR01                   87        106 #define MUX_CLK_DDR01                   87
107 #define MUX_CLK_DDR23                   88        107 #define MUX_CLK_DDR23                   88
108 #define MUX_CLK_RP_CPU_NORMAL           89        108 #define MUX_CLK_RP_CPU_NORMAL           89
109 #define MUX_CLK_AXI_DDR                 90        109 #define MUX_CLK_AXI_DDR                 90
110                                                   110 
111 #endif /* __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H    111 #endif /* __DT_BINDINGS_SOPHGO_SG2042_CLKGEN_H__ */
112                                                   112 

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