1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 # Copyright 2019 BayLibre, SAS 2 # Copyright 2019 BayLibre, SAS 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/i2c/amlogic !! 5 $id: "http://devicetree.org/schemas/i2c/amlogic,meson6-i2c.yaml#" 6 $schema: http://devicetree.org/meta-schemas/co !! 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 7 8 title: Amlogic Meson I2C Controller 8 title: Amlogic Meson I2C Controller 9 9 10 maintainers: 10 maintainers: 11 - Neil Armstrong <neil.armstrong@linaro.org> 11 - Neil Armstrong <neil.armstrong@linaro.org> 12 - Beniamino Galvani <b.galvani@gmail.com> 12 - Beniamino Galvani <b.galvani@gmail.com> 13 13 14 allOf: 14 allOf: 15 - $ref: /schemas/i2c/i2c-controller.yaml# 15 - $ref: /schemas/i2c/i2c-controller.yaml# 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - amlogic,meson6-i2c # Meson6, Meson8 an 20 - amlogic,meson6-i2c # Meson6, Meson8 and compatible SoCs 21 - amlogic,meson-gxbb-i2c # GXBB and comp 21 - amlogic,meson-gxbb-i2c # GXBB and compatible SoCs 22 - amlogic,meson-axg-i2c # AXG and compat 22 - amlogic,meson-axg-i2c # AXG and compatible SoCs 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 clocks: 30 clocks: 31 minItems: 1 31 minItems: 1 32 << 33 power-domains: << 34 maxItems: 1 << 35 32 36 required: 33 required: 37 - compatible 34 - compatible 38 - reg 35 - reg 39 - interrupts 36 - interrupts 40 - clocks 37 - clocks 41 38 42 unevaluatedProperties: false 39 unevaluatedProperties: false 43 40 44 examples: 41 examples: 45 - | 42 - | 46 i2c@c8100500 { 43 i2c@c8100500 { 47 compatible = "amlogic,meson6-i2c"; 44 compatible = "amlogic,meson6-i2c"; 48 reg = <0xc8100500 0x20>; 45 reg = <0xc8100500 0x20>; 49 interrupts = <92>; 46 interrupts = <92>; 50 clocks = <&clk81>; 47 clocks = <&clk81>; 51 #address-cells = <1>; 48 #address-cells = <1>; 52 #size-cells = <0>; 49 #size-cells = <0>; 53 50 54 eeprom@52 { 51 eeprom@52 { 55 compatible = "atmel,24c32"; 52 compatible = "atmel,24c32"; 56 reg = <0x52>; 53 reg = <0x52>; 57 }; 54 }; 58 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.