Aspeed PECI Bus
Schema identifier ($id): "http://devicetree.org/schemas/peci/peci-aspeed.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Iwona Winiarska <iwona.winiarska@intel.com>", "Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):peci-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-peci", "aspeed,ast2500-peci", "aspeed,ast2600-peci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Clock source for PECI controller. Should reference the external oscillator clock.
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
cmd-timeout-ms — not listed as required here #
Minimum value (minimum): 1
Maximum value (maximum): 1000
Default value (default): 1000
clock-frequency — not listed as required here #
The desired operation frequency of PECI controller in Hz.
Minimum value (minimum): 2000
Maximum value (maximum): 2000000
Default value (default): 1000000
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/ast2600-clock.h>
peci-controller@1e78b000 {
compatible = "aspeed,ast2600-peci";
reg = <0x1e78b000 0x100>;
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>;
resets = <&syscon ASPEED_RESET_PECI>;
cmd-timeout-ms = <1000>;
clock-frequency = <1000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)