xref: /freebsd/sys/contrib/device-tree/Bindings/iio/health/ti,afe4404.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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/health/ti,afe4404.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Jonathan Cameron <jic23@kernel.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotproperties:
135def4c47SEmmanuel Vadot  compatible:
145def4c47SEmmanuel Vadot    const: ti,afe4404
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadot  reg:
175def4c47SEmmanuel Vadot    maxItems: 1
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadot  tx-supply:
205def4c47SEmmanuel Vadot    description: Supply to transmitting LEDs.
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadot  interrupts:
235def4c47SEmmanuel Vadot    maxItems: 1
245def4c47SEmmanuel Vadot    description: Connected to ADC_RDY pin.
255def4c47SEmmanuel Vadot
26*aa1a8ff2SEmmanuel Vadot  reset-gpios:
27*aa1a8ff2SEmmanuel Vadot    maxItems: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel VadotadditionalProperties: false
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadotrequired:
325def4c47SEmmanuel Vadot  - compatible
335def4c47SEmmanuel Vadot  - reg
345def4c47SEmmanuel Vadot
355def4c47SEmmanuel Vadotexamples:
365def4c47SEmmanuel Vadot  - |
375def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
385def4c47SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
395def4c47SEmmanuel Vadot    i2c {
405def4c47SEmmanuel Vadot        #address-cells = <1>;
415def4c47SEmmanuel Vadot        #size-cells = <0>;
425def4c47SEmmanuel Vadot
43cb7aa33aSEmmanuel Vadot        heart-mon@58 {
445def4c47SEmmanuel Vadot            compatible = "ti,afe4404";
455def4c47SEmmanuel Vadot            reg = <0x58>;
465def4c47SEmmanuel Vadot            tx-supply = <&vbat>;
475def4c47SEmmanuel Vadot            interrupt-parent = <&gpio1>;
485def4c47SEmmanuel Vadot            interrupts = <28 IRQ_TYPE_EDGE_RISING>;
495def4c47SEmmanuel Vadot            reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
505def4c47SEmmanuel Vadot        };
515def4c47SEmmanuel Vadot    };
525def4c47SEmmanuel Vadot...
53