1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/i2c/brcm,kona-i2c.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Broadcom Kona family I2C controller 8 9maintainers: 10 - Florian Fainelli <f.fainelli@gmail.com> 11 12allOf: 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 15properties: 16 compatible: 17 items: 18 - enum: 19 - brcm,bcm11351-i2c 20 - brcm,bcm21664-i2c 21 - brcm,bcm23550-i2c 22 - const: brcm,kona-i2c 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 clocks: 31 maxItems: 1 32 33 clock-frequency: 34 enum: [ 100000, 400000, 1000000, 3400000 ] 35 36required: 37 - compatible 38 - reg 39 - interrupts 40 - clocks 41 - clock-frequency 42 43unevaluatedProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 50 i2c@3e016000 { 51 compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c"; 52 reg = <0x3e016000 0x80>; 53 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 54 clocks = <&bsc1_clk>; 55 clock-frequency = <400000>; 56 #address-cells = <1>; 57 #size-cells = <0>; 58 }; 59... 60