10c8c53e0SEdgar Bernardi Righi /* SPDX-License-Identifier: GPL-2.0+ */ 20c8c53e0SEdgar Bernardi Righi /* 30c8c53e0SEdgar Bernardi Righi * Device Tree binding constants for Actions Semi S500 Clock Management Unit 40c8c53e0SEdgar Bernardi Righi * 50c8c53e0SEdgar Bernardi Righi * Copyright (c) 2014 Actions Semi Inc. 60c8c53e0SEdgar Bernardi Righi * Copyright (c) 2018 LSI-TEC - Caninos Loucos 70c8c53e0SEdgar Bernardi Righi */ 80c8c53e0SEdgar Bernardi Righi 90c8c53e0SEdgar Bernardi Righi #ifndef __DT_BINDINGS_CLOCK_S500_CMU_H 100c8c53e0SEdgar Bernardi Righi #define __DT_BINDINGS_CLOCK_S500_CMU_H 110c8c53e0SEdgar Bernardi Righi 120c8c53e0SEdgar Bernardi Righi #define CLK_NONE 0 130c8c53e0SEdgar Bernardi Righi 140c8c53e0SEdgar Bernardi Righi /* fixed rate clocks */ 150c8c53e0SEdgar Bernardi Righi #define CLK_LOSC 1 160c8c53e0SEdgar Bernardi Righi #define CLK_HOSC 2 170c8c53e0SEdgar Bernardi Righi 180c8c53e0SEdgar Bernardi Righi /* pll clocks */ 190c8c53e0SEdgar Bernardi Righi #define CLK_CORE_PLL 3 200c8c53e0SEdgar Bernardi Righi #define CLK_DEV_PLL 4 210c8c53e0SEdgar Bernardi Righi #define CLK_DDR_PLL 5 220c8c53e0SEdgar Bernardi Righi #define CLK_NAND_PLL 6 230c8c53e0SEdgar Bernardi Righi #define CLK_DISPLAY_PLL 7 240c8c53e0SEdgar Bernardi Righi #define CLK_ETHERNET_PLL 8 250c8c53e0SEdgar Bernardi Righi #define CLK_AUDIO_PLL 9 260c8c53e0SEdgar Bernardi Righi 270c8c53e0SEdgar Bernardi Righi /* system clock */ 280c8c53e0SEdgar Bernardi Righi #define CLK_DEV 10 290c8c53e0SEdgar Bernardi Righi #define CLK_H 11 300c8c53e0SEdgar Bernardi Righi #define CLK_AHBPREDIV 12 310c8c53e0SEdgar Bernardi Righi #define CLK_AHB 13 320c8c53e0SEdgar Bernardi Righi #define CLK_DE 14 330c8c53e0SEdgar Bernardi Righi #define CLK_BISP 15 340c8c53e0SEdgar Bernardi Righi #define CLK_VCE 16 350c8c53e0SEdgar Bernardi Righi #define CLK_VDE 17 360c8c53e0SEdgar Bernardi Righi 370c8c53e0SEdgar Bernardi Righi /* peripheral device clock */ 380c8c53e0SEdgar Bernardi Righi #define CLK_TIMER 18 390c8c53e0SEdgar Bernardi Righi #define CLK_I2C0 19 400c8c53e0SEdgar Bernardi Righi #define CLK_I2C1 20 410c8c53e0SEdgar Bernardi Righi #define CLK_I2C2 21 420c8c53e0SEdgar Bernardi Righi #define CLK_I2C3 22 430c8c53e0SEdgar Bernardi Righi #define CLK_PWM0 23 440c8c53e0SEdgar Bernardi Righi #define CLK_PWM1 24 450c8c53e0SEdgar Bernardi Righi #define CLK_PWM2 25 460c8c53e0SEdgar Bernardi Righi #define CLK_PWM3 26 470c8c53e0SEdgar Bernardi Righi #define CLK_PWM4 27 480c8c53e0SEdgar Bernardi Righi #define CLK_PWM5 28 490c8c53e0SEdgar Bernardi Righi #define CLK_SD0 29 500c8c53e0SEdgar Bernardi Righi #define CLK_SD1 30 510c8c53e0SEdgar Bernardi Righi #define CLK_SD2 31 520c8c53e0SEdgar Bernardi Righi #define CLK_SENSOR0 32 530c8c53e0SEdgar Bernardi Righi #define CLK_SENSOR1 33 540c8c53e0SEdgar Bernardi Righi #define CLK_SPI0 34 550c8c53e0SEdgar Bernardi Righi #define CLK_SPI1 35 560c8c53e0SEdgar Bernardi Righi #define CLK_SPI2 36 570c8c53e0SEdgar Bernardi Righi #define CLK_SPI3 37 580c8c53e0SEdgar Bernardi Righi #define CLK_UART0 38 590c8c53e0SEdgar Bernardi Righi #define CLK_UART1 39 600c8c53e0SEdgar Bernardi Righi #define CLK_UART2 40 610c8c53e0SEdgar Bernardi Righi #define CLK_UART3 41 620c8c53e0SEdgar Bernardi Righi #define CLK_UART4 42 630c8c53e0SEdgar Bernardi Righi #define CLK_UART5 43 640c8c53e0SEdgar Bernardi Righi #define CLK_UART6 44 650c8c53e0SEdgar Bernardi Righi #define CLK_DE1 45 660c8c53e0SEdgar Bernardi Righi #define CLK_DE2 46 670c8c53e0SEdgar Bernardi Righi #define CLK_I2SRX 47 680c8c53e0SEdgar Bernardi Righi #define CLK_I2STX 48 690c8c53e0SEdgar Bernardi Righi #define CLK_HDMI_AUDIO 49 700c8c53e0SEdgar Bernardi Righi #define CLK_HDMI 50 710c8c53e0SEdgar Bernardi Righi #define CLK_SPDIF 51 720c8c53e0SEdgar Bernardi Righi #define CLK_NAND 52 730c8c53e0SEdgar Bernardi Righi #define CLK_ECC 53 740c8c53e0SEdgar Bernardi Righi #define CLK_RMII_REF 54 751a4ae413SCristian Ciocaltea #define CLK_GPIO 55 760c8c53e0SEdgar Bernardi Righi 77*a4acefd8SCristian Ciocaltea /* additional clocks */ 781a4ae413SCristian Ciocaltea #define CLK_APB 56 791a4ae413SCristian Ciocaltea #define CLK_DMAC 57 80*a4acefd8SCristian Ciocaltea #define CLK_NIC 58 81*a4acefd8SCristian Ciocaltea #define CLK_ETHERNET 59 821a4ae413SCristian Ciocaltea 83*a4acefd8SCristian Ciocaltea #define CLK_NR_CLKS (CLK_ETHERNET + 1) 840c8c53e0SEdgar Bernardi Righi 850c8c53e0SEdgar Bernardi Righi #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */ 86