Skip to content

Commit 99e2f00

Browse files
robherringlag-linaro
authored andcommitted
dt-bindings: mfd: Convert aspeed,ast2400-p2a-ctrl to DT schema
Convert the aspeed,ast2x00-p2a-ctrl binding to DT schema format. The schema is simple enough to just add it to the parent aspeed,ast2x00-scu binding. Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org> Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au> Link: https://lore.kernel.org/r/20250829230450.1496151-1-robh@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 5872dcc commit 99e2f00

File tree

2 files changed

+32
-47
lines changed

2 files changed

+32
-47
lines changed

Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,34 @@ properties:
4848

4949
patternProperties:
5050
'^p2a-control@[0-9a-f]+$':
51-
description: See Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt
51+
description: >
52+
PCI-to-AHB Bridge Control
53+
54+
The bridge is available on platforms with the VGA enabled on the Aspeed
55+
device. In this case, the host has access to a 64KiB window into all of
56+
the BMC's memory. The BMC can disable this bridge. If the bridge is
57+
enabled, the host has read access to all the regions of memory, however
58+
the host only has read and write access depending on a register
59+
controlled by the BMC.
5260
type: object
61+
additionalProperties: false
62+
63+
properties:
64+
compatible:
65+
enum:
66+
- aspeed,ast2400-p2a-ctrl
67+
- aspeed,ast2500-p2a-ctrl
68+
reg:
69+
maxItems: 1
70+
71+
memory-region:
72+
maxItems: 1
73+
description:
74+
A reserved_memory region to be used for the PCI to AHB mapping
75+
76+
required:
77+
- compatible
78+
- reg
5379

5480
'^pinctrl(@[0-9a-f]+)?$':
5581
type: object
@@ -123,6 +149,11 @@ examples:
123149
#size-cells = <1>;
124150
ranges = <0x0 0x1e6e2000 0x1000>;
125151
152+
p2a-control@2c {
153+
compatible = "aspeed,ast2400-p2a-ctrl";
154+
reg = <0x2c 0x4>;
155+
};
156+
126157
silicon-id@7c {
127158
compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";
128159
reg = <0x7c 0x4>, <0x150 0x8>;

Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)