~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/bus/st,stm32mp25-rifsc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/bus/st,stm32mp25-rifsc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: STM32 Resource isolation framework security controller
  8 
  9 maintainers:
 10   - Gatien Chevallier <gatien.chevallier@foss.st.com>
 11 
 12 description: |
 13   Resource isolation framework (RIF) is a comprehensive set of hardware blocks
 14   designed to enforce and manage isolation of STM32 hardware resources like
 15   memory and peripherals.
 16 
 17   The RIFSC (RIF security controller) is composed of three sets of registers,
 18   each managing a specific set of hardware resources:
 19     - RISC registers associated with RISUP logic (resource isolation device unit
 20       for peripherals), assign all non-RIF aware peripherals to zero, one or
 21       any security domains (secure, privilege, compartment).
 22     - RIMC registers: associated with RIMU logic (resource isolation master
 23       unit), assign all non RIF-aware bus master to one security domain by
 24       setting secure, privileged and compartment information on the system bus.
 25       Alternatively, the RISUP logic controlling the device port access to a
 26       peripheral can assign target bus attributes to this peripheral master port
 27       (supported attribute: CID).
 28     - RISC registers associated with RISAL logic (resource isolation device unit
 29       for address space - Lite version), assign address space subregions to one
 30       security domains (secure, privilege, compartment).
 31 
 32 select:
 33   properties:
 34     compatible:
 35       contains:
 36         const: st,stm32mp25-rifsc
 37   required:
 38     - compatible
 39 
 40 properties:
 41   compatible:
 42     items:
 43       - const: st,stm32mp25-rifsc
 44       - const: simple-bus
 45 
 46   reg:
 47     maxItems: 1
 48 
 49   "#address-cells":
 50     const: 1
 51 
 52   "#size-cells":
 53     const: 1
 54 
 55   ranges: true
 56 
 57   "#access-controller-cells":
 58     const: 1
 59     description:
 60       Contains the firewall ID associated to the peripheral.
 61 
 62 patternProperties:
 63   "^.*@[0-9a-f]+$":
 64     description: Peripherals
 65     type: object
 66 
 67     additionalProperties: true
 68 
 69     required:
 70       - access-controllers
 71 
 72 required:
 73   - compatible
 74   - reg
 75   - "#address-cells"
 76   - "#size-cells"
 77   - "#access-controller-cells"
 78   - ranges
 79 
 80 additionalProperties: false
 81 
 82 examples:
 83   - |
 84     // In this example, the usart2 device refers to rifsc as its domain
 85     // controller.
 86     // Access rights are verified before creating devices.
 87 
 88     #include <dt-bindings/interrupt-controller/arm-gic.h>
 89 
 90     rifsc: bus@42080000 {
 91         compatible = "st,stm32mp25-rifsc", "simple-bus";
 92         reg = <0x42080000 0x1000>;
 93         #address-cells = <1>;
 94         #size-cells = <1>;
 95         #access-controller-cells = <1>;
 96         ranges;
 97 
 98         usart2: serial@400e0000 {
 99               compatible = "st,stm32h7-uart";
100               reg = <0x400e0000 0x400>;
101               interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
102               clocks = <&ck_flexgen_08>;
103               access-controllers = <&rifsc 32>;
104         };
105     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php