Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / amlogic,meson6-i2c.yaml
blob6ecb0270d88d84e2a5b3a873f940bde0011298cc
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
3 %YAML 1.2
4 ---
5 $id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic Meson I2C Controller
10 maintainers:
11   - Neil Armstrong <narmstrong@baylibre.com>
12   - Beniamino Galvani <b.galvani@gmail.com>
14 allOf:
15   - $ref: /schemas/i2c/i2c-controller.yaml#
17 properties:
18   compatible:
19     enum:
20       - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs
21       - amlogic,meson-gxbb-i2c # GXBB and compatible SoCs
22       - amlogic,meson-axg-i2c # AXG and compatible SoCs
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   clocks:
31     minItems: 1
33 required:
34   - compatible
35   - reg
36   - interrupts
37   - clocks
39 unevaluatedProperties: false
41 examples:
42   - |
43     i2c@c8100500 {
44         compatible = "amlogic,meson6-i2c";
45         reg = <0xc8100500 0x20>;
46         interrupts = <92>;
47         clocks = <&clk81>;
48         #address-cells = <1>;
49         #size-cells = <0>;
51         eeprom@52 {
52             compatible = "atmel,24c32";
53             reg = <0x52>;
54         };
55     };