Skip to content
Snippets Groups Projects
Commit b669d38e authored by Drew Fustini's avatar Drew Fustini
Browse files

DO_NOT_MERGE dt-bindings: soc: add Foobar SoC memory controller


Add bindings for an example SoC memory controller that implements CBQRI.

Co-developed-by: default avatarAdrien Ricciardi <aricciardi@baylibre.com>
Signed-off-by: default avatarAdrien Ricciardi <aricciardi@baylibre.com>
Signed-off-by: default avatarDrew Fustini <dfustini@baylibre.com>
parent 11465c84
No related branches found
No related tags found
No related merge requests found
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/foobar/foobar,memory-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Foobar SoC Memory Controller
maintainers:
- Drew Fustini <dfustini@baylibre.com>
description:
Foobar SoC memory controller implements the RISC-V CBQRI interface for
capacity allocaiton and usage monitoring.
allOf:
- $ref: /schemas/riscv/riscv,cbqri.yaml#
properties:
compatible:
items:
- const: foobar,memory-controller
reg:
maxItems: 1
description: A memory region containing registers as defined in CBQRI spec
'#address-cells':
const: 1
'#size-cells':
const: 0
required:
- compatible
- reg
additionalProperties: false
examples:
- |
memory-controller@fff12000 {
compatible = "foobar,memory-controller";
reg = <0xfff12000 0x2000>;
riscv,cbqri-rcid = <64>;
riscv,cbqri-mcid = <256>;
};
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment