1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/i2c/wm,wm8505-i2c.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: I2C Controller on WonderMedia WM8505 and related SoCs 8 9maintainers: 10 - Alexey Charkov <alchark@gmail.com> 11 12allOf: 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 15properties: 16 compatible: 17 const: wm,wm8505-i2c 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 clocks: 26 maxItems: 1 27 28 clock-frequency: 29 enum: [100000, 400000] 30 31required: 32 - compatible 33 - reg 34 - interrupts 35 - clocks 36 37unevaluatedProperties: false 38 39examples: 40 - | 41 i2c_0: i2c@d8280000 { 42 compatible = "wm,wm8505-i2c"; 43 reg = <0xd8280000 0x1000>; 44 interrupts = <19>; 45 clocks = <&clki2c0>; 46 clock-frequency = <400000>; 47 }; 48