brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · c33640d Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Murata ZPA2326 pressure sensor8 9maintainers:10  - Jonathan Cameron <jic23@kernel.org>11 12description: |13  Pressure sensor from Murata with SPI and I2C bus interfaces.14 15 16properties:17  compatible:18    const: murata,zpa232619 20  reg:21    maxItems: 122 23  vdd-supply: true24  vref-supply: true25 26  interrupts:27    maxItems: 128 29  spi-max-frequency:30    maximum: 100000031 32required:33  - compatible34  - reg35 36allOf:37  - $ref: /schemas/spi/spi-peripheral-props.yaml#38 39unevaluatedProperties: false40 41examples:42  - |43    i2c {44        #address-cells = <1>;45        #size-cells = <0>;46 47        pressure@5c {48            compatible = "murata,zpa2326";49            reg = <0x5c>;50            interrupt-parent = <&gpio>;51            interrupts = <12>;52            vdd-supply = <&ldo_1v8_gnss>;53        };54    };55  - |56    spi {57        #address-cells = <1>;58        #size-cells = <0>;59        pressure@0 {60            compatible = "murata,zpa2326";61            reg = <0>;62            spi-max-frequency = <500000>;63        };64    };65...66