1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2017, Schneider Electric 4 * Copyright (c) 2020, Linaro Limited 5 */ 6 7 #ifndef RZN1_REGAUTH_H 8 #define RZN1_REGAUTH_H 9 10 struct regauth_t { 11 uint32_t paddr; 12 uint32_t size; 13 uint32_t rmask; 14 uint32_t wmask; 15 }; 16 17 static const struct regauth_t regauth[] = { 18 /* OTP */ 19 { 0x40007000U, 0x4U, 0x0U, 0x0U }, /* OTPWCTRL */ 20 /* System Controller */ 21 { 0x4000C064U, 0x4U, 0xFFFFFFFFU, 0xFFFFFFE0U }, /* PWRCTRL_DDRC */ 22 { 0x4000C204U, 0x4U, 0x0U, 0x0U }, /* BOOTADDR */ 23 /* DDR CTRL */ 24 { 0x4000D16CU, 0x3FCU, 0x0U, 0x0U }, /* DDR_CTL 91-346 */ 25 { 0x4000E000U, 0x4U, 0xFFFFFFFFU, 0xFFFFFFFEU }, /* UNCCTRL */ 26 { 0x4000E004U, 0x4U, 0xFFFFFFFFU, 0xFFFFFFFEU }, /* DLLCTRL */ 27 }; 28 29 #endif /* RZN1_REGAUTH_H */ 30