Documentation / devicetree / bindings / soc / sprd


Based on kernel version 6.12.4. Page generated on 2024-12-12 21:01 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 50 51 52 53 54 55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: SC9863A Syscon

maintainers:
  - Orson Zhai <orsonzhai@gmail.com>
  - Baolin Wang <baolin.wang7@gmail.com>
  - Chunyan Zhang <zhang.lyra@gmail.com>

properties:
  compatible:
    items:
      - const: sprd,sc9863a-glbregs
      - const: syscon
      - const: simple-mfd

  reg:
    maxItems: 1

  ranges: true
 
  "#address-cells":
    const: 1
 
  "#size-cells":
    const: 1

patternProperties:
  "@[0-9a-f]+$":
    $ref: /schemas/clock/sprd,sc9863a-clk.yaml
    description: Clock controllers

additionalProperties: false

examples:
  - |
    syscon@20e00000 {
      compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd";
      reg = <0x20e00000 0x4000>;
      ranges = <0 0x20e00000 0x4000>;
      #address-cells = <1>;
      #size-cells = <1>;
 
      apahb_gate: apahb-gate@0 {
        compatible = "sprd,sc9863a-apahb-gate";
        reg = <0x0 0x1020>;
        #clock-cells = <1>;
      };
    };

...