Home | History | Annotate | Line # | Download | only in clock
      1      1.1  jmcneill /*	$NetBSD: marvell,pxa1928.h,v 1.1.1.2 2017/11/30 19:40:51 jmcneill Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.2  jmcneill /* SPDX-License-Identifier: GPL-2.0 */
      4      1.1  jmcneill #ifndef __DTS_MARVELL_PXA1928_CLOCK_H
      5      1.1  jmcneill #define __DTS_MARVELL_PXA1928_CLOCK_H
      6      1.1  jmcneill 
      7      1.1  jmcneill /*
      8      1.1  jmcneill  * Clock ID values here correspond to the control register offset/4.
      9      1.1  jmcneill  */
     10      1.1  jmcneill 
     11      1.1  jmcneill /* apb peripherals */
     12      1.1  jmcneill #define PXA1928_CLK_RTC			0x00
     13      1.1  jmcneill #define PXA1928_CLK_TWSI0		0x01
     14      1.1  jmcneill #define PXA1928_CLK_TWSI1		0x02
     15      1.1  jmcneill #define PXA1928_CLK_TWSI2		0x03
     16      1.1  jmcneill #define PXA1928_CLK_TWSI3		0x04
     17      1.1  jmcneill #define PXA1928_CLK_OWIRE		0x05
     18      1.1  jmcneill #define PXA1928_CLK_KPC			0x06
     19      1.1  jmcneill #define PXA1928_CLK_TB_ROTARY		0x07
     20      1.1  jmcneill #define PXA1928_CLK_SW_JTAG		0x08
     21      1.1  jmcneill #define PXA1928_CLK_TIMER1		0x09
     22      1.1  jmcneill #define PXA1928_CLK_UART0		0x0b
     23      1.1  jmcneill #define PXA1928_CLK_UART1		0x0c
     24      1.1  jmcneill #define PXA1928_CLK_UART2		0x0d
     25      1.1  jmcneill #define PXA1928_CLK_GPIO		0x0e
     26      1.1  jmcneill #define PXA1928_CLK_PWM0		0x0f
     27      1.1  jmcneill #define PXA1928_CLK_PWM1		0x10
     28      1.1  jmcneill #define PXA1928_CLK_PWM2		0x11
     29      1.1  jmcneill #define PXA1928_CLK_PWM3		0x12
     30      1.1  jmcneill #define PXA1928_CLK_SSP0		0x13
     31      1.1  jmcneill #define PXA1928_CLK_SSP1		0x14
     32      1.1  jmcneill #define PXA1928_CLK_SSP2		0x15
     33      1.1  jmcneill 
     34      1.1  jmcneill #define PXA1928_CLK_TWSI4		0x1f
     35      1.1  jmcneill #define PXA1928_CLK_TWSI5		0x20
     36      1.1  jmcneill #define PXA1928_CLK_UART3		0x22
     37      1.1  jmcneill #define PXA1928_CLK_THSENS_GLOB		0x24
     38      1.1  jmcneill #define PXA1928_CLK_THSENS_CPU		0x26
     39      1.1  jmcneill #define PXA1928_CLK_THSENS_VPU		0x27
     40      1.1  jmcneill #define PXA1928_CLK_THSENS_GC		0x28
     41      1.1  jmcneill #define PXA1928_APBC_NR_CLKS		0x30
     42      1.1  jmcneill 
     43      1.1  jmcneill 
     44      1.1  jmcneill /* axi peripherals */
     45      1.1  jmcneill #define PXA1928_CLK_SDH0		0x15
     46      1.1  jmcneill #define PXA1928_CLK_SDH1		0x16
     47      1.1  jmcneill #define PXA1928_CLK_USB			0x17
     48      1.1  jmcneill #define PXA1928_CLK_NAND		0x18
     49      1.1  jmcneill #define PXA1928_CLK_DMA			0x19
     50      1.1  jmcneill 
     51      1.1  jmcneill #define PXA1928_CLK_SDH2		0x3a
     52      1.1  jmcneill #define PXA1928_CLK_SDH3		0x3b
     53      1.1  jmcneill #define PXA1928_CLK_HSIC		0x3e
     54      1.1  jmcneill #define PXA1928_CLK_SDH4		0x57
     55      1.1  jmcneill #define PXA1928_CLK_GC3D		0x5d
     56      1.1  jmcneill #define PXA1928_CLK_GC2D		0x5f
     57      1.1  jmcneill 
     58      1.1  jmcneill #define PXA1928_APMU_NR_CLKS		0x60
     59      1.1  jmcneill 
     60      1.1  jmcneill #endif
     61