asic-cronus.c 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. * Locations of devices in the Cronus ASIC
  3. *
  4. * Copyright (C) 2005-2009 Scientific-Atlanta, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. * Author: Ken Eppinett
  21. * David Schleef <ds@schleef.org>
  22. *
  23. * Description: Defines the platform resources for the SA settop.
  24. */
  25. #include <asm/mach-powertv/asic.h>
  26. const struct register_map cronus_register_map = {
  27. .eic_slow0_strt_add = 0x000000,
  28. .eic_cfg_bits = 0x000038,
  29. .eic_ready_status = 0x00004C,
  30. .chipver3 = 0x2A0800,
  31. .chipver2 = 0x2A0804,
  32. .chipver1 = 0x2A0808,
  33. .chipver0 = 0x2A080C,
  34. /* The registers of IRBlaster */
  35. .uart1_intstat = 0x2A1800,
  36. .uart1_inten = 0x2A1804,
  37. .uart1_config1 = 0x2A1808,
  38. .uart1_config2 = 0x2A180C,
  39. .uart1_divisorhi = 0x2A1810,
  40. .uart1_divisorlo = 0x2A1814,
  41. .uart1_data = 0x2A1818,
  42. .uart1_status = 0x2A181C,
  43. .int_stat_3 = 0x2A2800,
  44. .int_stat_2 = 0x2A2804,
  45. .int_stat_1 = 0x2A2808,
  46. .int_stat_0 = 0x2A280C,
  47. .int_config = 0x2A2810,
  48. .int_int_scan = 0x2A2818,
  49. .ien_int_3 = 0x2A2830,
  50. .ien_int_2 = 0x2A2834,
  51. .ien_int_1 = 0x2A2838,
  52. .ien_int_0 = 0x2A283C,
  53. .int_level_3_3 = 0x2A2880,
  54. .int_level_3_2 = 0x2A2884,
  55. .int_level_3_1 = 0x2A2888,
  56. .int_level_3_0 = 0x2A288C,
  57. .int_level_2_3 = 0x2A2890,
  58. .int_level_2_2 = 0x2A2894,
  59. .int_level_2_1 = 0x2A2898,
  60. .int_level_2_0 = 0x2A289C,
  61. .int_level_1_3 = 0x2A28A0,
  62. .int_level_1_2 = 0x2A28A4,
  63. .int_level_1_1 = 0x2A28A8,
  64. .int_level_1_0 = 0x2A28AC,
  65. .int_level_0_3 = 0x2A28B0,
  66. .int_level_0_2 = 0x2A28B4,
  67. .int_level_0_1 = 0x2A28B8,
  68. .int_level_0_0 = 0x2A28BC,
  69. .int_docsis_en = 0x2A28F4,
  70. .mips_pll_setup = 0x1C0000,
  71. .usb_fs = 0x1C0018,
  72. .test_bus = 0x1C00CC,
  73. .crt_spare = 0x1c00d4,
  74. .usb2_ohci_int_mask = 0x20000C,
  75. .usb2_strap = 0x200014,
  76. .ehci_hcapbase = 0x21FE00,
  77. .ohci_hc_revision = 0x1E0000,
  78. .bcm1_bs_lmi_steer = 0x2E0008,
  79. .usb2_control = 0x2E004C,
  80. .usb2_stbus_obc = 0x21FF00,
  81. .usb2_stbus_mess_size = 0x21FF04,
  82. .usb2_stbus_chunk_size = 0x21FF08,
  83. .pcie_regs = 0x220000,
  84. .tim_ch = 0x2A2C10,
  85. .tim_cl = 0x2A2C14,
  86. .gpio_dout = 0x2A2C20,
  87. .gpio_din = 0x2A2C24,
  88. .gpio_dir = 0x2A2C2C,
  89. .watchdog = 0x2A2C30,
  90. .front_panel = 0x2A3800,
  91. };