Path: blob/master/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-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/allwinner,sun6i-a31-hwspinlock.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs78maintainers:9- Wilken Gottwalt <wilken.gottwalt@posteo.net>1011description:12The hardware unit provides semaphores between the ARM cores and the embedded13companion core on the SoC.1415properties:16compatible:17const: allwinner,sun6i-a31-hwspinlock1819reg:20maxItems: 12122clocks:23maxItems: 12425resets:26maxItems: 12728'#hwlock-cells':29const: 13031required:32- compatible33- reg34- clocks35- resets36- "#hwlock-cells"3738additionalProperties: false3940examples:41- |42#include <dt-bindings/clock/sun8i-a23-a33-ccu.h>43#include <dt-bindings/reset/sun8i-a23-a33-ccu.h>4445hwlock@1c18000 {46compatible = "allwinner,sun6i-a31-hwspinlock";47reg = <0x01c18000 0x1000>;48clocks = <&ccu CLK_BUS_SPINLOCK>;49resets = <&ccu RST_BUS_SPINLOCK>;50#hwlock-cells = <1>;51};52...535455