Skip to content

Commit

Permalink
dt-bindings: clock: Add bindings for Raspberry Pi RP1
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell authored and popcornmix committed Oct 21, 2024
1 parent 34e6efd commit c886c6a
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions include/dt-bindings/clock/rp1.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2021 Raspberry Pi Ltd.
*/

#define RP1_PLL_SYS_CORE 0
#define RP1_PLL_AUDIO_CORE 1
#define RP1_PLL_VIDEO_CORE 2

#define RP1_PLL_SYS 3
#define RP1_PLL_AUDIO 4
#define RP1_PLL_VIDEO 5

#define RP1_PLL_SYS_PRI_PH 6
#define RP1_PLL_SYS_SEC_PH 7

#define RP1_PLL_SYS_SEC 8
#define RP1_PLL_AUDIO_SEC 9
#define RP1_PLL_VIDEO_SEC 10

#define RP1_CLK_SYS 11
#define RP1_CLK_SLOW_SYS 12
#define RP1_CLK_DMA 13
#define RP1_CLK_UART 14
#define RP1_CLK_ETH 15
#define RP1_CLK_PWM0 16
#define RP1_CLK_PWM1 17
#define RP1_CLK_AUDIO_IN 18
#define RP1_CLK_AUDIO_OUT 19
#define RP1_CLK_I2S 20
#define RP1_CLK_MIPI0_CFG 21
#define RP1_CLK_MIPI1_CFG 22
#define RP1_CLK_PCIE_AUX 23
#define RP1_CLK_USBH0_MICROFRAME 24
#define RP1_CLK_USBH1_MICROFRAME 25
#define RP1_CLK_USBH0_SUSPEND 26
#define RP1_CLK_USBH1_SUSPEND 27
#define RP1_CLK_ETH_TSU 28
#define RP1_CLK_ADC 29
#define RP1_CLK_SDIO_TIMER 30
#define RP1_CLK_SDIO_ALT_SRC 31
#define RP1_CLK_GP0 32
#define RP1_CLK_GP1 33
#define RP1_CLK_GP2 34
#define RP1_CLK_GP3 35
#define RP1_CLK_GP4 36
#define RP1_CLK_GP5 37
#define RP1_CLK_VEC 38
#define RP1_CLK_DPI 39
#define RP1_CLK_MIPI0_DPI 40
#define RP1_CLK_MIPI1_DPI 41

0 comments on commit c886c6a

Please sign in to comment.