| 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 |
| 8 |
|
| 9 |
description: IPMI device bindings |
| 10 |
|
| 11 |
maintainers: |
| 12 |
- Corey Minyard <[email protected]> |
| 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 |
additionalProperties: false |
| 53 |
|
| 54 |
examples: |
| 55 |
- | |
| 56 |
smic@fff3a000 { |
| 57 |
compatible = "ipmi-smic"; |
| 58 |
device_type = "ipmi"; |
| 59 |
reg = <0xfff3a000 0x1000>; |
| 60 |
interrupts = <0 24 4>; |
| 61 |
reg-size = <4>; |
| 62 |
reg-spacing = <4>; |
| 63 |
}; |