brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · afa3db7 Raw
57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/i2c/microchip,corei2c.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip MPFS I2C Controller8 9maintainers:10  - Daire McNamara <daire.mcnamara@microchip.com>11 12allOf:13  - $ref: /schemas/i2c/i2c-controller.yaml#14 15properties:16  compatible:17    oneOf:18      - items:19          - const: microchip,mpfs-i2c # Microchip PolarFire SoC compatible SoCs20          - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core21      - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core22 23  reg:24    maxItems: 125 26  interrupts:27    maxItems: 128 29  clocks:30    maxItems: 131 32  clock-frequency:33    description: |34      Desired I2C bus clock frequency in Hz. As only Standard and Fast35      modes are supported, possible values are 100000 and 400000.36    enum: [100000, 400000]37 38required:39  - compatible40  - reg41  - interrupts42  - clocks43 44unevaluatedProperties: false45 46examples:47  - |48    i2c@2010a000 {49      compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7";50      reg = <0x2010a000 0x1000>;51      clocks = <&clkcfg 15>;52      interrupt-parent = <&plic>;53      interrupts = <58>;54      clock-frequency = <100000>;55    };56...57