1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/proximity/ams,as3935.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Austrian Microsystems AS3935 Franklin lightning sensor
10 - Matt Ranostay <matt.ranostay@konsulko.com>
13 This lightening distance sensor uses an I2C or SPI interface. The
14 binding currently only covers the SPI option.
31 ams,tuning-capacitor-pf:
32 $ref: /schemas/types.yaml#/definitions/uint32
34 Calibration tuning capacitor stepping value. This will require using
35 the calibration data from the manufacturer.
40 $ref: /schemas/types.yaml#/definitions/uint32
42 Set the noise and watchdog threshold register on startup. This will
43 need to set according to the noise from the MCU board, and possibly
44 the local environment. Refer to the datasheet for the threshold settings.
52 additionalProperties: false
61 compatible = "ams,as3935";
63 spi-max-frequency = <400000>;
65 interrupt-parent = <&gpio1>;
67 ams,tuning-capacitor-pf = <80>;