Xilinx firmware driver
Schema identifier ($id): "http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nava kishore Manne <nava.kishore.manne@amd.com>"
The zynqmp-firmware node describes the interface to platform firmware. ZynqMP has an interface to communicate with secure firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). These requests include clock management, pin control, device control, power management service, FPGA service and other platform management services.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
For implementations complying for Zynq Ultrascale+ MPSoC.
Exact value (
const):"xlnx,zynqmp-firmware"
Rule 2
For implementations complying for Versal.
Exact value (
const):"xlnx,versal-firmware"
Rule 3
For implementations complying for Versal NET.
Array item rules (
items)Item 1
Item 2
Exact value (
const):"xlnx,versal-firmware"
method — not listed as required here #
The method of calling the PM-API firmware layer. Permitted values are. - "smc" : SMC #0, following the SMCCC - "hvc" : HVC #0, following the SMCCC
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array
Allowed values (enum): "smc", "hvc"
#power-domain-cells — not listed as required here #
Exact value (const): 1
clock-controller — not listed as required here #
Shared schema rule ($ref): /schemas/clock/xlnx,versal-clk.yaml#
The clock controller is a hardware block of Xilinx versal clock tree. It reads required input clock frequencies from the devicetree and acts as clock provider for all clock consumers of PS clocks.list of clock specifiers which are external input clocks to the given clock controller.
Value type (type): "object"
gpio — not listed as required here #
Shared schema rule ($ref): /schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#
The gpio node describes connect to PS_MODE pins via firmware interface.
Value type (type): "object"
soc-nvmem — not listed as required here #
Shared schema rule ($ref): /schemas/nvmem/xlnx,zynqmp-nvmem.yaml#
The ZynqMP MPSoC provides access to the hardware related data like SOC revision, IDCODE and specific purpose efuses.
Value type (type): "object"
pcap — not listed as required here #
Shared schema rule ($ref): /schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml
The ZynqMP SoC uses the PCAP (Processor Configuration Port) to configure the Programmable Logic (PL). The configuration uses the firmware interface.
Value type (type): "object"
pinctrl — not listed as required here #
The pinctrl node provides access to pinconfig and pincontrol functionality available in firmware.
Value type (type): "object"
power-management — not listed as required here #
Shared schema rule ($ref): /schemas/power/reset/xlnx,zynqmp-power.yaml#
The zynqmp-power node describes the power management configurations. It will control remote suspend/shutdown interfaces.
Value type (type): "object"
reset-controller — not listed as required here #
Shared schema rule ($ref): /schemas/reset/xlnx,zynqmp-reset.yaml#
The reset-controller node describes connection to the reset functionality via firmware interface.
Value type (type): "object"
versal-fpga — not listed as required here #
Shared schema rule ($ref): /schemas/fpga/xlnx,versal-fpga.yaml#
Compatible of the FPGA device.
Value type (type): "object"
zynqmp-aes — not listed as required here #
Shared schema rule ($ref): /schemas/crypto/xlnx,zynqmp-aes.yaml#
The ZynqMP AES-GCM hardened cryptographic accelerator is used to encrypt or decrypt the data with provided key and initialization vector.
Value type (type): "object"
Deprecated (deprecated): true
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"xlnx,zynqmp-firmware"When the condition matches (
then) #Properties and child nodes (
properties)
pinctrl— not listed as required hereShared schema rule (
$ref):/schemas/pinctrl/xlnx,zynqmp-pinctrl.yaml#When the condition does not match (
else) #Properties and child nodes (
properties)
pinctrl— not listed as required hereShared schema rule (
$ref):/schemas/pinctrl/xlnx,versal-pinctrl.yaml#
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/power/xlnx-zynqmp-power.h>
firmware {
zynqmp_firmware: zynqmp-firmware {
compatible = "xlnx,zynqmp-firmware";
#power-domain-cells = <1>;
soc-nvmem {
compatible = "xlnx,zynqmp-nvmem-fw";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
soc_revision: soc-revision@0 {
reg = <0x0 0x4>;
};
};
};
gpio {
compatible = "xlnx,zynqmp-gpio-modepin";
gpio-controller;
#gpio-cells = <2>;
};
pcap {
compatible = "xlnx,zynqmp-pcap-fpga";
};
pinctrl {
compatible = "xlnx,zynqmp-pinctrl";
};
power-management {
compatible = "xlnx,zynqmp-power";
interrupts = <0 35 4>;
};
reset-controller {
compatible = "xlnx,zynqmp-reset";
#reset-cells = <1>;
};
};
};
sata {
power-domains = <&zynqmp_firmware PD_SATA>;
};
versal-firmware {
compatible = "xlnx,versal-firmware";
method = "smc";
versal_fpga: versal-fpga {
compatible = "xlnx,versal-fpga";
};
pinctrl {
compatible = "xlnx,versal-pinctrl";
};
xlnx_aes: zynqmp-aes {
compatible = "xlnx,zynqmp-aes";
};
versal_clk: clock-controller {
#clock-cells = <1>;
compatible = "xlnx,versal-clk";
clocks = <&ref>, <&pl_alt_ref>;
clock-names = "ref", "pl_alt_ref";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)