xref: /linux/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml (revision 7120733d1d124626b424d1e61db43ff6f5e25f87)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STi platform sysconfig
8
9maintainers:
10  - Patrice Chotard <patrice.chotard@foss.st.com>
11
12description: |
13  Binding for the various sysconfig nodes used within the STi
14  platform device-tree to point to some common configuration
15  registers used by other nodes.
16
17properties:
18  compatible:
19    items:
20      - enum:
21          - st,stih407-core-syscfg
22          - st,stih407-flash-syscfg
23          - st,stih407-front-syscfg
24          - st,stih407-lpm-syscfg
25          - st,stih407-rear-syscfg
26          - st,stih407-sbc-reg-syscfg
27          - st,stih407-sbc-syscfg
28      - const: syscon
29
30  reg:
31    maxItems: 1
32
33  sti-sasg-codec:
34    description: STi internal audio codec
35    type: object
36    additionalProperties: true
37
38    properties:
39      compatible:
40        const: st,stih407-sas-codec
41
42required:
43  - compatible
44  - reg
45
46additionalProperties: false
47
48examples:
49  - |
50    syscfg_sbc: syscon@9620000 {
51        compatible = "st,stih407-sbc-syscfg", "syscon";
52        reg = <0x9620000 0x1000>;
53    };
54
55...
56