summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml
blob: a64406ca17b5035ba387492b61a5740bda155475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
# Copyright 2020 Antmicro <www.antmicro.com>
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: LiteX SoC Controller driver

description: |
  This is the SoC Controller driver for the LiteX SoC Builder.
  Its purpose is to verify LiteX CSR (Control&Status Register) access
  operations and provide functions for other drivers to read/write CSRs
  and to check if those accessors are ready to be used.

maintainers:
  - Karol Gugala <kgugala@antmicro.com>
  - Mateusz Holenko <mholenko@antmicro.com>

properties:
  compatible:
    const: litex,soc-controller

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    soc_ctrl0: soc-controller@f0000000 {
        compatible = "litex,soc-controller";
        reg = <0xf0000000 0xc>;
    };

...