xref: /linux/Documentation/devicetree/bindings/peci/nuvoton,npcm-peci.yaml (revision ba199dc909a20fe62270ae4e93f263987bb9d119)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/peci/nuvoton,npcm-peci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nuvoton PECI Bus
8
9maintainers:
10  - Tomer Maimon <tmaimon77@gmail.com>
11
12allOf:
13  - $ref: peci-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - nuvoton,npcm750-peci
19      - nuvoton,npcm845-peci
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  clocks:
28    description:
29      Clock source for PECI controller. Should reference the APB clock.
30    maxItems: 1
31
32  cmd-timeout-ms:
33    minimum: 1
34    maximum: 1000
35    default: 1000
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - clocks
42
43additionalProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
48    #include <dt-bindings/interrupt-controller/arm-gic.h>
49    peci-controller@f0100000 {
50      compatible = "nuvoton,npcm750-peci";
51      reg = <0xf0100000 0x200>;
52      interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
53      clocks = <&clk NPCM7XX_CLK_APB3>;
54      cmd-timeout-ms = <1000>;
55    };
56...
57