1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2# Copyright 2020 Antmicro <www.antmicro.com>
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: LiteX SoC Controller driver
9
10description: |
11  This is the SoC Controller driver for the LiteX SoC Builder.
12  Its purpose is to verify LiteX CSR (Control&Status Register) access
13  operations and provide functions for other drivers to read/write CSRs
14  and to check if those accessors are ready to be used.
15
16maintainers:
17  - Karol Gugala <kgugala@antmicro.com>
18  - Mateusz Holenko <mholenko@antmicro.com>
19
20properties:
21  compatible:
22    const: litex,soc-controller
23
24  reg:
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30
31additionalProperties: false
32
33examples:
34  - |
35    soc_ctrl0: soc-controller@f0000000 {
36        compatible = "litex,soc-controller";
37        reg = <0xf0000000 0xc>;
38    };
39
40...
41