xref: /linux/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml (revision 4569820881c6eb0e273d7f584ee511b825b98601)
170a97443SAlexandre Torgue# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
270a97443SAlexandre Torgue%YAML 1.2
370a97443SAlexandre Torgue---
4*45698208SRob Herring$id: http://devicetree.org/schemas/arm/stm32/st,stm32-syscon.yaml#
5*45698208SRob 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
24c3053382SPatrick Delaunay              - st,stm32mp25-syscfg
2570a97443SAlexandre Torgue          - const: syscon
2682765d14SAhmad Fatoum      - items:
2782765d14SAhmad Fatoum          - const: st,stm32-tamp
2882765d14SAhmad Fatoum          - const: syscon
2982765d14SAhmad Fatoum          - const: simple-mfd
3070a97443SAlexandre Torgue
3170a97443SAlexandre Torgue  reg:
3270a97443SAlexandre Torgue    maxItems: 1
3370a97443SAlexandre Torgue
3470a97443SAlexandre Torgue  clocks:
3570a97443SAlexandre Torgue    maxItems: 1
3670a97443SAlexandre Torgue
3770a97443SAlexandre Torguerequired:
3870a97443SAlexandre Torgue  - compatible
3970a97443SAlexandre Torgue  - reg
40ece1420eSBenjamin Gaignard
41ece1420eSBenjamin Gaignardif:
42ece1420eSBenjamin Gaignard  properties:
43ece1420eSBenjamin Gaignard    compatible:
44ece1420eSBenjamin Gaignard      contains:
45ece1420eSBenjamin Gaignard        enum:
46ece1420eSBenjamin Gaignard          - st,stm32mp157-syscfg
47b341be6dSDario Binacchi          - st,stm32f4-gcan
48ece1420eSBenjamin Gaignardthen:
49ece1420eSBenjamin Gaignard  required:
5070a97443SAlexandre Torgue    - clocks
5170a97443SAlexandre Torgue
527f464532SRob HerringadditionalProperties: false
537f464532SRob Herring
5470a97443SAlexandre Torgueexamples:
5570a97443SAlexandre Torgue  - |
5670a97443SAlexandre Torgue    #include <dt-bindings/clock/stm32mp1-clks.h>
5770a97443SAlexandre Torgue    syscfg: syscon@50020000 {
5870a97443SAlexandre Torgue        compatible = "st,stm32mp157-syscfg", "syscon";
5970a97443SAlexandre Torgue        reg = <0x50020000 0x400>;
6070a97443SAlexandre Torgue        clocks = <&rcc SYSCFG>;
6170a97443SAlexandre Torgue    };
6270a97443SAlexandre Torgue
6370a97443SAlexandre Torgue...
64