18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci * 38c2ecf20Sopenharmony_ci * Device Tree binding constants for Actions Semi S700 Clock Management Unit 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (c) 2014 Actions Semi Inc. 68c2ecf20Sopenharmony_ci * Author: David Liu <liuwei@actions-semi.com> 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Author: Pathiban Nallathambi <pn@denx.de> 98c2ecf20Sopenharmony_ci * Author: Saravanan Sekar <sravanhome@gmail.com> 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_S700_H 138c2ecf20Sopenharmony_ci#define __DT_BINDINGS_CLOCK_S700_H 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#define CLK_NONE 0 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci/* pll clocks */ 188c2ecf20Sopenharmony_ci#define CLK_CORE_PLL 1 198c2ecf20Sopenharmony_ci#define CLK_DEV_PLL 2 208c2ecf20Sopenharmony_ci#define CLK_DDR_PLL 3 218c2ecf20Sopenharmony_ci#define CLK_NAND_PLL 4 228c2ecf20Sopenharmony_ci#define CLK_DISPLAY_PLL 5 238c2ecf20Sopenharmony_ci#define CLK_TVOUT_PLL 6 248c2ecf20Sopenharmony_ci#define CLK_CVBS_PLL 7 258c2ecf20Sopenharmony_ci#define CLK_AUDIO_PLL 8 268c2ecf20Sopenharmony_ci#define CLK_ETHERNET_PLL 9 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci/* system clock */ 298c2ecf20Sopenharmony_ci#define CLK_CPU 10 308c2ecf20Sopenharmony_ci#define CLK_DEV 11 318c2ecf20Sopenharmony_ci#define CLK_AHB 12 328c2ecf20Sopenharmony_ci#define CLK_APB 13 338c2ecf20Sopenharmony_ci#define CLK_DMAC 14 348c2ecf20Sopenharmony_ci#define CLK_NOC0_CLK_MUX 15 358c2ecf20Sopenharmony_ci#define CLK_NOC1_CLK_MUX 16 368c2ecf20Sopenharmony_ci#define CLK_HP_CLK_MUX 17 378c2ecf20Sopenharmony_ci#define CLK_HP_CLK_DIV 18 388c2ecf20Sopenharmony_ci#define CLK_NOC1_CLK_DIV 19 398c2ecf20Sopenharmony_ci#define CLK_NOC0 20 408c2ecf20Sopenharmony_ci#define CLK_NOC1 21 418c2ecf20Sopenharmony_ci#define CLK_SENOR_SRC 22 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci/* peripheral device clock */ 448c2ecf20Sopenharmony_ci#define CLK_GPIO 23 458c2ecf20Sopenharmony_ci#define CLK_TIMER 24 468c2ecf20Sopenharmony_ci#define CLK_DSI 25 478c2ecf20Sopenharmony_ci#define CLK_CSI 26 488c2ecf20Sopenharmony_ci#define CLK_SI 27 498c2ecf20Sopenharmony_ci#define CLK_DE 28 508c2ecf20Sopenharmony_ci#define CLK_HDE 29 518c2ecf20Sopenharmony_ci#define CLK_VDE 30 528c2ecf20Sopenharmony_ci#define CLK_VCE 31 538c2ecf20Sopenharmony_ci#define CLK_NAND 32 548c2ecf20Sopenharmony_ci#define CLK_SD0 33 558c2ecf20Sopenharmony_ci#define CLK_SD1 34 568c2ecf20Sopenharmony_ci#define CLK_SD2 35 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci#define CLK_UART0 36 598c2ecf20Sopenharmony_ci#define CLK_UART1 37 608c2ecf20Sopenharmony_ci#define CLK_UART2 38 618c2ecf20Sopenharmony_ci#define CLK_UART3 39 628c2ecf20Sopenharmony_ci#define CLK_UART4 40 638c2ecf20Sopenharmony_ci#define CLK_UART5 41 648c2ecf20Sopenharmony_ci#define CLK_UART6 42 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci#define CLK_PWM0 43 678c2ecf20Sopenharmony_ci#define CLK_PWM1 44 688c2ecf20Sopenharmony_ci#define CLK_PWM2 45 698c2ecf20Sopenharmony_ci#define CLK_PWM3 46 708c2ecf20Sopenharmony_ci#define CLK_PWM4 47 718c2ecf20Sopenharmony_ci#define CLK_PWM5 48 728c2ecf20Sopenharmony_ci#define CLK_GPU3D 49 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci#define CLK_I2C0 50 758c2ecf20Sopenharmony_ci#define CLK_I2C1 51 768c2ecf20Sopenharmony_ci#define CLK_I2C2 52 778c2ecf20Sopenharmony_ci#define CLK_I2C3 53 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ci#define CLK_SPI0 54 808c2ecf20Sopenharmony_ci#define CLK_SPI1 55 818c2ecf20Sopenharmony_ci#define CLK_SPI2 56 828c2ecf20Sopenharmony_ci#define CLK_SPI3 57 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci#define CLK_USB3_480MPLL0 58 858c2ecf20Sopenharmony_ci#define CLK_USB3_480MPHY0 59 868c2ecf20Sopenharmony_ci#define CLK_USB3_5GPHY 60 878c2ecf20Sopenharmony_ci#define CLK_USB3_CCE 61 888c2ecf20Sopenharmony_ci#define CLK_USB3_MAC 62 898c2ecf20Sopenharmony_ci 908c2ecf20Sopenharmony_ci#define CLK_LCD 63 918c2ecf20Sopenharmony_ci#define CLK_HDMI_AUDIO 64 928c2ecf20Sopenharmony_ci#define CLK_I2SRX 65 938c2ecf20Sopenharmony_ci#define CLK_I2STX 66 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_ci#define CLK_SENSOR0 67 968c2ecf20Sopenharmony_ci#define CLK_SENSOR1 68 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_ci#define CLK_HDMI_DEV 69 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci#define CLK_ETHERNET 70 1018c2ecf20Sopenharmony_ci#define CLK_RMII_REF 71 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci#define CLK_USB2H0_PLLEN 72 1048c2ecf20Sopenharmony_ci#define CLK_USB2H0_PHY 73 1058c2ecf20Sopenharmony_ci#define CLK_USB2H0_CCE 74 1068c2ecf20Sopenharmony_ci#define CLK_USB2H1_PLLEN 75 1078c2ecf20Sopenharmony_ci#define CLK_USB2H1_PHY 76 1088c2ecf20Sopenharmony_ci#define CLK_USB2H1_CCE 77 1098c2ecf20Sopenharmony_ci 1108c2ecf20Sopenharmony_ci#define CLK_TVOUT 78 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ci#define CLK_THERMAL_SENSOR 79 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ci#define CLK_IRC_SWITCH 80 1158c2ecf20Sopenharmony_ci#define CLK_PCM1 81 1168c2ecf20Sopenharmony_ci#define CLK_NR_CLKS (CLK_PCM1 + 1) 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_S700_H */ 119