dptechnics_dpt-board-v1.cfg 960 B

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Product page:
  3. # https://www.dptechnics.com/en/products/dpt-board-v1.html
  4. #
  5. # JTAG is a 5 pin array located close to main module in following order:
  6. # 1. JTAG TCK
  7. # 2. JTAG TDO
  8. # 3. JTAG TDI
  9. # 4. JTAG TMS
  10. # 5. GND The GND is located near letter G of word JTAG on board.
  11. #
  12. # Two RST pins are connected to:
  13. # 1. GND
  14. # 2. GPIO11 this pin is located near letter R of word RST.
  15. #
  16. # To enable EJTAG mode, GPIO11 (RST[1]) pin should be pulled up. For example
  17. # with 10K resistor connected to V3.3 pin.
  18. #
  19. # This board is powered from micro USB connector. No real reset pin or button, for
  20. # example RESET_L is available.
  21. source [find target/atheros_ar9331.cfg]
  22. $_TARGETNAME configure -event reset-init {
  23. ar9331_25mhz_pll_init
  24. sleep 1
  25. ar9331_ddr2_init
  26. }
  27. set ram_boot_address 0xa0000000
  28. $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000
  29. flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0