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