59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 BayLibre, SAS3%YAML 1.24---5$id: http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Amlogic Meson I2C Controller9 10maintainers:11 - Neil Armstrong <neil.armstrong@linaro.org>12 - Beniamino Galvani <b.galvani@gmail.com>13 14allOf:15 - $ref: /schemas/i2c/i2c-controller.yaml#16 17properties:18 compatible:19 enum:20 - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs21 - amlogic,meson-gxbb-i2c # GXBB and compatible SoCs22 - amlogic,meson-axg-i2c # AXG and compatible SoCs23 24 reg:25 maxItems: 126 27 interrupts:28 maxItems: 129 30 clocks:31 minItems: 132 33 power-domains:34 maxItems: 135 36required:37 - compatible38 - reg39 - interrupts40 - clocks41 42unevaluatedProperties: false43 44examples:45 - |46 i2c@c8100500 {47 compatible = "amlogic,meson6-i2c";48 reg = <0xc8100500 0x20>;49 interrupts = <92>;50 clocks = <&clk81>;51 #address-cells = <1>;52 #size-cells = <0>;53 54 eeprom@52 {55 compatible = "atmel,24c32";56 reg = <0x52>;57 };58 };59