1Austrian Microsystems AS3935 Franklin lightning sensor device driver 2 3Required properties: 4 - compatible: must be "ams,as3935" 5 - reg: SPI chip select number for the device 6 - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI 7 slave node bindings. 8 - interrupt-parent : should be the phandle for the interrupt controller 9 - interrupts : the sole interrupt generated by the device 10 11 Refer to interrupt-controller/interrupts.txt for generic 12 interrupt client node bindings. 13 14Optional properties: 15 - ams,tuning-capacitor-pf: Calibration tuning capacitor stepping 16 value 0 - 120pF. This will require using the calibration data from 17 the manufacturer. 18 19Example: 20 21as3935@0 { 22 compatible = "ams,as3935"; 23 reg = <0>; 24 spi-cpha; 25 interrupt-parent = <&gpio1>; 26 interrupts = <16 1>; 27 ams,tuning-capacitor-pf = <80>; 28}; 29