1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/renesas,rzv2m.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 7b97ee269SEmmanuel Vadottitle: Renesas RZ/V2M I2C Bus Interface 8b97ee269SEmmanuel Vadot 9b97ee269SEmmanuel Vadotmaintainers: 10*fac71e4eSEmmanuel Vadot - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel VadotallOf: 13b97ee269SEmmanuel Vadot - $ref: /schemas/i2c/i2c-controller.yaml# 14b97ee269SEmmanuel Vadot 15b97ee269SEmmanuel Vadotproperties: 16b97ee269SEmmanuel Vadot compatible: 17b97ee269SEmmanuel Vadot items: 18b97ee269SEmmanuel Vadot - enum: 198bab661aSEmmanuel Vadot - renesas,r9a09g011-i2c # RZ/V2M 20b97ee269SEmmanuel Vadot - const: renesas,rzv2m-i2c 21b97ee269SEmmanuel Vadot 22b97ee269SEmmanuel Vadot reg: 23b97ee269SEmmanuel Vadot maxItems: 1 24b97ee269SEmmanuel Vadot 25b97ee269SEmmanuel Vadot interrupts: 26b97ee269SEmmanuel Vadot items: 27b97ee269SEmmanuel Vadot - description: Data transmission/reception interrupt 28b97ee269SEmmanuel Vadot - description: Status interrupt 29b97ee269SEmmanuel Vadot 30b97ee269SEmmanuel Vadot interrupt-names: 31b97ee269SEmmanuel Vadot items: 32b97ee269SEmmanuel Vadot - const: tia 33b97ee269SEmmanuel Vadot - const: tis 34b97ee269SEmmanuel Vadot 35b97ee269SEmmanuel Vadot clock-frequency: 36b97ee269SEmmanuel Vadot default: 100000 37b97ee269SEmmanuel Vadot enum: [ 100000, 400000 ] 38b97ee269SEmmanuel Vadot description: 39b97ee269SEmmanuel Vadot Desired I2C bus clock frequency in Hz. 40b97ee269SEmmanuel Vadot 41b97ee269SEmmanuel Vadot clocks: 42b97ee269SEmmanuel Vadot maxItems: 1 43b97ee269SEmmanuel Vadot 44b97ee269SEmmanuel Vadot power-domains: 45b97ee269SEmmanuel Vadot maxItems: 1 46b97ee269SEmmanuel Vadot 47b97ee269SEmmanuel Vadot resets: 48b97ee269SEmmanuel Vadot maxItems: 1 49b97ee269SEmmanuel Vadot 50b97ee269SEmmanuel Vadotrequired: 51b97ee269SEmmanuel Vadot - compatible 52b97ee269SEmmanuel Vadot - reg 53b97ee269SEmmanuel Vadot - interrupts 54b97ee269SEmmanuel Vadot - interrupt-names 55b97ee269SEmmanuel Vadot - clocks 56b97ee269SEmmanuel Vadot - power-domains 57b97ee269SEmmanuel Vadot - resets 58b97ee269SEmmanuel Vadot - '#address-cells' 59b97ee269SEmmanuel Vadot - '#size-cells' 60b97ee269SEmmanuel Vadot 61b97ee269SEmmanuel VadotunevaluatedProperties: false 62b97ee269SEmmanuel Vadot 63b97ee269SEmmanuel Vadotexamples: 64b97ee269SEmmanuel Vadot - | 65b97ee269SEmmanuel Vadot #include <dt-bindings/clock/r9a09g011-cpg.h> 66b97ee269SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 67b97ee269SEmmanuel Vadot 68b97ee269SEmmanuel Vadot i2c0: i2c@a4030000 { 698bab661aSEmmanuel Vadot compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; 70b97ee269SEmmanuel Vadot reg = <0xa4030000 0x80>; 71b97ee269SEmmanuel Vadot interrupts = <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>, 72b97ee269SEmmanuel Vadot <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>; 73b97ee269SEmmanuel Vadot interrupt-names = "tia", "tis"; 74b97ee269SEmmanuel Vadot clocks = <&cpg CPG_MOD R9A09G011_IIC_PCLK0>; 75b97ee269SEmmanuel Vadot resets = <&cpg R9A09G011_IIC_GPA_PRESETN>; 76b97ee269SEmmanuel Vadot power-domains = <&cpg>; 77b97ee269SEmmanuel Vadot clock-frequency = <100000>; 78b97ee269SEmmanuel Vadot #address-cells = <1>; 79b97ee269SEmmanuel Vadot #size-cells = <0>; 80b97ee269SEmmanuel Vadot }; 81