Skip to content

Commit 37011e4

Browse files
lyt31MingcongBai
authored andcommitted
dt-bindings: ipmi: Add bindings for Phytium KCS
This patch documents the DT bindings for Phytium KCS interface. Signed-off-by: Li Yuting <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
1 parent 7322a1a commit 37011e4

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ipmi/phytium,kcs-bmc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Phytium KCS (Keyboard Controller Style) IPMI interface
8+
9+
maintainers:
10+
- Chen Baozi <[email protected]>
11+
12+
description: |
13+
The Phytium E-series SOC can be used in BMC which have the KCS interface to
14+
perform in-band IPMI communication with their host.
15+
16+
properties:
17+
compatible:
18+
const: phytium,kcs-bmc
19+
20+
interrupts:
21+
maxItems: 1
22+
23+
reg:
24+
# maxItems: 3
25+
items:
26+
- description: IDR register
27+
- description: ODR register
28+
- description: STR register
29+
30+
kcs_chan:
31+
deprecated: true
32+
$ref: '/schemas/types.yaml#/definitions/uint32'
33+
description: The LPC channel number in the controller
34+
35+
kcs_addr:
36+
deprecated: true
37+
$ref: '/schemas/types.yaml#/definitions/uint32'
38+
description: The host CPU IO map address
39+
40+
required:
41+
- compatible
42+
- reg
43+
- interrupts
44+
- kcs_chan
45+
- kcs_addr
46+
47+
additionalProperties: false
48+
49+
examples:
50+
- |
51+
kcs0: kcs@24 {
52+
compatible = "phytium,kcs-bmc";
53+
reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
54+
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
55+
kcs_chan = <1>;
56+
kcs_addr = <0xca0>;
57+
};

0 commit comments

Comments
 (0)