brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · b65c25c Raw
57 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/i2c/nxp,pca9541.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP PCA9541 I2C bus master selector8 9maintainers:10  - Peter Rosin <peda@axentia.se>11 12properties:13  compatible:14    const: nxp,pca954115 16  reg:17    maxItems: 118 19  i2c-arb:20    type: object21    $ref: /schemas/i2c/i2c-controller.yaml22    unevaluatedProperties: false23    description:24      I2C arbitration bus node.25 26required:27  - compatible28  - reg29  - i2c-arb30 31additionalProperties: false32 33examples:34  - |35    #include <dt-bindings/gpio/gpio.h>36    #include <dt-bindings/interrupt-controller/irq.h>37 38    i2c {39        #address-cells = <1>;40        #size-cells = <0>;41 42        i2c-arbitrator@74 {43            compatible = "nxp,pca9541";44            reg = <0x74>;45 46            i2c-arb {47                #address-cells = <1>;48                #size-cells = <0>;49 50                eeprom@54 {51                    compatible = "atmel,24c08";52                    reg = <0x54>;53                };54            };55        };56    };57