1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: STMicroelectronics STM32 Platforms System Controller bindings
8
9maintainers:
10  - Alexandre Torgue <alexandre.torgue@st.com>
11  - Christophe Roullier <christophe.roullier@st.com>
12
13properties:
14  compatible:
15    oneOf:
16      - items:
17          - enum:
18              - st,stm32mp157-syscfg
19          - const: syscon
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30  - clocks
31
32additionalProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/clock/stm32mp1-clks.h>
37    syscfg: syscon@50020000 {
38        compatible = "st,stm32mp157-syscfg", "syscon";
39        reg = <0x50020000 0x400>;
40        clocks = <&rcc SYSCFG>;
41    };
42
43...
44