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--- 57375e079SNeil Armstrong$id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#" 67375e079SNeil Armstrong$schema: "http://devicetree.org/meta-schemas/core.yaml#" 77375e079SNeil Armstrong 87375e079SNeil Armstrongtitle: Amlogic Meson I2C Controller 97375e079SNeil Armstrong 107375e079SNeil Armstrongmaintainers: 11*c6a43fb3SNeil 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 337375e079SNeil Armstrongrequired: 347375e079SNeil Armstrong - compatible 357375e079SNeil Armstrong - reg 367375e079SNeil Armstrong - interrupts 377375e079SNeil Armstrong - clocks 387375e079SNeil Armstrong 396fdc6e23SRob HerringunevaluatedProperties: false 406fdc6e23SRob Herring 417375e079SNeil Armstrongexamples: 427375e079SNeil Armstrong - | 437375e079SNeil Armstrong i2c@c8100500 { 447375e079SNeil Armstrong compatible = "amlogic,meson6-i2c"; 457375e079SNeil Armstrong reg = <0xc8100500 0x20>; 467375e079SNeil Armstrong interrupts = <92>; 477375e079SNeil Armstrong clocks = <&clk81>; 487375e079SNeil Armstrong #address-cells = <1>; 497375e079SNeil Armstrong #size-cells = <0>; 507375e079SNeil Armstrong 517375e079SNeil Armstrong eeprom@52 { 527375e079SNeil Armstrong compatible = "atmel,24c32"; 537375e079SNeil Armstrong reg = <0x52>; 547375e079SNeil Armstrong }; 557375e079SNeil Armstrong }; 56