Skip to content

Commit d27fea2

Browse files
robherringcminyard
authored andcommitted
dt-bindings: ipmi: Convert aspeed,ast2400-ibt-bmc to DT schema
Convert the aspeed,ast2400-ibt-bmc binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Message-ID: <20251014152948.3782738-1-robh@kernel.org> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> Signed-off-by: Corey Minyard <corey@minyard.net>
1 parent 1986798 commit d27fea2

2 files changed

Lines changed: 44 additions & 28 deletions

File tree

Documentation/devicetree/bindings/ipmi/aspeed,ast2400-ibt-bmc.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ipmi/aspeed,ast2400-ibt-bmc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Aspeed Block Transfer (BT) IPMI interface
8+
9+
maintainers:
10+
- Joel Stanley <joel@jms.id.au>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- aspeed,ast2400-ibt-bmc
16+
- aspeed,ast2500-ibt-bmc
17+
- aspeed,ast2600-ibt-bmc
18+
19+
reg:
20+
maxItems: 1
21+
22+
clocks:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- clocks
32+
33+
additionalProperties: false
34+
35+
examples:
36+
- |
37+
#include <dt-bindings/clock/aspeed-clock.h>
38+
39+
bt@1e789140 {
40+
compatible = "aspeed,ast2400-ibt-bmc";
41+
reg = <0x1e789140 0x18>;
42+
interrupts = <8>;
43+
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
44+
};

0 commit comments

Comments
 (0)