spec_base_regs.cheby 2.8 KB
Newer Older
Tristan Gingold's avatar
Tristan Gingold committed
1
memory-map:
2
  name: spec_base_regs
Tristan Gingold's avatar
Tristan Gingold committed
3 4 5 6
  bus: wb-32-be
  size: 0x2000
  children:
    - submap:
7 8 9 10
        name: metadata
        description: a ROM containing the carrier metadata
        size: 0x40
        interface: sram
Tristan Gingold's avatar
Tristan Gingold committed
11 12 13
    - block:
       name: csr
       description: carrier and fmc status and control
14
       address: 0x40
Tristan Gingold's avatar
Tristan Gingold committed
15
       children:
16 17 18 19 20
       - reg:
          name: app_offset
          description: offset to the application metadata
          access: ro
          width: 32
Tristan Gingold's avatar
Tristan Gingold committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
       - reg:
          name: resets
          description: global and application resets
          access: rw
          width: 32
          children:
           - field:
              name: global
              range: 0
           - field:
              name: appl
              range: 1
       - reg:
          name: fmc_presence
          description: presence lines for the fmcs
          access: ro
          width: 32
38 39 40 41 42
       - reg:
          name: gn4124_status
          description: status of gennum
          access: ro
          width: 32
43
          # field 0: pll locked.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
       - reg:
          name: ddr_status
          description: status of the ddr3 controller
          access: ro
          width: 32
          children:
           - field:
               description: Set when calibration is done.
               name: calib_done
               range: 0
       - reg:
          name: pcb_rev
          description: pcb revision
          access: ro
          width: 32
          children:
           - field:
              name: rev
              range: 3-0
    - submap:
        name: therm_id
        description: Thermometer and unique id
        address: 0x70
        size: 0x10
        interface: wb-32-be
        x-hdl:
          busgroup: True
Tristan Gingold's avatar
Tristan Gingold committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
    - submap:
        name: fmc_i2c
        description: i2c controllers to the fmcs
        address: 0x80
        size: 0x20
        interface: wb-32-be
        x-hdl:
          busgroup: True
    - submap:
        name: flash_spi
        description: spi controller to the flash
        address: 0xa0
        size: 0x20
        interface: wb-32-be
        x-hdl:
          busgroup: True
    - submap:
        name: dma
        description: dma registers for the gennum core
        address: 0xc0
        size: 0x40
        interface: wb-32-be
        x-hdl:
          busgroup: True
    - submap:
        name: vic
        description: vector interrupt controller
98
        address: 0x100
Tristan Gingold's avatar
Tristan Gingold committed
99 100 101 102
        size: 0x100
        interface: wb-32-be
        x-hdl:
          busgroup: True
103 104 105 106 107
    - submap:
        name: buildinfo
        description: a ROM containing build information
        size: 0x100
        interface: sram
Tristan Gingold's avatar
Tristan Gingold committed
108 109 110 111 112 113 114 115
    - submap:
        name: wrc_regs
        address: 0x1000
        description: white-rabbit core registers
        size: 0x1000
        interface: wb-32-be
        x-hdl:
          busgroup: True