Skip to contentSkip to conversation

: tsi108 header fil [...]

PATCH New DENX Support System 1 participant 1 message Nov 2, 2006

lore
Share & tools
lore
#0 lore raw

PATCH v3 6/10 : tsi108 header fil [...]

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006110242000083] was created:

<snip>

Quoted 90 lines

Tundra tsi108 header file.

The Tundra Semiconductor Corporation (Tundra) Tsi108 is a host bridge for PowerPC processors that offers numerous system interconnect options for embedded application designers. The Tsi108 can interconnect 60x or MPX processors to PCI/X peripherals, DDR2-400 memory, Gigabit Ethernet, and Flash. Provided the macro define for tsi108 chip.

---
 include/tsi108.h |  221
++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 221 insertions(+), 0 deletions(-)
include/tsi108.h new file +68 -0
new file mode 100644
index 0000000..072daa0
@@ -0,0 +1,221 @@
+/*****************************************************************************
+ * (C) Copyright 2003;  Tundra Semiconductor Corp.
+ * (C) Copyright 2006;  Freescale Semiconductor Corp.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *****************************************************************************/
+
+/*
+ * FILENAME: tsi108.h
+ *
+ * Originator: Alex Bounine
+ *
+ * DESCRIPTION:
+ * Common definitions for the Tundra Tsi108 bridge chip
+ *
+ */
+
+#ifndef _TSI108_H_
+#define _TSI108_H_
+
+#define TSI108_HLP_REG_OFFSET (0x0000)
+#define TSI108_PCI_REG_OFFSET (0x1000)
+#define TSI108_CLK_REG_OFFSET (0x2000)
+#define TSI108_PB_REG_OFFSET  (0x3000)
+#define TSI108_SD_REG_OFFSET  (0x4000)
+#define TSI108_MPIC_REG_OFFSET  (0x7400)
+
+#define PB_ID               (0x000)
+#define PB_RSR              (0x004)
+#define PB_BUS_MS_SELECT    (0x008)
+#define PB_ISR              (0x00C)
+#define PB_ARB_CTRL         (0x018)
+#define PB_PVT_CTRL2        (0x034)
+#define PB_SCR              (0x400)
+#define PB_ERRCS            (0x404)
+#define PB_AERR             (0x408)
+#define PB_REG_BAR          (0x410)
+#define PB_OCN_BAR1         (0x414)
+#define PB_OCN_BAR2         (0x418)
+#define PB_SDRAM_BAR1       (0x41C)
+#define PB_SDRAM_BAR2       (0x420)
+#define PB_MCR              (0xC00)
+#define PB_MCMD             (0xC04)
+
+#define HLP_B0_ADDR         (0x000)
+#define HLP_B1_ADDR         (0x010)
+#define HLP_B2_ADDR         (0x020)
+#define HLP_B3_ADDR         (0x030)
+
+#define HLP_B0_MASK         (0x004)
+#define HLP_B1_MASK         (0x014)
+#define HLP_B2_MASK         (0x024)
+#define HLP_B3_MASK         (0x034)
+
+#define HLP_B0_CTRL0        (0x008)

include/tsi108.h line 78

Quoted 10 lines
include/tsi108.h new file +10 -0
+#define HLP_B1_CTRL0        (0x018)
+#define HLP_B2_CTRL0        (0x028)
+#define HLP_B3_CTRL0        (0x038)
+
+#define HLP_B0_CTRL1        (0x00C)
+#define HLP_B1_CTRL1        (0x01C)
+#define HLP_B2_CTRL1        (0x02C)
+#define HLP_B3_CTRL1        (0x03C)
+
+#define PCI_CSR             (0x004)

</snip>

Your U-Boot support team