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) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2)  * Copyright (C) 2013 Broadcom Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright 2013 Linaro Limited
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * This program is free software; you can redistribute it and/or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * modify it under the terms of the GNU General Public License as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * published by the Free Software Foundation version 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * This program is distributed "as is" WITHOUT ANY WARRANTY of any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  * kind, whether express or implied; without even the implied warranty
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  * GNU General Public License for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #ifndef _CLOCK_BCM21664_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define _CLOCK_BCM21664_H
^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)  * This file defines the values used to specify clocks provided by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * the clock control units (CCUs) on Broadcom BCM21664 family SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) /* bcm21664 CCU device tree "compatible" strings */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define BCM21664_DT_ROOT_CCU_COMPAT	"brcm,bcm21664-root-ccu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define BCM21664_DT_AON_CCU_COMPAT	"brcm,bcm21664-aon-ccu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #define BCM21664_DT_MASTER_CCU_COMPAT	"brcm,bcm21664-master-ccu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define BCM21664_DT_SLAVE_CCU_COMPAT	"brcm,bcm21664-slave-ccu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) /* root CCU clock ids */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #define BCM21664_ROOT_CCU_FRAC_1M		0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #define BCM21664_ROOT_CCU_CLOCK_COUNT		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) /* aon CCU clock ids */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #define BCM21664_AON_CCU_HUB_TIMER		0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #define BCM21664_AON_CCU_CLOCK_COUNT		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) /* master CCU clock ids */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) #define BCM21664_MASTER_CCU_SDIO1		0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) #define BCM21664_MASTER_CCU_SDIO2		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #define BCM21664_MASTER_CCU_SDIO3		2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) #define BCM21664_MASTER_CCU_SDIO4		3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) #define BCM21664_MASTER_CCU_SDIO1_SLEEP		4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) #define BCM21664_MASTER_CCU_SDIO2_SLEEP		5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) #define BCM21664_MASTER_CCU_SDIO3_SLEEP		6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #define BCM21664_MASTER_CCU_SDIO4_SLEEP		7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) #define BCM21664_MASTER_CCU_CLOCK_COUNT		8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) /* slave CCU clock ids */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) #define BCM21664_SLAVE_CCU_UARTB		0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) #define BCM21664_SLAVE_CCU_UARTB2		1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) #define BCM21664_SLAVE_CCU_UARTB3		2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) #define BCM21664_SLAVE_CCU_BSC1			3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) #define BCM21664_SLAVE_CCU_BSC2			4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) #define BCM21664_SLAVE_CCU_BSC3			5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) #define BCM21664_SLAVE_CCU_BSC4			6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) #define BCM21664_SLAVE_CCU_CLOCK_COUNT		7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) #endif /* _CLOCK_BCM21664_H */