Path: blob/master/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/hwlock/st,stm32-hwspinlock.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: STMicroelectronics STM32 Hardware Spinlock78maintainers:9- Fabien Dessenne <fabien.dessenne@foss.st.com>1011properties:12"#hwlock-cells":13const: 11415compatible:16const: st,stm32-hwspinlock1718reg:19maxItems: 12021clocks:22maxItems: 12324clock-names:25items:26- const: hsem2728required:29- "#hwlock-cells"30- compatible31- reg32- clocks33- clock-names3435additionalProperties: false3637examples:38- |39#include <dt-bindings/clock/stm32mp1-clks.h>40hwspinlock@4c000000 {41compatible = "st,stm32-hwspinlock";42#hwlock-cells = <1>;43reg = <0x4c000000 0x400>;44clocks = <&rcc HSEM>;45clock-names = "hsem";46};4748...495051