Merge tag 'pinctrl-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / ipmi / ipmi-smic.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: IPMI device bindings
8
9 description: IPMI device bindings
10
11 maintainers:
12   - Corey Minyard <cminyard@mvista.com>
13
14 properties:
15   compatible:
16     enum:
17       - ipmi-kcs
18       - ipmi-smic
19       - ipmi-bt
20
21   device_type:
22     items:
23       - const: "ipmi"
24
25   reg:
26     maxItems: 1
27
28   interrupts:
29     description: Interface is polled if this property is omitted.
30     maxItems: 1
31
32   reg-size:
33     description: The access width of the register in bytes. Defaults to 1.
34     $ref: /schemas/types.yaml#/definitions/uint32
35     enum: [1, 2, 4, 8]
36
37   reg-spacing:
38     $ref: /schemas/types.yaml#/definitions/uint32
39     description: The number of bytes between register starts. Defaults to 1.
40
41   reg-shift:
42     description: |
43       The amount of bits to shift the register content to the right to get
44       the data into bit zero.
45     $ref: /schemas/types.yaml#/definitions/uint32
46     maximum: 56
47
48 required:
49   - compatible
50   - reg
51
52 examples:
53   - |
54     smic@fff3a000 {
55         compatible = "ipmi-smic";
56         device_type = "ipmi";
57         reg = <0xfff3a000 0x1000>;
58         interrupts = <0 24 4>;
59         reg-size = <4>;
60         reg-spacing = <4>;
61     };