1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 #ifndef __MACH_PUV3_HARDWARE_H__
  12 #error You must include hardware.h not PKUnity.h
  13 #endif
  14 
  15 #include <mach/bitfield.h>
  16 
  17 
  18 
  19 
  20 #define PKUNITY_SDRAM_BASE              0x00000000 
  21 #define PKUNITY_MMIO_BASE               0x80000000 
  22 
  23 
  24 
  25 
  26 
  27 
  28 
  29 
  30 
  31 #define PKUNITY_PCI_BASE                io_p2v(0x80000000) 
  32 #include <mach/regs-pci.h>
  33 
  34 #define PKUNITY_PCICFG_BASE             (PKUNITY_PCI_BASE + 0x0)
  35 #define PKUNITY_PCIBRI_BASE             (PKUNITY_PCI_BASE + 0x00010000)
  36 #define PKUNITY_PCILIO_BASE             (PKUNITY_PCI_BASE + 0x00030000)
  37 #define PKUNITY_PCIMEM_BASE             (PKUNITY_PCI_BASE + 0x10000000)
  38 #define PKUNITY_PCIAHB_BASE             (PKUNITY_PCI_BASE + 0x18000000)
  39 
  40 
  41 
  42 
  43 #define PKUNITY_AHB_BASE                io_p2v(0xC0000000)
  44 
  45 
  46 
  47 #define PKUNITY_ARBITER_BASE            (PKUNITY_AHB_BASE + 0x000000) 
  48 #define PKUNITY_DDR2CTRL_BASE           (PKUNITY_AHB_BASE + 0x100000) 
  49 #define PKUNITY_DMAC_BASE               (PKUNITY_AHB_BASE + 0x200000) 
  50 #include <mach/regs-dmac.h>
  51 #define PKUNITY_UMAL_BASE               (PKUNITY_AHB_BASE + 0x300000) 
  52 #include <mach/regs-umal.h>
  53 #define PKUNITY_USB_BASE                (PKUNITY_AHB_BASE + 0x400000) 
  54 #define PKUNITY_SATA_BASE               (PKUNITY_AHB_BASE + 0x500000) 
  55 #define PKUNITY_SMC_BASE                (PKUNITY_AHB_BASE + 0x600000) 
  56 
  57 #define PKUNITY_MME_BASE                (PKUNITY_AHB_BASE + 0x700000) 
  58 #define PKUNITY_UNIGFX_BASE             (PKUNITY_AHB_BASE + 0x800000) 
  59 #include <mach/regs-unigfx.h>
  60 #define PKUNITY_NAND_BASE               (PKUNITY_AHB_BASE + 0x900000) 
  61 #include <mach/regs-nand.h>
  62 #define PKUNITY_H264D_BASE              (PKUNITY_AHB_BASE + 0xA00000) 
  63 #define PKUNITY_H264E_BASE              (PKUNITY_AHB_BASE + 0xB00000) 
  64 
  65 
  66 
  67 
  68 #define PKUNITY_APB_BASE                io_p2v(0xEE000000)
  69 
  70 #define PKUNITY_UART0_BASE              (PKUNITY_APB_BASE + 0x000000) 
  71 #define PKUNITY_UART1_BASE              (PKUNITY_APB_BASE + 0x100000) 
  72 #include <mach/regs-uart.h>
  73 #define PKUNITY_I2C_BASE                (PKUNITY_APB_BASE + 0x200000) 
  74 #include <mach/regs-i2c.h>
  75 #define PKUNITY_SPI_BASE                (PKUNITY_APB_BASE + 0x300000) 
  76 #include <mach/regs-spi.h>
  77 #define PKUNITY_AC97_BASE               (PKUNITY_APB_BASE + 0x400000) 
  78 #include <mach/regs-ac97.h>
  79 #define PKUNITY_GPIO_BASE               (PKUNITY_APB_BASE + 0x500000) 
  80 #include <mach/regs-gpio.h>
  81 #define PKUNITY_INTC_BASE               (PKUNITY_APB_BASE + 0x600000) 
  82 #include <mach/regs-intc.h>
  83 #define PKUNITY_RTC_BASE                (PKUNITY_APB_BASE + 0x700000) 
  84 #include <mach/regs-rtc.h>
  85 #define PKUNITY_OST_BASE                (PKUNITY_APB_BASE + 0x800000) 
  86 #include <mach/regs-ost.h>
  87 #define PKUNITY_RESETC_BASE             (PKUNITY_APB_BASE + 0x900000) 
  88 #include <mach/regs-resetc.h>
  89 #define PKUNITY_PM_BASE                 (PKUNITY_APB_BASE + 0xA00000) 
  90 #include <mach/regs-pm.h>
  91 #define PKUNITY_PS2_BASE                (PKUNITY_APB_BASE + 0xB00000) 
  92 #include <mach/regs-ps2.h>
  93 #define PKUNITY_SDC_BASE                (PKUNITY_APB_BASE + 0xC00000) 
  94 #include <mach/regs-sdc.h>
  95