Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / memory-controllers / canaan,k210-sram.yaml
blobf81fb866e3194d3edb2c3532c2c8f2300f2bf2fd
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/canaan,k210-sram.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Canaan K210 SRAM memory controller
9 description:
10   The Canaan K210 SRAM memory controller is responsible for the system's 8 MiB
11   of SRAM. The controller is initialised by the bootloader, which configures
12   its clocks, before OS bringup.
14 maintainers:
15   - Conor Dooley <conor@kernel.org>
17 properties:
18   compatible:
19     enum:
20       - canaan,k210-sram
22   clocks:
23     minItems: 1
24     items:
25       - description: sram0 clock
26       - description: sram1 clock
27       - description: aisram clock
29   clock-names:
30     minItems: 1
31     items:
32       - const: sram0
33       - const: sram1
34       - const: aisram
36 required:
37   - compatible
38   - clocks
39   - clock-names
41 additionalProperties: false
43 examples:
44   - |
45     #include <dt-bindings/clock/k210-clk.h>
46     memory-controller {
47         compatible = "canaan,k210-sram";
48         clocks = <&sysclk K210_CLK_SRAM0>,
49                  <&sysclk K210_CLK_SRAM1>,
50                  <&sysclk K210_CLK_AI>;
51         clock-names = "sram0", "sram1", "aisram";
52     };