52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog Devices AD5272 digital potentiometer8 9maintainers:10 - Phil Reid <preid@electromag.com.au>11 12description: |13 Datasheet: https://www.analog.com/en/products/ad5272.html14 15properties:16 compatible:17 enum:18 - adi,ad5272-02019 - adi,ad5272-05020 - adi,ad5272-10021 - adi,ad5274-02022 - adi,ad5274-10023 24 reg:25 maxItems: 126 27 reset-gpios:28 maxItems: 129 description:30 Active low signal to the AD5272 RESET input.31 32additionalProperties: false33 34required:35 - compatible36 - reg37 38examples:39 - |40 #include <dt-bindings/gpio/gpio.h>41 i2c {42 #address-cells = <1>;43 #size-cells = <0>;44 45 potentiometer@2f {46 compatible = "adi,ad5272-020";47 reg = <0x2f>;48 reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;49 };50 };51...52