/* SPDX-License-Identifier: GPL-2.0-only */
/*
* timberdale.h timberdale FPGA MFD driver defines
* Copyright (c) 2009 Intel Corporation
*/
/* Supports:
* Timberdale FPGA
*/
#ifndef MFD_TIMBERDALE_H
#define MFD_TIMBERDALE_H
#define DRV_VERSION "0.3"
/* This driver only support versions >= 3.8 and < 4.0 */
#define TIMB_SUPPORTED_MAJOR 3
/* This driver only support minor >= 8 */
#define TIMB_REQUIRED_MINOR 8
/* Registers of the control area */
#define TIMB_REV_MAJOR 0 x00
#define TIMB_REV_MINOR 0 x04
#define TIMB_HW_CONFIG 0 x08
#define TIMB_SW_RST 0 x40
/* bits in the TIMB_HW_CONFIG register */
#define TIMB_HW_CONFIG_SPI_8BIT 0 x80
#define TIMB_HW_VER_MASK 0 x0f
#define TIMB_HW_VER0 0 x00
#define TIMB_HW_VER1 0 x01
#define TIMB_HW_VER2 0 x02
#define TIMB_HW_VER3 0 x03
#define OCORESOFFSET 0 x0
#define OCORESEND 0 x1f
#define SPIOFFSET 0 x80
#define SPIEND 0 xff
#define UARTLITEOFFSET 0 x100
#define UARTLITEEND 0 x10f
#define RDSOFFSET 0 x180
#define RDSEND 0 x183
#define ETHOFFSET 0 x300
#define ETHEND 0 x3ff
#define GPIOOFFSET 0 x400
#define GPIOEND 0 x7ff
#define CHIPCTLOFFSET 0 x800
#define CHIPCTLEND 0 x8ff
#define CHIPCTLSIZE (CHIPCTLEND - CHIPCTLOFFSET + 1 )
#define INTCOFFSET 0 xc00
#define INTCEND 0 xfff
#define INTCSIZE (INTCEND - INTCOFFSET)
#define MOSTOFFSET 0 x1000
#define MOSTEND 0 x13ff
#define UARTOFFSET 0 x1400
#define UARTEND 0 x17ff
#define XIICOFFSET 0 x1800
#define XIICEND 0 x19ff
#define I2SOFFSET 0 x1C00
#define I2SEND 0 x1fff
#define LOGIWOFFSET 0 x30000
#define LOGIWEND 0 x37fff
#define MLCOREOFFSET 0 x40000
#define MLCOREEND 0 x43fff
#define DMAOFFSET 0 x01000000
#define DMAEND 0 x013fffff
/* SDHC0 is placed in PCI bar 1 */
#define SDHC0OFFSET 0 x00
#define SDHC0END 0 xff
/* SDHC1 is placed in PCI bar 2 */
#define SDHC1OFFSET 0 x00
#define SDHC1END 0 xff
#define PCI_VENDOR_ID_TIMB 0 x10ee
#define PCI_DEVICE_ID_TIMB 0 xa123
#define IRQ_TIMBERDALE_INIC 0
#define IRQ_TIMBERDALE_MLB 1
#define IRQ_TIMBERDALE_GPIO 2
#define IRQ_TIMBERDALE_I2C 3
#define IRQ_TIMBERDALE_UART 4
#define IRQ_TIMBERDALE_DMA 5
#define IRQ_TIMBERDALE_I2S 6
#define IRQ_TIMBERDALE_TSC_INT 7
#define IRQ_TIMBERDALE_SDHC 8
#define IRQ_TIMBERDALE_ADV7180 9
#define IRQ_TIMBERDALE_ETHSW_IF 10
#define IRQ_TIMBERDALE_SPI 11
#define IRQ_TIMBERDALE_UARTLITE 12
#define IRQ_TIMBERDALE_MLCORE 13
#define IRQ_TIMBERDALE_MLCORE_BUF 14
#define IRQ_TIMBERDALE_RDS 15
#define TIMBERDALE_NR_IRQS 16
#define GPIO_PIN_ASCB 8
#define GPIO_PIN_INIC_RST 14
#define GPIO_PIN_BT_RST 15
#define GPIO_NR_PINS 16
/* DMA Channels */
#define DMA_UART_RX 0
#define DMA_UART_TX 1
#define DMA_MLB_RX 2
#define DMA_MLB_TX 3
#define DMA_VIDEO_RX 4
#define DMA_VIDEO_DROP 5
#define DMA_SDHCI_RX 6
#define DMA_SDHCI_TX 7
#define DMA_ETH_RX 8
#define DMA_ETH_TX 9
#endif
Messung V0.5 in Prozent C=96 H=94 G=94
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland