summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/peci/peci-client.yaml
blob: fc7c4110e9292cca68eb82c5bb68984b89334f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/peci/peci-client.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Generic Device Tree Bindings for PECI clients

maintainers:
  - Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>

properties:
  compatible:
    enum:
      - intel,peci-client

  reg:
    description: |
      Address of a client CPU. According to the PECI specification, client
      addresses start from 0x30.
    maxItems: 1

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/clock/ast2600-clock.h>
    peci: bus@1e78b000 {
        compatible = "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges = <0x0 0x1e78b000 0x60>;

        peci0: peci-bus@0 {
            compatible = "aspeed,ast2600-peci";
            reg = <0x0 0x100>;
            #address-cells = <1>;
            #size-cells = <0>;
            interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
            clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>;
            resets = <&syscon ASPEED_RESET_PECI>;
            clock-frequency = <24000000>;

            peci-client@30 {
                compatible = "intel,peci-client";
                reg = <0x30>;
            };

            peci-client@31 {
                compatible = "intel,peci-client";
                reg = <0x31>;
            };
        };
    };
...