xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/amlogic,meson6-i2c.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot# Copyright 2019 BayLibre, SAS
3c66ec88fSEmmanuel Vadot%YAML 1.2
4c66ec88fSEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadottitle: Amlogic Meson I2C Controller
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadotmaintainers:
11b97ee269SEmmanuel Vadot  - Neil Armstrong <neil.armstrong@linaro.org>
12c66ec88fSEmmanuel Vadot  - Beniamino Galvani <b.galvani@gmail.com>
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel VadotallOf:
15c66ec88fSEmmanuel Vadot  - $ref: /schemas/i2c/i2c-controller.yaml#
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    enum:
20c66ec88fSEmmanuel Vadot      - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs
21c66ec88fSEmmanuel Vadot      - amlogic,meson-gxbb-i2c # GXBB and compatible SoCs
22c66ec88fSEmmanuel Vadot      - amlogic,meson-axg-i2c # AXG and compatible SoCs
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  interrupts:
28c66ec88fSEmmanuel Vadot    maxItems: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  clocks:
31c66ec88fSEmmanuel Vadot    minItems: 1
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadotrequired:
34c66ec88fSEmmanuel Vadot  - compatible
35c66ec88fSEmmanuel Vadot  - reg
36c66ec88fSEmmanuel Vadot  - interrupts
37c66ec88fSEmmanuel Vadot  - clocks
38c66ec88fSEmmanuel Vadot
396be33864SEmmanuel VadotunevaluatedProperties: false
406be33864SEmmanuel Vadot
41c66ec88fSEmmanuel Vadotexamples:
42c66ec88fSEmmanuel Vadot  - |
43c66ec88fSEmmanuel Vadot    i2c@c8100500 {
44c66ec88fSEmmanuel Vadot        compatible = "amlogic,meson6-i2c";
45c66ec88fSEmmanuel Vadot        reg = <0xc8100500 0x20>;
46c66ec88fSEmmanuel Vadot        interrupts = <92>;
47c66ec88fSEmmanuel Vadot        clocks = <&clk81>;
48c66ec88fSEmmanuel Vadot        #address-cells = <1>;
49c66ec88fSEmmanuel Vadot        #size-cells = <0>;
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadot        eeprom@52 {
52c66ec88fSEmmanuel Vadot            compatible = "atmel,24c32";
53c66ec88fSEmmanuel Vadot            reg = <0x52>;
54c66ec88fSEmmanuel Vadot        };
55c66ec88fSEmmanuel Vadot    };
56