oxsemi,ox820.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms and conditions of the GNU General Public License,
  6. * version 2, as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef DT_RESET_OXSEMI_OX820_H
  17. #define DT_RESET_OXSEMI_OX820_H
  18. #define RESET_SCU 0
  19. #define RESET_LEON 1
  20. #define RESET_ARM0 2
  21. #define RESET_ARM1 3
  22. #define RESET_USBHS 4
  23. #define RESET_USBPHYA 5
  24. #define RESET_MAC 6
  25. #define RESET_PCIEA 7
  26. #define RESET_SGDMA 8
  27. #define RESET_CIPHER 9
  28. #define RESET_DDR 10
  29. #define RESET_SATA 11
  30. #define RESET_SATA_LINK 12
  31. #define RESET_SATA_PHY 13
  32. #define RESET_PCIEPHY 14
  33. #define RESET_NAND 15
  34. #define RESET_GPIO 16
  35. #define RESET_UART1 17
  36. #define RESET_UART2 18
  37. #define RESET_MISC 19
  38. #define RESET_I2S 20
  39. #define RESET_SD 21
  40. #define RESET_MAC_2 22
  41. #define RESET_PCIEB 23
  42. #define RESET_VIDEO 24
  43. #define RESET_DDR_PHY 25
  44. #define RESET_USBPHYB 26
  45. #define RESET_USBDEV 27
  46. /* Reserved 29 */
  47. #define RESET_ARMDBG 29
  48. #define RESET_PLLA 30
  49. #define RESET_PLLB 31
  50. #endif /* DT_RESET_OXSEMI_OX820_H */