brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 6751f9b Raw
64 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright 2019 Analog Devices Inc.3%YAML 1.24---5$id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Analog Devices AXI FAN Control9 10maintainers:11  - Nuno Sá <nuno.sa@analog.com>12 13description: |+14  Bindings for the Analog Devices AXI FAN Control driver. Specifications of the15  core can be found in:16 17  https://wiki.analog.com/resources/fpga/docs/axi_fan_control18 19properties:20  compatible:21    enum:22      - adi,axi-fan-control-1.00.a23 24  reg:25    maxItems: 126 27  clocks:28    maxItems: 129 30  interrupts:31    maxItems: 132 33  pulses-per-revolution:34    description:35      Value specifying the number of pulses per revolution of the controlled36      FAN.37    $ref: /schemas/types.yaml#/definitions/uint3238    enum: [1, 2, 4]39 40required:41  - compatible42  - reg43  - clocks44  - interrupts45  - pulses-per-revolution46 47additionalProperties: false48 49examples:50  - |51    fpga_axi: fpga-axi {52        #address-cells = <0x2>;53        #size-cells = <0x1>;54 55        axi_fan_control: axi-fan-control@80000000 {56            compatible = "adi,axi-fan-control-1.00.a";57            reg = <0x0 0x80000000 0x10000>;58            clocks = <&clk 71>;59            interrupts = <0 110 0>;60            pulses-per-revolution = <2>;61        };62    };63...64