SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs
Schema identifier ($id): "http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wilken Gottwalt <wilken.gottwalt@posteo.net>"
The hardware unit provides semaphores between the ARM cores and the embedded companion core on the SoC.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun6i-a31-hwspinlock"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#hwlock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "resets", "#hwlock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
#include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
hwlock@1c18000 {
compatible = "allwinner,sun6i-a31-hwspinlock";
reg = <0x01c18000 0x1000>;
clocks = <&ccu CLK_BUS_SPINLOCK>;
resets = <&ccu RST_BUS_SPINLOCK>;
#hwlock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)