xref: /linux/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml (revision 0fdc50dfab47d525b71a9f0d8310746cdc0c09c5)
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
32examples:
33  - |
34    #include <dt-bindings/clock/stm32mp1-clks.h>
35    syscfg: syscon@50020000 {
36        compatible = "st,stm32mp157-syscfg", "syscon";
37        reg = <0x50020000 0x400>;
38        clocks = <&rcc SYSCFG>;
39    };
40
41...
42