1 /* SPDX-License-Identifier: GPL-2.0+ */ 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 2 /* 3 * Device Tree binding constants for Actions S 3 * Device Tree binding constants for Actions Semi S500 Clock Management Unit 4 * 4 * 5 * Copyright (c) 2014 Actions Semi Inc. 5 * Copyright (c) 2014 Actions Semi Inc. 6 * Copyright (c) 2018 LSI-TEC - Caninos Loucos 6 * Copyright (c) 2018 LSI-TEC - Caninos Loucos 7 */ 7 */ 8 8 9 #ifndef __DT_BINDINGS_CLOCK_S500_CMU_H 9 #ifndef __DT_BINDINGS_CLOCK_S500_CMU_H 10 #define __DT_BINDINGS_CLOCK_S500_CMU_H 10 #define __DT_BINDINGS_CLOCK_S500_CMU_H 11 11 12 #define CLK_NONE 0 12 #define CLK_NONE 0 13 13 14 /* fixed rate clocks */ 14 /* fixed rate clocks */ 15 #define CLK_LOSC 1 15 #define CLK_LOSC 1 16 #define CLK_HOSC 2 16 #define CLK_HOSC 2 17 17 18 /* pll clocks */ 18 /* pll clocks */ 19 #define CLK_CORE_PLL 3 19 #define CLK_CORE_PLL 3 20 #define CLK_DEV_PLL 4 20 #define CLK_DEV_PLL 4 21 #define CLK_DDR_PLL 5 21 #define CLK_DDR_PLL 5 22 #define CLK_NAND_PLL 6 22 #define CLK_NAND_PLL 6 23 #define CLK_DISPLAY_PLL 7 23 #define CLK_DISPLAY_PLL 7 24 #define CLK_ETHERNET_PLL 8 24 #define CLK_ETHERNET_PLL 8 25 #define CLK_AUDIO_PLL 9 25 #define CLK_AUDIO_PLL 9 26 26 27 /* system clock */ 27 /* system clock */ 28 #define CLK_DEV 10 28 #define CLK_DEV 10 29 #define CLK_H 11 29 #define CLK_H 11 30 #define CLK_AHBPREDIV 12 30 #define CLK_AHBPREDIV 12 31 #define CLK_AHB 13 31 #define CLK_AHB 13 32 #define CLK_DE 14 32 #define CLK_DE 14 33 #define CLK_BISP 15 33 #define CLK_BISP 15 34 #define CLK_VCE 16 34 #define CLK_VCE 16 35 #define CLK_VDE 17 35 #define CLK_VDE 17 36 36 37 /* peripheral device clock */ 37 /* peripheral device clock */ 38 #define CLK_TIMER 18 38 #define CLK_TIMER 18 39 #define CLK_I2C0 19 39 #define CLK_I2C0 19 40 #define CLK_I2C1 20 40 #define CLK_I2C1 20 41 #define CLK_I2C2 21 41 #define CLK_I2C2 21 42 #define CLK_I2C3 22 42 #define CLK_I2C3 22 43 #define CLK_PWM0 23 43 #define CLK_PWM0 23 44 #define CLK_PWM1 24 44 #define CLK_PWM1 24 45 #define CLK_PWM2 25 45 #define CLK_PWM2 25 46 #define CLK_PWM3 26 46 #define CLK_PWM3 26 47 #define CLK_PWM4 27 47 #define CLK_PWM4 27 48 #define CLK_PWM5 28 48 #define CLK_PWM5 28 49 #define CLK_SD0 29 49 #define CLK_SD0 29 50 #define CLK_SD1 30 50 #define CLK_SD1 30 51 #define CLK_SD2 31 51 #define CLK_SD2 31 52 #define CLK_SENSOR0 32 52 #define CLK_SENSOR0 32 53 #define CLK_SENSOR1 33 53 #define CLK_SENSOR1 33 54 #define CLK_SPI0 34 54 #define CLK_SPI0 34 55 #define CLK_SPI1 35 55 #define CLK_SPI1 35 56 #define CLK_SPI2 36 56 #define CLK_SPI2 36 57 #define CLK_SPI3 37 57 #define CLK_SPI3 37 58 #define CLK_UART0 38 58 #define CLK_UART0 38 59 #define CLK_UART1 39 59 #define CLK_UART1 39 60 #define CLK_UART2 40 60 #define CLK_UART2 40 61 #define CLK_UART3 41 61 #define CLK_UART3 41 62 #define CLK_UART4 42 62 #define CLK_UART4 42 63 #define CLK_UART5 43 63 #define CLK_UART5 43 64 #define CLK_UART6 44 64 #define CLK_UART6 44 65 #define CLK_DE1 45 65 #define CLK_DE1 45 66 #define CLK_DE2 46 66 #define CLK_DE2 46 67 #define CLK_I2SRX 47 67 #define CLK_I2SRX 47 68 #define CLK_I2STX 48 68 #define CLK_I2STX 48 69 #define CLK_HDMI_AUDIO 49 69 #define CLK_HDMI_AUDIO 49 70 #define CLK_HDMI 50 70 #define CLK_HDMI 50 71 #define CLK_SPDIF 51 71 #define CLK_SPDIF 51 72 #define CLK_NAND 52 72 #define CLK_NAND 52 73 #define CLK_ECC 53 73 #define CLK_ECC 53 74 #define CLK_RMII_REF 54 74 #define CLK_RMII_REF 54 75 #define CLK_GPIO 55 75 #define CLK_GPIO 55 76 76 77 /* additional clocks */ !! 77 /* system clock (part 2) */ 78 #define CLK_APB 56 78 #define CLK_APB 56 79 #define CLK_DMAC 57 79 #define CLK_DMAC 57 80 #define CLK_NIC 58 << 81 #define CLK_ETHERNET 59 << 82 80 83 #define CLK_NR_CLKS (CLK_ETHERNET !! 81 #define CLK_NR_CLKS (CLK_DMAC + 1) 84 82 85 #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */ 83 #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */ 86 84
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.