1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*aa1a8ff2SEmmanuel Vadot%YAML 1.2 3*aa1a8ff2SEmmanuel Vadot--- 4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/proximity/murata,irsd200.yaml# 5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*aa1a8ff2SEmmanuel Vadot 7*aa1a8ff2SEmmanuel Vadottitle: Murata IRS-D200 PIR sensor 8*aa1a8ff2SEmmanuel Vadot 9*aa1a8ff2SEmmanuel Vadotmaintainers: 10*aa1a8ff2SEmmanuel Vadot - Waqar Hameed <waqar.hameed@axis.com> 11*aa1a8ff2SEmmanuel Vadot 12*aa1a8ff2SEmmanuel Vadotdescription: 13*aa1a8ff2SEmmanuel Vadot PIR sensor for human detection. 14*aa1a8ff2SEmmanuel Vadot 15*aa1a8ff2SEmmanuel Vadotproperties: 16*aa1a8ff2SEmmanuel Vadot compatible: 17*aa1a8ff2SEmmanuel Vadot const: murata,irsd200 18*aa1a8ff2SEmmanuel Vadot 19*aa1a8ff2SEmmanuel Vadot reg: 20*aa1a8ff2SEmmanuel Vadot items: 21*aa1a8ff2SEmmanuel Vadot - enum: 22*aa1a8ff2SEmmanuel Vadot - 0x48 23*aa1a8ff2SEmmanuel Vadot - 0x49 24*aa1a8ff2SEmmanuel Vadot description: | 25*aa1a8ff2SEmmanuel Vadot When the AD pin is connected to GND, the slave address is 0x48. 26*aa1a8ff2SEmmanuel Vadot When the AD pin is connected to VDD, the slave address is 0x49. 27*aa1a8ff2SEmmanuel Vadot 28*aa1a8ff2SEmmanuel Vadot interrupts: 29*aa1a8ff2SEmmanuel Vadot maxItems: 1 30*aa1a8ff2SEmmanuel Vadot description: 31*aa1a8ff2SEmmanuel Vadot Type should be IRQ_TYPE_EDGE_RISING. 32*aa1a8ff2SEmmanuel Vadot 33*aa1a8ff2SEmmanuel Vadot vdd-supply: 34*aa1a8ff2SEmmanuel Vadot description: 35*aa1a8ff2SEmmanuel Vadot 3.3 V supply voltage. 36*aa1a8ff2SEmmanuel Vadot 37*aa1a8ff2SEmmanuel Vadotrequired: 38*aa1a8ff2SEmmanuel Vadot - compatible 39*aa1a8ff2SEmmanuel Vadot - reg 40*aa1a8ff2SEmmanuel Vadot - interrupts 41*aa1a8ff2SEmmanuel Vadot - vdd-supply 42*aa1a8ff2SEmmanuel Vadot 43*aa1a8ff2SEmmanuel VadotadditionalProperties: false 44*aa1a8ff2SEmmanuel Vadot 45*aa1a8ff2SEmmanuel Vadotexamples: 46*aa1a8ff2SEmmanuel Vadot - | 47*aa1a8ff2SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 48*aa1a8ff2SEmmanuel Vadot 49*aa1a8ff2SEmmanuel Vadot i2c { 50*aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 51*aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 52*aa1a8ff2SEmmanuel Vadot 53*aa1a8ff2SEmmanuel Vadot proximity@48 { 54*aa1a8ff2SEmmanuel Vadot compatible = "murata,irsd200"; 55*aa1a8ff2SEmmanuel Vadot reg = <0x48>; 56*aa1a8ff2SEmmanuel Vadot interrupts = <24 IRQ_TYPE_EDGE_RISING>; 57*aa1a8ff2SEmmanuel Vadot vdd-supply = <®ulator_3v3>; 58*aa1a8ff2SEmmanuel Vadot }; 59*aa1a8ff2SEmmanuel Vadot }; 60*aa1a8ff2SEmmanuel Vadot... 61