Documentation / devicetree / bindings / soc / sophgo / sophgo,sg2044-top-syscon.yaml


Based on kernel version 6.16. Page generated on 2025-08-06 08:57 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/sophgo/sophgo,sg2044-top-syscon.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sophgo SG2044 SoC TOP system controller

maintainers:
  - Inochi Amaoto <inochiama@gmail.com>

description:
  The Sophgo SG2044 TOP system controller is a hardware block grouping
  multiple small functions, such as clocks and some other internal
  function.

properties:
  compatible:
    items:
      - const: sophgo,sg2044-top-syscon
      - const: syscon

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
 
  '#clock-cells':
    const: 1
    description:
      See <dt-bindings/clock/sophgo,sg2044-pll.h> for valid clock.

required:
  - compatible
  - reg
  - clocks
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    syscon@50000000 {
      compatible = "sophgo,sg2044-top-syscon", "syscon";
      reg = <0x50000000 0x1000>;
      #clock-cells = <1>;
      clocks = <&osc>;
    };