xilfpga.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Imagination University Program MIPSfpga
  2. =======================================
  3. Under the Imagination University Program, a microAptiv UP core has been
  4. released for academic usage.
  5. As we are dealing with a MIPS core instantiated on an FPGA, specifications
  6. are fluid and can be varied in RTL.
  7. This binding document is provided as baseline guidance for the example
  8. project provided by IMG.
  9. The example project runs on the Nexys4DDR board by Digilent powered by
  10. the ARTIX-7 FPGA by Xilinx.
  11. Relevant details about the example project and the Nexys4DDR board:
  12. - microAptiv UP core m14Kc
  13. - 50MHz clock speed
  14. - 128Mbyte DDR RAM at 0x0000_0000
  15. - 8Kbyte RAM at 0x1000_0000
  16. - axi_intc at 0x1020_0000
  17. - axi_uart16550 at 0x1040_0000
  18. - axi_gpio at 0x1060_0000
  19. - axi_i2c at 0x10A0_0000
  20. - custom_gpio at 0x10C0_0000
  21. - axi_ethernetlite at 0x10E0_0000
  22. - 8Kbyte BootRAM at 0x1FC0_0000
  23. Required properties:
  24. --------------------
  25. - compatible: Must include "digilent,nexys4ddr","img,xilfpga".
  26. CPU nodes:
  27. ----------
  28. A "cpus" node is required. Required properties:
  29. - #address-cells: Must be 1.
  30. - #size-cells: Must be 0.
  31. A CPU sub-node is also required for at least CPU 0. Required properties:
  32. - device_type: Must be "cpu".
  33. - compatible: Must be "mips,m14Kc".
  34. - reg: Must be <0>.
  35. - clocks: phandle to ext clock for fixed-clock received by MIPS core.
  36. Example:
  37. compatible = "img,xilfpga","digilent,nexys4ddr";
  38. cpus {
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. cpu0: cpu@0 {
  42. device_type = "cpu";
  43. compatible = "mips,m14Kc";
  44. reg = <0>;
  45. clocks = <&ext>;
  46. };
  47. };
  48. ext: ext {
  49. compatible = "fixed-clock";
  50. #clock-cells = <0>;
  51. clock-frequency = <50000000>;
  52. };
  53. Boot protocol:
  54. --------------
  55. The BootRAM is a writeable "RAM" in FPGA at 0x1FC0_0000.
  56. This is for easy reprogrammibility via JTAG.
  57. The BootRAM initializes the cache and the axi_uart peripheral.
  58. DDR initialization is already handled by a HW IP block.
  59. When the example project bitstream is loaded, the cpu_reset button
  60. needs to be pressed.
  61. The bootram initializes the cache and axi_uart.
  62. Then outputs MIPSFPGA\n\r on the serial port on the Nexys4DDR board.
  63. At this point, the board is ready to load the Linux kernel
  64. vmlinux file via JTAG.