1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs
10 - Wilken Gottwalt <wilken.gottwalt@posteo.net>
13 The hardware unit provides semaphores between the ARM cores and the embedded
14 companion core on the SoC.
18 const: allwinner,sun6i-a31-hwspinlock
39 additionalProperties: false
43 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
44 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
47 compatible = "allwinner,sun6i-a31-hwspinlock";
48 reg = <0x01c18000 0x1000>;
49 clocks = <&ccu CLK_BUS_SPINLOCK>;
50 resets = <&ccu RST_BUS_SPINLOCK>;