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