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