Canaan K210 SRAM memory controller
Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/canaan,k210-sram.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Canaan K210 SRAM memory controller is responsible for the system's 8 MiB of SRAM. The controller is initialised by the bootloader, which configures its clocks, before OS bringup.
Maintainers (maintainers): "Conor Dooley <conor@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "canaan,k210-sram"
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
sram0 clock
Item 2
sram1 clock
Item 3
aisram clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"sram0"
Item 2
Exact value (
const):"sram1"
Item 3
Exact value (
const):"aisram"
Required in this object (required): "compatible", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/k210-clk.h>
memory-controller {
compatible = "canaan,k210-sram";
clocks = <&sysclk K210_CLK_SRAM0>,
<&sysclk K210_CLK_SRAM1>,
<&sysclk K210_CLK_AI>;
clock-names = "sram0", "sram1", "aisram";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)