summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
blob: fc933d70d138ea0372907c391a79a6cc99a35c20 (plain)
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/sti/st,sti-syscon.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics STi platform sysconfig

maintainers:
  - Patrice Chotard <patrice.chotard@foss.st.com>

description: |
  Binding for the various sysconfig nodes used within the STi
  platform device-tree to point to some common configuration
  registers used by other nodes.

properties:
  compatible:
    items:
      - enum:
          - st,stih407-core-syscfg
          - st,stih407-flash-syscfg
          - st,stih407-front-syscfg
          - st,stih407-lpm-syscfg
          - st,stih407-rear-syscfg
          - st,stih407-sbc-reg-syscfg
          - st,stih407-sbc-syscfg
      - const: syscon

  reg:
    maxItems: 1

  sti-sasg-codec:
    description: STi internal audio codec
    type: object
    additionalProperties: true

    properties:
      compatible:
        const: st,stih407-sas-codec

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    syscfg_sbc: syscon@9620000 {
        compatible = "st,stih407-sbc-syscfg", "syscon";
        reg = <0x9620000 0x1000>;
    };

...