1 1.1 jmcneill /* $NetBSD: sun50i-a100-ccu.h,v 1.1.1.1 2021/11/07 16:49:59 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /* SPDX-License-Identifier: (GPL-2.0+ or MIT) */ 4 1.1 jmcneill /* 5 1.1 jmcneill * Copyright (c) 2020 Yangtao Li <frank (at) allwinnertech.com> 6 1.1 jmcneill */ 7 1.1 jmcneill 8 1.1 jmcneill #ifndef _DT_BINDINGS_CLK_SUN50I_A100_H_ 9 1.1 jmcneill #define _DT_BINDINGS_CLK_SUN50I_A100_H_ 10 1.1 jmcneill 11 1.1 jmcneill #define CLK_PLL_PERIPH0 3 12 1.1 jmcneill 13 1.1 jmcneill #define CLK_CPUX 24 14 1.1 jmcneill 15 1.1 jmcneill #define CLK_APB1 29 16 1.1 jmcneill 17 1.1 jmcneill #define CLK_MBUS 31 18 1.1 jmcneill #define CLK_DE 32 19 1.1 jmcneill #define CLK_BUS_DE 33 20 1.1 jmcneill #define CLK_G2D 34 21 1.1 jmcneill #define CLK_BUS_G2D 35 22 1.1 jmcneill #define CLK_GPU 36 23 1.1 jmcneill #define CLK_BUS_GPU 37 24 1.1 jmcneill #define CLK_CE 38 25 1.1 jmcneill #define CLK_BUS_CE 39 26 1.1 jmcneill #define CLK_VE 40 27 1.1 jmcneill #define CLK_BUS_VE 41 28 1.1 jmcneill #define CLK_BUS_DMA 42 29 1.1 jmcneill #define CLK_BUS_MSGBOX 43 30 1.1 jmcneill #define CLK_BUS_SPINLOCK 44 31 1.1 jmcneill #define CLK_BUS_HSTIMER 45 32 1.1 jmcneill #define CLK_AVS 46 33 1.1 jmcneill #define CLK_BUS_DBG 47 34 1.1 jmcneill #define CLK_BUS_PSI 48 35 1.1 jmcneill #define CLK_BUS_PWM 49 36 1.1 jmcneill #define CLK_BUS_IOMMU 50 37 1.1 jmcneill #define CLK_MBUS_DMA 51 38 1.1 jmcneill #define CLK_MBUS_VE 52 39 1.1 jmcneill #define CLK_MBUS_CE 53 40 1.1 jmcneill #define CLK_MBUS_NAND 54 41 1.1 jmcneill #define CLK_MBUS_CSI 55 42 1.1 jmcneill #define CLK_MBUS_ISP 56 43 1.1 jmcneill #define CLK_MBUS_G2D 57 44 1.1 jmcneill 45 1.1 jmcneill #define CLK_NAND0 59 46 1.1 jmcneill #define CLK_NAND1 60 47 1.1 jmcneill #define CLK_BUS_NAND 61 48 1.1 jmcneill #define CLK_MMC0 62 49 1.1 jmcneill #define CLK_MMC1 63 50 1.1 jmcneill #define CLK_MMC2 64 51 1.1 jmcneill #define CLK_MMC3 65 52 1.1 jmcneill #define CLK_BUS_MMC0 66 53 1.1 jmcneill #define CLK_BUS_MMC1 67 54 1.1 jmcneill #define CLK_BUS_MMC2 68 55 1.1 jmcneill #define CLK_BUS_UART0 69 56 1.1 jmcneill #define CLK_BUS_UART1 70 57 1.1 jmcneill #define CLK_BUS_UART2 71 58 1.1 jmcneill #define CLK_BUS_UART3 72 59 1.1 jmcneill #define CLK_BUS_UART4 73 60 1.1 jmcneill #define CLK_BUS_I2C0 74 61 1.1 jmcneill #define CLK_BUS_I2C1 75 62 1.1 jmcneill #define CLK_BUS_I2C2 76 63 1.1 jmcneill #define CLK_BUS_I2C3 77 64 1.1 jmcneill #define CLK_SPI0 78 65 1.1 jmcneill #define CLK_SPI1 79 66 1.1 jmcneill #define CLK_SPI2 80 67 1.1 jmcneill #define CLK_BUS_SPI0 81 68 1.1 jmcneill #define CLK_BUS_SPI1 82 69 1.1 jmcneill #define CLK_BUS_SPI2 83 70 1.1 jmcneill #define CLK_EMAC_25M 84 71 1.1 jmcneill #define CLK_BUS_EMAC 85 72 1.1 jmcneill #define CLK_IR_RX 86 73 1.1 jmcneill #define CLK_BUS_IR_RX 87 74 1.1 jmcneill #define CLK_IR_TX 88 75 1.1 jmcneill #define CLK_BUS_IR_TX 89 76 1.1 jmcneill #define CLK_BUS_GPADC 90 77 1.1 jmcneill #define CLK_BUS_THS 91 78 1.1 jmcneill #define CLK_I2S0 92 79 1.1 jmcneill #define CLK_I2S1 93 80 1.1 jmcneill #define CLK_I2S2 94 81 1.1 jmcneill #define CLK_I2S3 95 82 1.1 jmcneill #define CLK_BUS_I2S0 96 83 1.1 jmcneill #define CLK_BUS_I2S1 97 84 1.1 jmcneill #define CLK_BUS_I2S2 98 85 1.1 jmcneill #define CLK_BUS_I2S3 99 86 1.1 jmcneill #define CLK_SPDIF 100 87 1.1 jmcneill #define CLK_BUS_SPDIF 101 88 1.1 jmcneill #define CLK_DMIC 102 89 1.1 jmcneill #define CLK_BUS_DMIC 103 90 1.1 jmcneill #define CLK_AUDIO_DAC 104 91 1.1 jmcneill #define CLK_AUDIO_ADC 105 92 1.1 jmcneill #define CLK_AUDIO_4X 106 93 1.1 jmcneill #define CLK_BUS_AUDIO_CODEC 107 94 1.1 jmcneill #define CLK_USB_OHCI0 108 95 1.1 jmcneill #define CLK_USB_PHY0 109 96 1.1 jmcneill #define CLK_USB_OHCI1 110 97 1.1 jmcneill #define CLK_USB_PHY1 111 98 1.1 jmcneill #define CLK_BUS_OHCI0 112 99 1.1 jmcneill #define CLK_BUS_OHCI1 113 100 1.1 jmcneill #define CLK_BUS_EHCI0 114 101 1.1 jmcneill #define CLK_BUS_EHCI1 115 102 1.1 jmcneill #define CLK_BUS_OTG 116 103 1.1 jmcneill #define CLK_BUS_LRADC 117 104 1.1 jmcneill #define CLK_BUS_DPSS_TOP0 118 105 1.1 jmcneill #define CLK_BUS_DPSS_TOP1 119 106 1.1 jmcneill #define CLK_MIPI_DSI 120 107 1.1 jmcneill #define CLK_BUS_MIPI_DSI 121 108 1.1 jmcneill #define CLK_TCON_LCD 122 109 1.1 jmcneill #define CLK_BUS_TCON_LCD 123 110 1.1 jmcneill #define CLK_LEDC 124 111 1.1 jmcneill #define CLK_BUS_LEDC 125 112 1.1 jmcneill #define CLK_CSI_TOP 126 113 1.1 jmcneill #define CLK_CSI0_MCLK 127 114 1.1 jmcneill #define CLK_CSI1_MCLK 128 115 1.1 jmcneill #define CLK_BUS_CSI 129 116 1.1 jmcneill #define CLK_CSI_ISP 130 117 1.1 jmcneill 118 1.1 jmcneill #endif /* _DT_BINDINGS_CLK_SUN50I_A100_H_ */ 119