50 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Spinlock8 9maintainers:10 - Fabien Dessenne <fabien.dessenne@foss.st.com>11 12properties:13 "#hwlock-cells":14 const: 115 16 compatible:17 const: st,stm32-hwspinlock18 19 reg:20 maxItems: 121 22 clocks:23 maxItems: 124 25 clock-names:26 items:27 - const: hsem28 29required:30 - "#hwlock-cells"31 - compatible32 - reg33 - clocks34 - clock-names35 36additionalProperties: false37 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