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 8 9maintainers: 10 - Alexandre Torgue <alexandre.torgue@foss.st.com> 11 - Christophe Roullier <christophe.roullier@foss.st.com> 12 13properties: 14 compatible: 15 oneOf: 16 - items: 17 - enum: 18 - st,stm32mp157-syscfg 19 - st,stm32mp151-pwr-mcu 20 - st,stm32-syscfg 21 - st,stm32-power-config 22 - st,stm32-tamp 23 - st,stm32f4-gcan 24 - const: syscon 25 - items: 26 - const: st,stm32-tamp 27 - const: syscon 28 - const: simple-mfd 29 30 reg: 31 maxItems: 1 32 33 clocks: 34 maxItems: 1 35 36required: 37 - compatible 38 - reg 39 40if: 41 properties: 42 compatible: 43 contains: 44 enum: 45 - st,stm32mp157-syscfg 46 - st,stm32f4-gcan 47then: 48 required: 49 - clocks 50 51additionalProperties: false 52 53examples: 54 - | 55 #include <dt-bindings/clock/stm32mp1-clks.h> 56 syscfg: syscon@50020000 { 57 compatible = "st,stm32mp157-syscfg", "syscon"; 58 reg = <0x50020000 0x400>; 59 clocks = <&rcc SYSCFG>; 60 }; 61 62... 63