brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · f81fb86 Raw
53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/memory-controllers/canaan,k210-sram.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Canaan K210 SRAM memory controller8 9description:10  The Canaan K210 SRAM memory controller is responsible for the system's 8 MiB11  of SRAM. The controller is initialised by the bootloader, which configures12  its clocks, before OS bringup.13 14maintainers:15  - Conor Dooley <conor@kernel.org>16 17properties:18  compatible:19    enum:20      - canaan,k210-sram21 22  clocks:23    minItems: 124    items:25      - description: sram0 clock26      - description: sram1 clock27      - description: aisram clock28 29  clock-names:30    minItems: 131    items:32      - const: sram033      - const: sram134      - const: aisram35 36required:37  - compatible38  - clocks39  - clock-names40 41additionalProperties: false42 43examples: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    };53