Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: IPMI device bindings
0008 
0009 description: IPMI device bindings
0010 
0011 maintainers:
0012   - Corey Minyard <cminyard@mvista.com>
0013 
0014 properties:
0015   compatible:
0016     enum:
0017       - ipmi-kcs
0018       - ipmi-smic
0019       - ipmi-bt
0020 
0021   device_type:
0022     items:
0023       - const: "ipmi"
0024 
0025   reg:
0026     maxItems: 1
0027 
0028   interrupts:
0029     description: Interface is polled if this property is omitted.
0030     maxItems: 1
0031 
0032   reg-size:
0033     description: The access width of the register in bytes. Defaults to 1.
0034     $ref: /schemas/types.yaml#/definitions/uint32
0035     enum: [1, 2, 4, 8]
0036 
0037   reg-spacing:
0038     $ref: /schemas/types.yaml#/definitions/uint32
0039     description: The number of bytes between register starts. Defaults to 1.
0040 
0041   reg-shift:
0042     description: |
0043       The amount of bits to shift the register content to the right to get
0044       the data into bit zero.
0045     $ref: /schemas/types.yaml#/definitions/uint32
0046     maximum: 56
0047 
0048 required:
0049   - compatible
0050   - reg
0051 
0052 additionalProperties: false
0053 
0054 examples:
0055   - |
0056     smic@fff3a000 {
0057         compatible = "ipmi-smic";
0058         device_type = "ipmi";
0059         reg = <0xfff3a000 0x1000>;
0060         interrupts = <0 24 4>;
0061         reg-size = <4>;
0062         reg-spacing = <4>;
0063     };