170a97443SAlexandre Torgue# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
270a97443SAlexandre Torgue%YAML 1.2
370a97443SAlexandre Torgue---
470a97443SAlexandre Torgue$id: "http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#"
570a97443SAlexandre Torgue$schema: "http://devicetree.org/meta-schemas/core.yaml#"
670a97443SAlexandre Torgue
770a97443SAlexandre Torguetitle: STMicroelectronics STM32 Platforms System Controller bindings
870a97443SAlexandre Torgue
970a97443SAlexandre Torguemaintainers:
1070a97443SAlexandre Torgue  - Alexandre Torgue <alexandre.torgue@st.com>
1170a97443SAlexandre Torgue  - Christophe Roullier <christophe.roullier@st.com>
1270a97443SAlexandre Torgue
1370a97443SAlexandre Torgueproperties:
1470a97443SAlexandre Torgue  compatible:
1570a97443SAlexandre Torgue    oneOf:
1670a97443SAlexandre Torgue      - items:
1770a97443SAlexandre Torgue          - enum:
1870a97443SAlexandre Torgue              - st,stm32mp157-syscfg
19ece1420eSBenjamin Gaignard              - st,stm32mp151-pwr-mcu
20ece1420eSBenjamin Gaignard              - st,stm32-syscfg
21ece1420eSBenjamin Gaignard              - st,stm32-power-config
22*d5123d2cSArnaud Pouliquen              - st,stm32-tamp
2370a97443SAlexandre Torgue          - const: syscon
2470a97443SAlexandre Torgue
2570a97443SAlexandre Torgue  reg:
2670a97443SAlexandre Torgue    maxItems: 1
2770a97443SAlexandre Torgue
2870a97443SAlexandre Torgue  clocks:
2970a97443SAlexandre Torgue    maxItems: 1
3070a97443SAlexandre Torgue
3170a97443SAlexandre Torguerequired:
3270a97443SAlexandre Torgue  - compatible
3370a97443SAlexandre Torgue  - reg
34ece1420eSBenjamin Gaignard
35ece1420eSBenjamin Gaignardif:
36ece1420eSBenjamin Gaignard  properties:
37ece1420eSBenjamin Gaignard    compatible:
38ece1420eSBenjamin Gaignard      contains:
39ece1420eSBenjamin Gaignard        enum:
40ece1420eSBenjamin Gaignard          - st,stm32mp157-syscfg
41ece1420eSBenjamin Gaignardthen:
42ece1420eSBenjamin Gaignard  required:
4370a97443SAlexandre Torgue    - clocks
4470a97443SAlexandre Torgue
457f464532SRob HerringadditionalProperties: false
467f464532SRob Herring
4770a97443SAlexandre Torgueexamples:
4870a97443SAlexandre Torgue  - |
4970a97443SAlexandre Torgue    #include <dt-bindings/clock/stm32mp1-clks.h>
5070a97443SAlexandre Torgue    syscfg: syscon@50020000 {
5170a97443SAlexandre Torgue        compatible = "st,stm32mp157-syscfg", "syscon";
5270a97443SAlexandre Torgue        reg = <0x50020000 0x400>;
5370a97443SAlexandre Torgue        clocks = <&rcc SYSCFG>;
5470a97443SAlexandre Torgue    };
5570a97443SAlexandre Torgue
5670a97443SAlexandre Torgue...
57