kendryte,k210-sysctl.txt 904 B

123456789101112131415161718192021222324252627282930313233
  1. Kendryte K210 Sysctl
  2. This binding describes the K210 sysctl device, which contains many miscellaneous
  3. registers controlling system functionality. This node is a register map and can
  4. be reference by other bindings which need a phandle to the K210 sysctl regmap.
  5. Required properties:
  6. - compatible: should be
  7. "kendryte,k210-sysctl", "syscon", "simple-mfd"
  8. - reg: address and length of the sysctl registers
  9. - reg-io-width: must be <4>
  10. Clock sub-node
  11. This node is a binding for the clock tree driver
  12. Required properties:
  13. - compatible: should be "kendryte,k210-clk"
  14. - clocks: phandle to the "in0" external oscillator
  15. - #clock-cells: must be <1>
  16. Example:
  17. sysctl: syscon@50440000 {
  18. compatible = "kendryte,k210-sysctl", "syscon", "simple-mfd";
  19. reg = <0x50440000 0x100>;
  20. reg-io-width = <4>;
  21. sysclk: clock-controller {
  22. compatible = "kendryte,k210-clk";
  23. clocks = <&in0>;
  24. #clock-cells = <1>;
  25. };
  26. };