Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / cdns,i2c-r1p10.yaml
blob1ca1cd19bd1dd8ba5c618d1eeb484c5e6fd180c4
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: "http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Cadence I2C controller Device Tree Bindings
9 maintainers:
10   - Michal Simek <michal.simek@xilinx.com>
12 allOf:
13   - $ref: /schemas/i2c/i2c-controller.yaml#
15 properties:
16   compatible:
17     enum:
18       - cdns,i2c-r1p10 # cadence i2c controller version 1.0
19       - cdns,i2c-r1p14 # cadence i2c controller version 1.4
21   reg:
22     maxItems: 1
24   clocks:
25     minItems: 1
27   interrupts:
28     maxItems: 1
30   clock-frequency:
31     minimum: 1
32     maximum: 400000
33     description: |
34       Desired operating frequency, in Hz, of the bus.
36   clock-name:
37     const: pclk
38     description: |
39       Input clock name.
41 required:
42   - compatible
43   - reg
44   - clocks
45   - interrupts
47 unevaluatedProperties: false
49 examples:
50   - |
51     #include <dt-bindings/interrupt-controller/arm-gic.h>
52     i2c@e0004000 {
53         compatible = "cdns,i2c-r1p10";
54         clocks = <&clkc 38>;
55         interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
56         reg = <0xe0004000 0x1000>;
57         clock-frequency = <400000>;
58         #address-cells = <1>;
59         #size-cells = <0>;
60     };