15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/proximity/st,vl53l0x.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: ST VL53L0X ToF ranging sensor 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Song Qiang <songqiang1304521@gmail.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 145def4c47SEmmanuel Vadot const: st,vl53l0x 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadot reg: 175def4c47SEmmanuel Vadot maxItems: 1 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadot interrupts: 205def4c47SEmmanuel Vadot maxItems: 1 215def4c47SEmmanuel Vadot 22*b97ee269SEmmanuel Vadot reset-gpios: 23*b97ee269SEmmanuel Vadot maxItems: 1 24*b97ee269SEmmanuel Vadot 25*b97ee269SEmmanuel Vadot vdd-supply: true 26*b97ee269SEmmanuel Vadot 275def4c47SEmmanuel Vadotrequired: 285def4c47SEmmanuel Vadot - compatible 295def4c47SEmmanuel Vadot - reg 305def4c47SEmmanuel Vadot 315def4c47SEmmanuel VadotadditionalProperties: false 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadotexamples: 345def4c47SEmmanuel Vadot - | 355def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 365def4c47SEmmanuel Vadot i2c { 375def4c47SEmmanuel Vadot #address-cells = <1>; 385def4c47SEmmanuel Vadot #size-cells = <0>; 395def4c47SEmmanuel Vadot 405def4c47SEmmanuel Vadot proximity@29 { 415def4c47SEmmanuel Vadot compatible = "st,vl53l0x"; 425def4c47SEmmanuel Vadot reg = <0x29>; 435def4c47SEmmanuel Vadot interrupt-parent = <&gpio>; 445def4c47SEmmanuel Vadot interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 455def4c47SEmmanuel Vadot }; 465def4c47SEmmanuel Vadot }; 475def4c47SEmmanuel Vadot... 48