1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Canaan Kendryte K210 System Controller
10 - Damien Le Moal <dlemoal@kernel.org>
13 Canaan Inc. Kendryte K210 SoC system controller which provides a
14 register map for controlling the clocks, reset signals and pin power
20 - const: canaan,k210-sysctl
27 System controller Advanced Power Bus (APB) interface clock source.
39 $ref: ../clock/canaan,k210-clk.yaml
41 Clock controller for the SoC clocks. This child node definition
42 should follow the bindings specified in
43 Documentation/devicetree/bindings/clock/canaan,k210-clk.yaml.
48 $ref: ../reset/canaan,k210-rst.yaml
50 Reset controller for the SoC. This child node definition
51 should follow the bindings specified in
52 Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml.
57 $ref: ../power/reset/syscon-reboot.yaml
59 Reboot method for the SoC. This child node definition
60 should follow the bindings specified in
61 Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml.
69 additionalProperties: false
73 #include <dt-bindings/clock/k210-clk.h>
74 #include <dt-bindings/reset/k210-rst.h>
78 compatible = "fixed-clock";
80 clock-frequency = <26000000>;
84 sysctl: syscon@50440000 {
85 compatible = "canaan,k210-sysctl",
86 "syscon", "simple-mfd";
87 reg = <0x50440000 0x100>;
88 clocks = <&sysclk K210_CLK_APB1>;
91 sysclk: clock-controller {
93 compatible = "canaan,k210-clk";
97 sysrst: reset-controller {
98 compatible = "canaan,k210-rst";
102 reboot: syscon-reboot {
103 compatible = "syscon-reboot";