xref: /linux/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml (revision 2f24482304ebd32c5aa374f31465b9941a860b92)
170a97443SAlexandre Torgue# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
270a97443SAlexandre Torgue%YAML 1.2
370a97443SAlexandre Torgue---
445698208SRob Herring$id: http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#
545698208SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
670a97443SAlexandre Torgue
784e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 Platforms System Controller
870a97443SAlexandre Torgue
970a97443SAlexandre Torguemaintainers:
10f4eedebdSPatrice Chotard  - Alexandre Torgue <alexandre.torgue@foss.st.com>
11f4eedebdSPatrice Chotard  - Christophe Roullier <christophe.roullier@foss.st.com>
1270a97443SAlexandre Torgue
1370a97443SAlexandre Torgueproperties:
1470a97443SAlexandre Torgue  compatible:
1570a97443SAlexandre Torgue    oneOf:
1670a97443SAlexandre Torgue      - items:
1770a97443SAlexandre Torgue          - enum:
18ece1420eSBenjamin Gaignard              - st,stm32-power-config
19c3053382SPatrick Delaunay              - st,stm32-syscfg
20d5123d2cSArnaud Pouliquen              - st,stm32-tamp
21b341be6dSDario Binacchi              - st,stm32f4-gcan
22c3053382SPatrick Delaunay              - st,stm32mp151-pwr-mcu
23c3053382SPatrick Delaunay              - st,stm32mp157-syscfg
24*04b2ca48SAmelie Delaunay              - st,stm32mp21-syscfg
25*04b2ca48SAmelie Delaunay              - st,stm32mp23-syscfg
26c3053382SPatrick Delaunay              - st,stm32mp25-syscfg
2770a97443SAlexandre Torgue          - const: syscon
2882765d14SAhmad Fatoum      - items:
2982765d14SAhmad Fatoum          - const: st,stm32-tamp
3082765d14SAhmad Fatoum          - const: syscon
3182765d14SAhmad Fatoum          - const: simple-mfd
3270a97443SAlexandre Torgue
3370a97443SAlexandre Torgue  reg:
3470a97443SAlexandre Torgue    maxItems: 1
3570a97443SAlexandre Torgue
3670a97443SAlexandre Torgue  clocks:
3770a97443SAlexandre Torgue    maxItems: 1
3870a97443SAlexandre Torgue
3970a97443SAlexandre Torguerequired:
4070a97443SAlexandre Torgue  - compatible
4170a97443SAlexandre Torgue  - reg
42ece1420eSBenjamin Gaignard
43ece1420eSBenjamin Gaignardif:
44ece1420eSBenjamin Gaignard  properties:
45ece1420eSBenjamin Gaignard    compatible:
46ece1420eSBenjamin Gaignard      contains:
47ece1420eSBenjamin Gaignard        enum:
48ece1420eSBenjamin Gaignard          - st,stm32mp157-syscfg
49b341be6dSDario Binacchi          - st,stm32f4-gcan
50ece1420eSBenjamin Gaignardthen:
51ece1420eSBenjamin Gaignard  required:
5270a97443SAlexandre Torgue    - clocks
5370a97443SAlexandre Torgue
547f464532SRob HerringadditionalProperties: false
557f464532SRob Herring
5670a97443SAlexandre Torgueexamples:
5770a97443SAlexandre Torgue  - |
5870a97443SAlexandre Torgue    #include <dt-bindings/clock/stm32mp1-clks.h>
5970a97443SAlexandre Torgue    syscfg: syscon@50020000 {
6070a97443SAlexandre Torgue        compatible = "st,stm32mp157-syscfg", "syscon";
6170a97443SAlexandre Torgue        reg = <0x50020000 0x400>;
6270a97443SAlexandre Torgue        clocks = <&rcc SYSCFG>;
6370a97443SAlexandre Torgue    };
6470a97443SAlexandre Torgue
6570a97443SAlexandre Torgue...
66