1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/proximity/semtech,sx9500.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Semtech's SX9500 capacitive proximity button device 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotproperties: 13*5def4c47SEmmanuel Vadot compatible: 14*5def4c47SEmmanuel Vadot const: semtech,sx9500 15*5def4c47SEmmanuel Vadot 16*5def4c47SEmmanuel Vadot reg: 17*5def4c47SEmmanuel Vadot maxItems: 1 18*5def4c47SEmmanuel Vadot 19*5def4c47SEmmanuel Vadot interrupts: 20*5def4c47SEmmanuel Vadot maxItems: 1 21*5def4c47SEmmanuel Vadot 22*5def4c47SEmmanuel Vadot reset-gpios: 23*5def4c47SEmmanuel Vadot description: 24*5def4c47SEmmanuel Vadot GPIO connected to the active low reset pin. 25*5def4c47SEmmanuel Vadot maxItems: 1 26*5def4c47SEmmanuel Vadot 27*5def4c47SEmmanuel Vadotrequired: 28*5def4c47SEmmanuel Vadot - compatible 29*5def4c47SEmmanuel Vadot - reg 30*5def4c47SEmmanuel Vadot - interrupts 31*5def4c47SEmmanuel Vadot 32*5def4c47SEmmanuel VadotadditionalProperties: false 33*5def4c47SEmmanuel Vadot 34*5def4c47SEmmanuel Vadotexamples: 35*5def4c47SEmmanuel Vadot - | 36*5def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 37*5def4c47SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 38*5def4c47SEmmanuel Vadot i2c { 39*5def4c47SEmmanuel Vadot #address-cells = <1>; 40*5def4c47SEmmanuel Vadot #size-cells = <0>; 41*5def4c47SEmmanuel Vadot 42*5def4c47SEmmanuel Vadot proximity@28 { 43*5def4c47SEmmanuel Vadot compatible = "semtech,sx9500"; 44*5def4c47SEmmanuel Vadot reg = <0x28>; 45*5def4c47SEmmanuel Vadot interrupt-parent = <&gpio2>; 46*5def4c47SEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_LOW>; 47*5def4c47SEmmanuel Vadot reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 48*5def4c47SEmmanuel Vadot }; 49*5def4c47SEmmanuel Vadot }; 50*5def4c47SEmmanuel Vadot... 51