xref: /linux/Documentation/devicetree/bindings/i2c/amlogic,meson6-i2c.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
17375e079SNeil Armstrong# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
27375e079SNeil Armstrong# Copyright 2019 BayLibre, SAS
37375e079SNeil Armstrong%YAML 1.2
47375e079SNeil Armstrong---
5fc114c75SRob Herring$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#
6fc114c75SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
77375e079SNeil Armstrong
87375e079SNeil Armstrongtitle: Amlogic Meson I2C Controller
97375e079SNeil Armstrong
107375e079SNeil Armstrongmaintainers:
11c6a43fb3SNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
127375e079SNeil Armstrong  - Beniamino Galvani <b.galvani@gmail.com>
137375e079SNeil Armstrong
147375e079SNeil ArmstrongallOf:
157375e079SNeil Armstrong  - $ref: /schemas/i2c/i2c-controller.yaml#
167375e079SNeil Armstrong
177375e079SNeil Armstrongproperties:
187375e079SNeil Armstrong  compatible:
197375e079SNeil Armstrong    enum:
207375e079SNeil Armstrong      - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs
217375e079SNeil Armstrong      - amlogic,meson-gxbb-i2c # GXBB and compatible SoCs
227375e079SNeil Armstrong      - amlogic,meson-axg-i2c # AXG and compatible SoCs
237375e079SNeil Armstrong
247375e079SNeil Armstrong  reg:
257375e079SNeil Armstrong    maxItems: 1
267375e079SNeil Armstrong
277375e079SNeil Armstrong  interrupts:
287375e079SNeil Armstrong    maxItems: 1
297375e079SNeil Armstrong
307375e079SNeil Armstrong  clocks:
317375e079SNeil Armstrong    minItems: 1
327375e079SNeil Armstrong
33*ab1c7ea4SGeorge Stark  power-domains:
34*ab1c7ea4SGeorge Stark    maxItems: 1
35*ab1c7ea4SGeorge Stark
367375e079SNeil Armstrongrequired:
377375e079SNeil Armstrong  - compatible
387375e079SNeil Armstrong  - reg
397375e079SNeil Armstrong  - interrupts
407375e079SNeil Armstrong  - clocks
417375e079SNeil Armstrong
426fdc6e23SRob HerringunevaluatedProperties: false
436fdc6e23SRob Herring
447375e079SNeil Armstrongexamples:
457375e079SNeil Armstrong  - |
467375e079SNeil Armstrong    i2c@c8100500 {
477375e079SNeil Armstrong        compatible = "amlogic,meson6-i2c";
487375e079SNeil Armstrong        reg = <0xc8100500 0x20>;
497375e079SNeil Armstrong        interrupts = <92>;
507375e079SNeil Armstrong        clocks = <&clk81>;
517375e079SNeil Armstrong        #address-cells = <1>;
527375e079SNeil Armstrong        #size-cells = <0>;
537375e079SNeil Armstrong
547375e079SNeil Armstrong        eeprom@52 {
557375e079SNeil Armstrong            compatible = "atmel,24c32";
567375e079SNeil Armstrong            reg = <0x52>;
577375e079SNeil Armstrong        };
587375e079SNeil Armstrong    };
59