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