Searched +full:stm32 +full:- +full:etzpc (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/bus/st,stm32-etzpc.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: STM32 Extended TrustZone protection controller10 The ETZPC configures TrustZone security in a SoC having bus masters and11 devices with programmable-security attributes (securable resources).14 - Gatien Chevallier <gatien.chevallier@foss.st.com>20 const: st,stm32-etzpc22 - compatible[all …]
1 // SPDX-License-Identifier: GPL-2.0-only3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved22 * ETZPC registers36 * ETZPC miscellaneous48 if (firewall_id >= ctrl->max_entries) { in stm32_etzpc_grant_access()49 dev_err(ctrl->dev, "Invalid sys bus ID %u", firewall_id); in stm32_etzpc_grant_access()50 return -EINVAL; in stm32_etzpc_grant_access()57 /* Verify peripheral is non-secure and attributed to cortex A7 */ in stm32_etzpc_grant_access()58 sec_val = (readl(ctrl->mmio + reg_offset) >> offset) & ETZPC_PROT_MASK; in stm32_etzpc_grant_access()60 dev_dbg(ctrl->dev, "Invalid bus configuration: reg_offset %#x, value %d\n", in stm32_etzpc_grant_access()[all …]