Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 8 | title: LiteX SoC Controller driver |
| 9 | |
| 10 | description: | |
| 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 | |
| 16 | maintainers: |
| 17 | - Karol Gugala <kgugala@antmicro.com> |
| 18 | - Mateusz Holenko <mholenko@antmicro.com> |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | const: litex,soc-controller |
| 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - reg |
| 30 | |
| 31 | additionalProperties: false |
| 32 | |
| 33 | examples: |
| 34 | - | |
| 35 | soc_ctrl0: soc-controller@f0000000 { |
| 36 | compatible = "litex,soc-controller"; |
| 37 | reg = <0xf0000000 0xc>; |
| 38 | }; |
| 39 | |
| 40 | ... |