1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/i2c-owl.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Actions Semi Owl I2C Controller 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotdescription: | 13*5def4c47SEmmanuel Vadot This I2C controller is found in the Actions Semi Owl SoCs: 14*5def4c47SEmmanuel Vadot S500, S700 and S900. 15*5def4c47SEmmanuel Vadot 16*5def4c47SEmmanuel VadotallOf: 17*5def4c47SEmmanuel Vadot - $ref: /schemas/i2c/i2c-controller.yaml# 18*5def4c47SEmmanuel Vadot 19*5def4c47SEmmanuel Vadotproperties: 20*5def4c47SEmmanuel Vadot compatible: 21*5def4c47SEmmanuel Vadot enum: 22*5def4c47SEmmanuel Vadot - actions,s500-i2c # Actions Semi S500 compatible SoCs 23*5def4c47SEmmanuel Vadot - actions,s700-i2c # Actions Semi S700 compatible SoCs 24*5def4c47SEmmanuel Vadot - actions,s900-i2c # Actions Semi S900 compatible SoCs 25*5def4c47SEmmanuel Vadot 26*5def4c47SEmmanuel Vadot reg: 27*5def4c47SEmmanuel Vadot maxItems: 1 28*5def4c47SEmmanuel Vadot 29*5def4c47SEmmanuel Vadot interrupts: 30*5def4c47SEmmanuel Vadot maxItems: 1 31*5def4c47SEmmanuel Vadot 32*5def4c47SEmmanuel Vadot clocks: 33*5def4c47SEmmanuel Vadot description: Phandle of the clock feeding the I2C controller. 34*5def4c47SEmmanuel Vadot minItems: 1 35*5def4c47SEmmanuel Vadot 36*5def4c47SEmmanuel Vadot clock-frequency: 37*5def4c47SEmmanuel Vadot description: | 38*5def4c47SEmmanuel Vadot Desired I2C bus clock frequency in Hz. As only Standard and Fast 39*5def4c47SEmmanuel Vadot modes are supported, possible values are 100000 and 400000. 40*5def4c47SEmmanuel Vadot enum: [100000, 400000] 41*5def4c47SEmmanuel Vadot 42*5def4c47SEmmanuel Vadotrequired: 43*5def4c47SEmmanuel Vadot - compatible 44*5def4c47SEmmanuel Vadot - reg 45*5def4c47SEmmanuel Vadot - interrupts 46*5def4c47SEmmanuel Vadot - clocks 47*5def4c47SEmmanuel Vadot 48*5def4c47SEmmanuel VadotunevaluatedProperties: false 49*5def4c47SEmmanuel Vadot 50*5def4c47SEmmanuel Vadotexamples: 51*5def4c47SEmmanuel Vadot - | 52*5def4c47SEmmanuel Vadot #include <dt-bindings/clock/actions,s900-cmu.h> 53*5def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 54*5def4c47SEmmanuel Vadot i2c@e0170000 { 55*5def4c47SEmmanuel Vadot compatible = "actions,s900-i2c"; 56*5def4c47SEmmanuel Vadot reg = <0xe0170000 0x1000>; 57*5def4c47SEmmanuel Vadot interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 58*5def4c47SEmmanuel Vadot clocks = <&cmu CLK_I2C0>; 59*5def4c47SEmmanuel Vadot clock-frequency = <100000>; 60*5def4c47SEmmanuel Vadot }; 61*5def4c47SEmmanuel Vadot 62*5def4c47SEmmanuel Vadot... 63