1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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
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.
15 - Conor Dooley <conor@kernel.org>
25 - description: sram0 clock
26 - description: sram1 clock
27 - description: aisram clock
41 additionalProperties: false
45 #include <dt-bindings/clock/k210-clk.h>
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";