otp.h 534 B

1234567891011121314151617181920212223
  1. // See LICENSE for license details.
  2. #ifndef _SIFIVE_OTP_H
  3. #define _SIFIVE_OTP_H
  4. /* Register offsets */
  5. #define OTP_LOCK 0x00
  6. #define OTP_CK 0x04
  7. #define OTP_OE 0x08
  8. #define OTP_SEL 0x0C
  9. #define OTP_WE 0x10
  10. #define OTP_MR 0x14
  11. #define OTP_MRR 0x18
  12. #define OTP_MPP 0x1C
  13. #define OTP_VRREN 0x20
  14. #define OTP_VPPEN 0x24
  15. #define OTP_A 0x28
  16. #define OTP_D 0x2C
  17. #define OTP_Q 0x30
  18. #define OTP_READ_TIMINGS 0x34
  19. #endif