Path: blob/master/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
52931 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/firmware/intel,stratix10-svc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Intel Service Layer Driver for Stratix10 SoC78maintainers:9- Dinh Nguyen <dinguyen@kernel.org>10- Mahesh Rao <mahesh.rao@altera.com>1112description: >13Intel Stratix10 SoC is composed of a 64 bit quad-core ARM Cortex A53 hard14processor system (HPS) and Secure Device Manager (SDM). When the FPGA is15configured from HPS, there needs to be a way for HPS to notify SDM the16location and size of the configuration data. Then SDM will get the17configuration data from that location and perform the FPGA configuration.1819To meet the whole system security needs and support virtual machine requesting20communication with SDM, only the secure world of software (EL3, Exception21Layer 3) can interface with SDM. All software entities running on other22exception layers must channel through the EL3 software whenever it needs23service from SDM.2425Intel Stratix10 service layer driver, running at privileged exception level26(EL1, Exception Layer 1), interfaces with the service providers and provides27the services for FPGA configuration, QSPI, Crypto and warm reset. Service layer28driver also manages secure monitor call (SMC) to communicate with secure monitor29code running in EL3.3031properties:32compatible:33enum:34- intel,stratix10-svc35- intel,agilex-svc36- intel,agilex5-svc3738method:39description: |40Supervisory call method to be used to communicate with the41secure service layer.42Permitted values are:43- "smc" : SMC #0, following the SMCCC44- "hvc" : HVC #0, following the SMCCC4546$ref: /schemas/types.yaml#/definitions/string-array47enum:48- smc49- hvc5051memory-region:52maxItems: 153description:54reserved memory region for the service layer driver to55communicate with the secure device manager.5657iommus:58maxItems: 15960fpga-mgr:61$ref: /schemas/fpga/intel,stratix10-soc-fpga-mgr.yaml62description: Optional child node for fpga manager to perform fabric configuration.6364required:65- compatible66- method67- memory-region6869allOf:70- if:71properties:72compatible:73contains:74enum:75- intel,agilex5-svc76then:77required:78- iommus7980additionalProperties: false8182examples:83- |84reserved-memory {85#address-cells = <2>;86#size-cells = <2>;8788service_reserved: svcbuffer@0 {89compatible = "shared-dma-pool";90reg = <0x0 0x0 0x0 0x1000000>;91alignment = <0x1000>;92no-map;93};94};9596firmware {97svc {98compatible = "intel,stratix10-svc";99method = "smc";100memory-region = <&service_reserved>;101102fpga-mgr {103compatible = "intel,stratix10-soc-fpga-mgr";104};105};106};107108109110