Path: blob/master/arch/mips/powertv/asic/asic-zeus.c
10818 views
/*1* Locations of devices in the Zeus ASIC2*3* Copyright (C) 2005-2009 Scientific-Atlanta, Inc.4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License16* along with this program; if not, write to the Free Software17* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA18*19* Author: Ken Eppinett20* David Schleef <[email protected]>21*22* Description: Defines the platform resources for the SA settop.23*/2425#include <linux/init.h>26#include <asm/mach-powertv/asic.h>2728#define ZEUS_ADDR(x) (ZEUS_IO_BASE + (x))2930const struct register_map zeus_register_map __initdata = {31.eic_slow0_strt_add = {.phys = ZEUS_ADDR(0x000000)},32.eic_cfg_bits = {.phys = ZEUS_ADDR(0x000038)},33.eic_ready_status = {.phys = ZEUS_ADDR(0x00004c)},3435.chipver3 = {.phys = ZEUS_ADDR(0x280800)},36.chipver2 = {.phys = ZEUS_ADDR(0x280804)},37.chipver1 = {.phys = ZEUS_ADDR(0x280808)},38.chipver0 = {.phys = ZEUS_ADDR(0x28080c)},3940/* The registers of IRBlaster */41.uart1_intstat = {.phys = ZEUS_ADDR(0x281800)},42.uart1_inten = {.phys = ZEUS_ADDR(0x281804)},43.uart1_config1 = {.phys = ZEUS_ADDR(0x281808)},44.uart1_config2 = {.phys = ZEUS_ADDR(0x28180C)},45.uart1_divisorhi = {.phys = ZEUS_ADDR(0x281810)},46.uart1_divisorlo = {.phys = ZEUS_ADDR(0x281814)},47.uart1_data = {.phys = ZEUS_ADDR(0x281818)},48.uart1_status = {.phys = ZEUS_ADDR(0x28181C)},4950.int_stat_3 = {.phys = ZEUS_ADDR(0x282800)},51.int_stat_2 = {.phys = ZEUS_ADDR(0x282804)},52.int_stat_1 = {.phys = ZEUS_ADDR(0x282808)},53.int_stat_0 = {.phys = ZEUS_ADDR(0x28280c)},54.int_config = {.phys = ZEUS_ADDR(0x282810)},55.int_int_scan = {.phys = ZEUS_ADDR(0x282818)},56.ien_int_3 = {.phys = ZEUS_ADDR(0x282830)},57.ien_int_2 = {.phys = ZEUS_ADDR(0x282834)},58.ien_int_1 = {.phys = ZEUS_ADDR(0x282838)},59.ien_int_0 = {.phys = ZEUS_ADDR(0x28283c)},60.int_level_3_3 = {.phys = ZEUS_ADDR(0x282880)},61.int_level_3_2 = {.phys = ZEUS_ADDR(0x282884)},62.int_level_3_1 = {.phys = ZEUS_ADDR(0x282888)},63.int_level_3_0 = {.phys = ZEUS_ADDR(0x28288c)},64.int_level_2_3 = {.phys = ZEUS_ADDR(0x282890)},65.int_level_2_2 = {.phys = ZEUS_ADDR(0x282894)},66.int_level_2_1 = {.phys = ZEUS_ADDR(0x282898)},67.int_level_2_0 = {.phys = ZEUS_ADDR(0x28289c)},68.int_level_1_3 = {.phys = ZEUS_ADDR(0x2828a0)},69.int_level_1_2 = {.phys = ZEUS_ADDR(0x2828a4)},70.int_level_1_1 = {.phys = ZEUS_ADDR(0x2828a8)},71.int_level_1_0 = {.phys = ZEUS_ADDR(0x2828ac)},72.int_level_0_3 = {.phys = ZEUS_ADDR(0x2828b0)},73.int_level_0_2 = {.phys = ZEUS_ADDR(0x2828b4)},74.int_level_0_1 = {.phys = ZEUS_ADDR(0x2828b8)},75.int_level_0_0 = {.phys = ZEUS_ADDR(0x2828bc)},76.int_docsis_en = {.phys = ZEUS_ADDR(0x2828F4)},7778.mips_pll_setup = {.phys = ZEUS_ADDR(0x1a0000)},79.fs432x4b4_usb_ctl = {.phys = ZEUS_ADDR(0x1a0018)},80.test_bus = {.phys = ZEUS_ADDR(0x1a0238)},81.crt_spare = {.phys = ZEUS_ADDR(0x1a0090)},82.usb2_ohci_int_mask = {.phys = ZEUS_ADDR(0x1e000c)},83.usb2_strap = {.phys = ZEUS_ADDR(0x1e0014)},84.ehci_hcapbase = {.phys = ZEUS_ADDR(0x1FFE00)},85.ohci_hc_revision = {.phys = ZEUS_ADDR(0x1FFC00)},86.bcm1_bs_lmi_steer = {.phys = ZEUS_ADDR(0x2C0008)},87.usb2_control = {.phys = ZEUS_ADDR(0x2c01a0)},88.usb2_stbus_obc = {.phys = ZEUS_ADDR(0x1FFF00)},89.usb2_stbus_mess_size = {.phys = ZEUS_ADDR(0x1FFF04)},90.usb2_stbus_chunk_size = {.phys = ZEUS_ADDR(0x1FFF08)},9192.pcie_regs = {.phys = ZEUS_ADDR(0x200000)},93.tim_ch = {.phys = ZEUS_ADDR(0x282C10)},94.tim_cl = {.phys = ZEUS_ADDR(0x282C14)},95.gpio_dout = {.phys = ZEUS_ADDR(0x282c20)},96.gpio_din = {.phys = ZEUS_ADDR(0x282c24)},97.gpio_dir = {.phys = ZEUS_ADDR(0x282c2C)},98.watchdog = {.phys = ZEUS_ADDR(0x282c30)},99.front_panel = {.phys = ZEUS_ADDR(0x283800)},100};101102103