18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Device Tree binding constants for Bitmain BM1880 SoC 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2019 Linaro Ltd. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_BM1880_H 98c2ecf20Sopenharmony_ci#define __DT_BINDINGS_CLOCK_BM1880_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define BM1880_CLK_OSC 0 128c2ecf20Sopenharmony_ci#define BM1880_CLK_MPLL 1 138c2ecf20Sopenharmony_ci#define BM1880_CLK_SPLL 2 148c2ecf20Sopenharmony_ci#define BM1880_CLK_FPLL 3 158c2ecf20Sopenharmony_ci#define BM1880_CLK_DDRPLL 4 168c2ecf20Sopenharmony_ci#define BM1880_CLK_A53 5 178c2ecf20Sopenharmony_ci#define BM1880_CLK_50M_A53 6 188c2ecf20Sopenharmony_ci#define BM1880_CLK_AHB_ROM 7 198c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI_SRAM 8 208c2ecf20Sopenharmony_ci#define BM1880_CLK_DDR_AXI 9 218c2ecf20Sopenharmony_ci#define BM1880_CLK_EFUSE 10 228c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_EFUSE 11 238c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI5_EMMC 12 248c2ecf20Sopenharmony_ci#define BM1880_CLK_EMMC 13 258c2ecf20Sopenharmony_ci#define BM1880_CLK_100K_EMMC 14 268c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI5_SD 15 278c2ecf20Sopenharmony_ci#define BM1880_CLK_SD 16 288c2ecf20Sopenharmony_ci#define BM1880_CLK_100K_SD 17 298c2ecf20Sopenharmony_ci#define BM1880_CLK_500M_ETH0 18 308c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI4_ETH0 19 318c2ecf20Sopenharmony_ci#define BM1880_CLK_500M_ETH1 20 328c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI4_ETH1 21 338c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI1_GDMA 22 348c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_GPIO 23 358c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_GPIO_INTR 24 368c2ecf20Sopenharmony_ci#define BM1880_CLK_GPIO_DB 25 378c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI1_MINER 26 388c2ecf20Sopenharmony_ci#define BM1880_CLK_AHB_SF 27 398c2ecf20Sopenharmony_ci#define BM1880_CLK_SDMA_AXI 28 408c2ecf20Sopenharmony_ci#define BM1880_CLK_SDMA_AUD 29 418c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_I2C 30 428c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_WDT 31 438c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_JPEG 32 448c2ecf20Sopenharmony_ci#define BM1880_CLK_JPEG_AXI 33 458c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI5_NF 34 468c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_NF 35 478c2ecf20Sopenharmony_ci#define BM1880_CLK_NF 36 488c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_PWM 37 498c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_0_RV 38 508c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_1_RV 39 518c2ecf20Sopenharmony_ci#define BM1880_CLK_MUX_RV 40 528c2ecf20Sopenharmony_ci#define BM1880_CLK_RV 41 538c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_SPI 42 548c2ecf20Sopenharmony_ci#define BM1880_CLK_TPU_AXI 43 558c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_UART_500M 44 568c2ecf20Sopenharmony_ci#define BM1880_CLK_UART_500M 45 578c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_UART 46 588c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_I2S 47 598c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI4_USB 48 608c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_USB 49 618c2ecf20Sopenharmony_ci#define BM1880_CLK_125M_USB 50 628c2ecf20Sopenharmony_ci#define BM1880_CLK_33K_USB 51 638c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_12M_USB 52 648c2ecf20Sopenharmony_ci#define BM1880_CLK_12M_USB 53 658c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_VIDEO 54 668c2ecf20Sopenharmony_ci#define BM1880_CLK_VIDEO_AXI 55 678c2ecf20Sopenharmony_ci#define BM1880_CLK_VPP_AXI 56 688c2ecf20Sopenharmony_ci#define BM1880_CLK_APB_VPP 57 698c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_0_AXI1 58 708c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_1_AXI1 59 718c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI1 60 728c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI2 61 738c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI3 62 748c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI4 63 758c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI5 64 768c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_0_AXI6 65 778c2ecf20Sopenharmony_ci#define BM1880_CLK_DIV_1_AXI6 66 788c2ecf20Sopenharmony_ci#define BM1880_CLK_MUX_AXI6 67 798c2ecf20Sopenharmony_ci#define BM1880_CLK_AXI6 68 808c2ecf20Sopenharmony_ci#define BM1880_NR_CLKS 69 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_BM1880_H */ 83