Home
last modified time | relevance | path

Searched +full:stm32 +full:- +full:etzpc (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/bus/
H A Dst,stm32-etzpc.yaml1 # 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 controller
10 The ETZPC configures TrustZone security in a SoC having bus masters and
11 devices with programmable-security attributes (securable resources).
14 - Gatien Chevallier <gatien.chevallier@foss.st.com>
20 const: st,stm32-etzpc
22 - compatible
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp131.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp13-clks.h>
8 #include <dt-bindings/reset/stm32mp13-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
/linux/drivers/bus/
H A Dstm32_etzpc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
22 * ETZPC registers
36 * ETZPC miscellaneous
48 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 …]