1*b97ee269SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*b97ee269SEmmanuel Vadot /* 3*b97ee269SEmmanuel Vadot * Copyright (C) Sunplus Technology Co., Ltd. 4*b97ee269SEmmanuel Vadot * All rights reserved. 5*b97ee269SEmmanuel Vadot */ 6*b97ee269SEmmanuel Vadot #ifndef _DT_BINDINGS_CLOCK_SUNPLUS_SP7021_H 7*b97ee269SEmmanuel Vadot #define _DT_BINDINGS_CLOCK_SUNPLUS_SP7021_H 8*b97ee269SEmmanuel Vadot 9*b97ee269SEmmanuel Vadot /* gates */ 10*b97ee269SEmmanuel Vadot #define CLK_RTC 0 11*b97ee269SEmmanuel Vadot #define CLK_OTPRX 1 12*b97ee269SEmmanuel Vadot #define CLK_NOC 2 13*b97ee269SEmmanuel Vadot #define CLK_BR 3 14*b97ee269SEmmanuel Vadot #define CLK_SPIFL 4 15*b97ee269SEmmanuel Vadot #define CLK_PERI0 5 16*b97ee269SEmmanuel Vadot #define CLK_PERI1 6 17*b97ee269SEmmanuel Vadot #define CLK_STC0 7 18*b97ee269SEmmanuel Vadot #define CLK_STC_AV0 8 19*b97ee269SEmmanuel Vadot #define CLK_STC_AV1 9 20*b97ee269SEmmanuel Vadot #define CLK_STC_AV2 10 21*b97ee269SEmmanuel Vadot #define CLK_UA0 11 22*b97ee269SEmmanuel Vadot #define CLK_UA1 12 23*b97ee269SEmmanuel Vadot #define CLK_UA2 13 24*b97ee269SEmmanuel Vadot #define CLK_UA3 14 25*b97ee269SEmmanuel Vadot #define CLK_UA4 15 26*b97ee269SEmmanuel Vadot #define CLK_HWUA 16 27*b97ee269SEmmanuel Vadot #define CLK_DDC0 17 28*b97ee269SEmmanuel Vadot #define CLK_UADMA 18 29*b97ee269SEmmanuel Vadot #define CLK_CBDMA0 19 30*b97ee269SEmmanuel Vadot #define CLK_CBDMA1 20 31*b97ee269SEmmanuel Vadot #define CLK_SPI_COMBO_0 21 32*b97ee269SEmmanuel Vadot #define CLK_SPI_COMBO_1 22 33*b97ee269SEmmanuel Vadot #define CLK_SPI_COMBO_2 23 34*b97ee269SEmmanuel Vadot #define CLK_SPI_COMBO_3 24 35*b97ee269SEmmanuel Vadot #define CLK_AUD 25 36*b97ee269SEmmanuel Vadot #define CLK_USBC0 26 37*b97ee269SEmmanuel Vadot #define CLK_USBC1 27 38*b97ee269SEmmanuel Vadot #define CLK_UPHY0 28 39*b97ee269SEmmanuel Vadot #define CLK_UPHY1 29 40*b97ee269SEmmanuel Vadot #define CLK_I2CM0 30 41*b97ee269SEmmanuel Vadot #define CLK_I2CM1 31 42*b97ee269SEmmanuel Vadot #define CLK_I2CM2 32 43*b97ee269SEmmanuel Vadot #define CLK_I2CM3 33 44*b97ee269SEmmanuel Vadot #define CLK_PMC 34 45*b97ee269SEmmanuel Vadot #define CLK_CARD_CTL0 35 46*b97ee269SEmmanuel Vadot #define CLK_CARD_CTL1 36 47*b97ee269SEmmanuel Vadot #define CLK_CARD_CTL4 37 48*b97ee269SEmmanuel Vadot #define CLK_BCH 38 49*b97ee269SEmmanuel Vadot #define CLK_DDFCH 39 50*b97ee269SEmmanuel Vadot #define CLK_CSIIW0 40 51*b97ee269SEmmanuel Vadot #define CLK_CSIIW1 41 52*b97ee269SEmmanuel Vadot #define CLK_MIPICSI0 42 53*b97ee269SEmmanuel Vadot #define CLK_MIPICSI1 43 54*b97ee269SEmmanuel Vadot #define CLK_HDMI_TX 44 55*b97ee269SEmmanuel Vadot #define CLK_VPOST 45 56*b97ee269SEmmanuel Vadot #define CLK_TGEN 46 57*b97ee269SEmmanuel Vadot #define CLK_DMIX 47 58*b97ee269SEmmanuel Vadot #define CLK_TCON 48 59*b97ee269SEmmanuel Vadot #define CLK_GPIO 49 60*b97ee269SEmmanuel Vadot #define CLK_MAILBOX 50 61*b97ee269SEmmanuel Vadot #define CLK_SPIND 51 62*b97ee269SEmmanuel Vadot #define CLK_I2C2CBUS 52 63*b97ee269SEmmanuel Vadot #define CLK_SEC 53 64*b97ee269SEmmanuel Vadot #define CLK_DVE 54 65*b97ee269SEmmanuel Vadot #define CLK_GPOST0 55 66*b97ee269SEmmanuel Vadot #define CLK_OSD0 56 67*b97ee269SEmmanuel Vadot #define CLK_DISP_PWM 57 68*b97ee269SEmmanuel Vadot #define CLK_UADBG 58 69*b97ee269SEmmanuel Vadot #define CLK_FIO_CTL 59 70*b97ee269SEmmanuel Vadot #define CLK_FPGA 60 71*b97ee269SEmmanuel Vadot #define CLK_L2SW 61 72*b97ee269SEmmanuel Vadot #define CLK_ICM 62 73*b97ee269SEmmanuel Vadot #define CLK_AXI_GLOBAL 63 74*b97ee269SEmmanuel Vadot 75*b97ee269SEmmanuel Vadot /* plls */ 76*b97ee269SEmmanuel Vadot #define PLL_A 64 77*b97ee269SEmmanuel Vadot #define PLL_E 65 78*b97ee269SEmmanuel Vadot #define PLL_E_2P5 66 79*b97ee269SEmmanuel Vadot #define PLL_E_25 67 80*b97ee269SEmmanuel Vadot #define PLL_E_112P5 68 81*b97ee269SEmmanuel Vadot #define PLL_F 69 82*b97ee269SEmmanuel Vadot #define PLL_TV 70 83*b97ee269SEmmanuel Vadot #define PLL_TV_A 71 84*b97ee269SEmmanuel Vadot #define PLL_SYS 72 85*b97ee269SEmmanuel Vadot 86*b97ee269SEmmanuel Vadot #define CLK_MAX 73 87*b97ee269SEmmanuel Vadot 88*b97ee269SEmmanuel Vadot #endif 89