brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 584cce3 Raw
54 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/allwinner,sun6i-a31-hwspinlock.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs8 9maintainers:10  - Wilken Gottwalt <wilken.gottwalt@posteo.net>11 12description:13  The hardware unit provides semaphores between the ARM cores and the embedded14  companion core on the SoC.15 16properties:17  compatible:18    const: allwinner,sun6i-a31-hwspinlock19 20  reg:21    maxItems: 122 23  clocks:24    maxItems: 125 26  resets:27    maxItems: 128 29  '#hwlock-cells':30    const: 131 32required:33  - compatible34  - reg35  - clocks36  - resets37  - "#hwlock-cells"38 39additionalProperties: false40 41examples:42  - |43    #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>44    #include <dt-bindings/reset/sun8i-a23-a33-ccu.h>45 46    hwlock@1c18000 {47        compatible = "allwinner,sun6i-a31-hwspinlock";48        reg = <0x01c18000 0x1000>;49        clocks = <&ccu CLK_BUS_SPINLOCK>;50        resets = <&ccu RST_BUS_SPINLOCK>;51        #hwlock-cells = <1>;52    };53...54