1 // THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT 2 3 /** 4 * Copyright (c) 2024 Raspberry Pi Ltd. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 // ============================================================================= 9 // Register block : BOOTRAM 10 // Version : 1 11 // Bus type : apb 12 // Description : Additional registers mapped adjacent to the bootram, for use 13 // by the bootrom. 14 // ============================================================================= 15 #ifndef _HARDWARE_REGS_BOOTRAM_H 16 #define _HARDWARE_REGS_BOOTRAM_H 17 // ============================================================================= 18 // Register : BOOTRAM_WRITE_ONCE0 19 // Description : This registers always ORs writes into its current contents. 20 // Once a bit is set, it can only be cleared by a reset. 21 #define BOOTRAM_WRITE_ONCE0_OFFSET _u(0x00000800) 22 #define BOOTRAM_WRITE_ONCE0_BITS _u(0xffffffff) 23 #define BOOTRAM_WRITE_ONCE0_RESET _u(0x00000000) 24 #define BOOTRAM_WRITE_ONCE0_MSB _u(31) 25 #define BOOTRAM_WRITE_ONCE0_LSB _u(0) 26 #define BOOTRAM_WRITE_ONCE0_ACCESS "RW" 27 // ============================================================================= 28 // Register : BOOTRAM_WRITE_ONCE1 29 // Description : This registers always ORs writes into its current contents. 30 // Once a bit is set, it can only be cleared by a reset. 31 #define BOOTRAM_WRITE_ONCE1_OFFSET _u(0x00000804) 32 #define BOOTRAM_WRITE_ONCE1_BITS _u(0xffffffff) 33 #define BOOTRAM_WRITE_ONCE1_RESET _u(0x00000000) 34 #define BOOTRAM_WRITE_ONCE1_MSB _u(31) 35 #define BOOTRAM_WRITE_ONCE1_LSB _u(0) 36 #define BOOTRAM_WRITE_ONCE1_ACCESS "RW" 37 // ============================================================================= 38 // Register : BOOTRAM_BOOTLOCK_STAT 39 // Description : Bootlock status register. 1=unclaimed, 0=claimed. These locks 40 // function identically to the SIO spinlocks, but are reserved for 41 // bootrom use. 42 #define BOOTRAM_BOOTLOCK_STAT_OFFSET _u(0x00000808) 43 #define BOOTRAM_BOOTLOCK_STAT_BITS _u(0x000000ff) 44 #define BOOTRAM_BOOTLOCK_STAT_RESET _u(0x000000ff) 45 #define BOOTRAM_BOOTLOCK_STAT_MSB _u(7) 46 #define BOOTRAM_BOOTLOCK_STAT_LSB _u(0) 47 #define BOOTRAM_BOOTLOCK_STAT_ACCESS "RW" 48 // ============================================================================= 49 // Register : BOOTRAM_BOOTLOCK0 50 // Description : Read to claim and check. Write to unclaim. The value returned 51 // on successful claim is 1 << n, and on failed claim is zero. 52 #define BOOTRAM_BOOTLOCK0_OFFSET _u(0x0000080c) 53 #define BOOTRAM_BOOTLOCK0_BITS _u(0xffffffff) 54 #define BOOTRAM_BOOTLOCK0_RESET _u(0x00000000) 55 #define BOOTRAM_BOOTLOCK0_MSB _u(31) 56 #define BOOTRAM_BOOTLOCK0_LSB _u(0) 57 #define BOOTRAM_BOOTLOCK0_ACCESS "RW" 58 // ============================================================================= 59 // Register : BOOTRAM_BOOTLOCK1 60 // Description : Read to claim and check. Write to unclaim. The value returned 61 // on successful claim is 1 << n, and on failed claim is zero. 62 #define BOOTRAM_BOOTLOCK1_OFFSET _u(0x00000810) 63 #define BOOTRAM_BOOTLOCK1_BITS _u(0xffffffff) 64 #define BOOTRAM_BOOTLOCK1_RESET _u(0x00000000) 65 #define BOOTRAM_BOOTLOCK1_MSB _u(31) 66 #define BOOTRAM_BOOTLOCK1_LSB _u(0) 67 #define BOOTRAM_BOOTLOCK1_ACCESS "RW" 68 // ============================================================================= 69 // Register : BOOTRAM_BOOTLOCK2 70 // Description : Read to claim and check. Write to unclaim. The value returned 71 // on successful claim is 1 << n, and on failed claim is zero. 72 #define BOOTRAM_BOOTLOCK2_OFFSET _u(0x00000814) 73 #define BOOTRAM_BOOTLOCK2_BITS _u(0xffffffff) 74 #define BOOTRAM_BOOTLOCK2_RESET _u(0x00000000) 75 #define BOOTRAM_BOOTLOCK2_MSB _u(31) 76 #define BOOTRAM_BOOTLOCK2_LSB _u(0) 77 #define BOOTRAM_BOOTLOCK2_ACCESS "RW" 78 // ============================================================================= 79 // Register : BOOTRAM_BOOTLOCK3 80 // Description : Read to claim and check. Write to unclaim. The value returned 81 // on successful claim is 1 << n, and on failed claim is zero. 82 #define BOOTRAM_BOOTLOCK3_OFFSET _u(0x00000818) 83 #define BOOTRAM_BOOTLOCK3_BITS _u(0xffffffff) 84 #define BOOTRAM_BOOTLOCK3_RESET _u(0x00000000) 85 #define BOOTRAM_BOOTLOCK3_MSB _u(31) 86 #define BOOTRAM_BOOTLOCK3_LSB _u(0) 87 #define BOOTRAM_BOOTLOCK3_ACCESS "RW" 88 // ============================================================================= 89 // Register : BOOTRAM_BOOTLOCK4 90 // Description : Read to claim and check. Write to unclaim. The value returned 91 // on successful claim is 1 << n, and on failed claim is zero. 92 #define BOOTRAM_BOOTLOCK4_OFFSET _u(0x0000081c) 93 #define BOOTRAM_BOOTLOCK4_BITS _u(0xffffffff) 94 #define BOOTRAM_BOOTLOCK4_RESET _u(0x00000000) 95 #define BOOTRAM_BOOTLOCK4_MSB _u(31) 96 #define BOOTRAM_BOOTLOCK4_LSB _u(0) 97 #define BOOTRAM_BOOTLOCK4_ACCESS "RW" 98 // ============================================================================= 99 // Register : BOOTRAM_BOOTLOCK5 100 // Description : Read to claim and check. Write to unclaim. The value returned 101 // on successful claim is 1 << n, and on failed claim is zero. 102 #define BOOTRAM_BOOTLOCK5_OFFSET _u(0x00000820) 103 #define BOOTRAM_BOOTLOCK5_BITS _u(0xffffffff) 104 #define BOOTRAM_BOOTLOCK5_RESET _u(0x00000000) 105 #define BOOTRAM_BOOTLOCK5_MSB _u(31) 106 #define BOOTRAM_BOOTLOCK5_LSB _u(0) 107 #define BOOTRAM_BOOTLOCK5_ACCESS "RW" 108 // ============================================================================= 109 // Register : BOOTRAM_BOOTLOCK6 110 // Description : Read to claim and check. Write to unclaim. The value returned 111 // on successful claim is 1 << n, and on failed claim is zero. 112 #define BOOTRAM_BOOTLOCK6_OFFSET _u(0x00000824) 113 #define BOOTRAM_BOOTLOCK6_BITS _u(0xffffffff) 114 #define BOOTRAM_BOOTLOCK6_RESET _u(0x00000000) 115 #define BOOTRAM_BOOTLOCK6_MSB _u(31) 116 #define BOOTRAM_BOOTLOCK6_LSB _u(0) 117 #define BOOTRAM_BOOTLOCK6_ACCESS "RW" 118 // ============================================================================= 119 // Register : BOOTRAM_BOOTLOCK7 120 // Description : Read to claim and check. Write to unclaim. The value returned 121 // on successful claim is 1 << n, and on failed claim is zero. 122 #define BOOTRAM_BOOTLOCK7_OFFSET _u(0x00000828) 123 #define BOOTRAM_BOOTLOCK7_BITS _u(0xffffffff) 124 #define BOOTRAM_BOOTLOCK7_RESET _u(0x00000000) 125 #define BOOTRAM_BOOTLOCK7_MSB _u(31) 126 #define BOOTRAM_BOOTLOCK7_LSB _u(0) 127 #define BOOTRAM_BOOTLOCK7_ACCESS "RW" 128 // ============================================================================= 129 #endif // _HARDWARE_REGS_BOOTRAM_H 130 131