Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Device Tree binding constants clock controllers of Samsung S3C2410 and later.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S3C2410_CLOCK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define _DT_BINDINGS_CLOCK_SAMSUNG_S3C2410_CLOCK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * Let each exported clock get a unique index, which is used on DT-enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  * platforms to lookup the clock from a clock specifier. These indices are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  * therefore considered an ABI and so must not be changed. This implies
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  * that new clocks should be added either in free spaces between clock groups
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * or at the end.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* Core clocks. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /* id 1 is reserved */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define MPLL			2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define UPLL			3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define FCLK			4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define HCLK			5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define PCLK			6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define UCLK			7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #define ARMCLK			8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) /* pclk-gates */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #define PCLK_UART0		16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #define PCLK_UART1		17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #define PCLK_UART2		18
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #define PCLK_I2C		19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #define PCLK_SDI		20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #define PCLK_SPI		21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #define PCLK_ADC		22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #define PCLK_AC97		23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) #define PCLK_I2S		24
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) #define PCLK_PWM		25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #define PCLK_RTC		26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #define PCLK_GPIO		27
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) /* hclk-gates */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) #define HCLK_LCD		32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) #define HCLK_USBH		33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #define HCLK_USBD		34
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) #define HCLK_NAND		35
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) #define HCLK_CAM		36
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) #define CAMIF			40
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) /* Total number of clocks. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) #define NR_CLKS			(CAMIF + 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) #endif /* _DT_BINDINGS_CLOCK_SAMSUNG_S3C2443_CLOCK_H */