xref: /linux/Documentation/devicetree/bindings/gpu/aspeed,ast2400-gfx.yaml (revision d8d2b1f81530988abe2e2bfaceec1c5d30b9a0b4)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpu/aspeed,ast2400-gfx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ASPEED GFX Display Controller
8
9maintainers:
10  - Joel Stanley <joel@jms.id.au>
11
12properties:
13  compatible:
14    items:
15      - enum:
16          - aspeed,ast2400-gfx
17          - aspeed,ast2500-gfx
18          - aspeed,ast2600-gfx
19      - const: syscon
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27  resets:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33  memory-region:
34    maxItems: 1
35    description:
36      a reserved-memory region to use for the framebuffer.
37
38  syscon:
39    $ref: /schemas/types.yaml#/definitions/phandle
40    description: Phandle to SCU
41
42required:
43  - compatible
44  - reg
45  - interrupts
46  - clocks
47  - resets
48  - memory-region
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/clock/aspeed-clock.h>
55
56    display@1e6e6000 {
57        compatible = "aspeed,ast2500-gfx", "syscon";
58        reg = <0x1e6e6000 0x1000>;
59        clocks = <&syscon ASPEED_CLK_GATE_D1CLK>;
60        resets = <&syscon ASPEED_RESET_CRT1>;
61        interrupts = <0x19>;
62        memory-region = <&gfx_memory>;
63    };
64