Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Peci bindings

Single-page view · as markdown

Nuvoton PECI Bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Peci bindings

Schema identifier ($id): "http://devicetree.org/schemas/peci/nuvoton,npcm-peci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomer Maimon <tmaimon77@gmail.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): "nuvoton,npcm750-peci", "nuvoton,npcm845-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 APB clock.

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

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
peci-controller@f0100000 {
  compatible = "nuvoton,npcm750-peci";
  reg = <0xf0100000 0x200>;
  interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&clk NPCM7XX_CLK_APB3>;
  cmd-timeout-ms = <1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Aspeed PECI Bus

Peios Kernel / Hardware and drivers / Device-tree binding reference / Peci bindings

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)

Generic for PECI

Peios Kernel / Hardware and drivers / Device-tree binding reference / Peci bindings

Schema identifier ($id): "http://devicetree.org/schemas/peci/peci-controller.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Iwona Winiarska <iwona.winiarska@intel.com>"

PECI (Platform Environment Control Interface) is an interface that provides a communication channel from Intel processors and chipset components to external monitoring or control devices.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^peci-controller(@.*)?$"

cmd-timeout-ms — not listed as required here #

Command timeout in units of ms.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

peci-controller@1e78b000 {
  reg = <0x1e78b000 0x100>;
  cmd-timeout-ms = <500>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Peios Learn — documentation for Peios software.

Built with Trail.