1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: STMicroelectronics STM32 Hardware Spinlock bindings 8 9maintainers: 10 - Fabien Dessenne <fabien.dessenne@foss.st.com> 11 12properties: 13 "#hwlock-cells": 14 const: 1 15 16 compatible: 17 const: st,stm32-hwspinlock 18 19 reg: 20 maxItems: 1 21 22 clocks: 23 maxItems: 1 24 25 clock-names: 26 items: 27 - const: hsem 28 29required: 30 - "#hwlock-cells" 31 - compatible 32 - reg 33 - clocks 34 - clock-names 35 36additionalProperties: false 37 38examples: 39 - | 40 #include <dt-bindings/clock/stm32mp1-clks.h> 41 hwspinlock@4c000000 { 42 compatible = "st,stm32-hwspinlock"; 43 #hwlock-cells = <1>; 44 reg = <0x4c000000 0x400>; 45 clocks = <&rcc HSEM>; 46 clock-names = "hsem"; 47 }; 48 49... 50