1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: IPMI device 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotdescription: IPMI device bindings 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadotmaintainers: 12c66ec88fSEmmanuel Vadot - Corey Minyard <cminyard@mvista.com> 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadotproperties: 15c66ec88fSEmmanuel Vadot compatible: 16c66ec88fSEmmanuel Vadot enum: 17c66ec88fSEmmanuel Vadot - ipmi-kcs 18c66ec88fSEmmanuel Vadot - ipmi-smic 19c66ec88fSEmmanuel Vadot - ipmi-bt 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot device_type: 22c66ec88fSEmmanuel Vadot items: 23*aa1a8ff2SEmmanuel Vadot - const: ipmi 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot reg: 26c66ec88fSEmmanuel Vadot maxItems: 1 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot interrupts: 29c66ec88fSEmmanuel Vadot description: Interface is polled if this property is omitted. 30c66ec88fSEmmanuel Vadot maxItems: 1 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot reg-size: 33c66ec88fSEmmanuel Vadot description: The access width of the register in bytes. Defaults to 1. 34c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 35c66ec88fSEmmanuel Vadot enum: [1, 2, 4, 8] 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot reg-spacing: 38c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 39c66ec88fSEmmanuel Vadot description: The number of bytes between register starts. Defaults to 1. 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot reg-shift: 42c66ec88fSEmmanuel Vadot description: | 43c66ec88fSEmmanuel Vadot The amount of bits to shift the register content to the right to get 44c66ec88fSEmmanuel Vadot the data into bit zero. 45c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 46c66ec88fSEmmanuel Vadot maximum: 56 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotrequired: 49c66ec88fSEmmanuel Vadot - compatible 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot 526be33864SEmmanuel VadotadditionalProperties: false 536be33864SEmmanuel Vadot 54c66ec88fSEmmanuel Vadotexamples: 55c66ec88fSEmmanuel Vadot - | 56c66ec88fSEmmanuel Vadot smic@fff3a000 { 57c66ec88fSEmmanuel Vadot compatible = "ipmi-smic"; 58c66ec88fSEmmanuel Vadot device_type = "ipmi"; 59c66ec88fSEmmanuel Vadot reg = <0xfff3a000 0x1000>; 60c66ec88fSEmmanuel Vadot interrupts = <0 24 4>; 61c66ec88fSEmmanuel Vadot reg-size = <4>; 62c66ec88fSEmmanuel Vadot reg-spacing = <4>; 63c66ec88fSEmmanuel Vadot }; 64