Nuvoton PECI Bus

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)

Edit this page