1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*e67e8565SEmmanuel Vadot%YAML 1.2 3*e67e8565SEmmanuel Vadot--- 4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/brcm,bcm2835-i2c.yaml# 5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*e67e8565SEmmanuel Vadot 7*e67e8565SEmmanuel Vadottitle: Broadcom BCM2835 I2C controller 8*e67e8565SEmmanuel Vadot 9*e67e8565SEmmanuel Vadotmaintainers: 10*e67e8565SEmmanuel Vadot - Stephen Warren <swarren@wwwdotorg.org> 11*e67e8565SEmmanuel Vadot 12*e67e8565SEmmanuel VadotallOf: 13*e67e8565SEmmanuel Vadot - $ref: /schemas/i2c/i2c-controller.yaml# 14*e67e8565SEmmanuel Vadot 15*e67e8565SEmmanuel Vadotproperties: 16*e67e8565SEmmanuel Vadot compatible: 17*e67e8565SEmmanuel Vadot oneOf: 18*e67e8565SEmmanuel Vadot - enum: 19*e67e8565SEmmanuel Vadot - brcm,bcm2835-i2c 20*e67e8565SEmmanuel Vadot - items: 21*e67e8565SEmmanuel Vadot - const: brcm,bcm2711-i2c 22*e67e8565SEmmanuel Vadot - const: brcm,bcm2835-i2c 23*e67e8565SEmmanuel Vadot 24*e67e8565SEmmanuel Vadot reg: 25*e67e8565SEmmanuel Vadot maxItems: 1 26*e67e8565SEmmanuel Vadot 27*e67e8565SEmmanuel Vadot interrupts: 28*e67e8565SEmmanuel Vadot maxItems: 1 29*e67e8565SEmmanuel Vadot 30*e67e8565SEmmanuel Vadot clock-names: 31*e67e8565SEmmanuel Vadot maxItems: 1 32*e67e8565SEmmanuel Vadot 33*e67e8565SEmmanuel Vadot clocks: 34*e67e8565SEmmanuel Vadot maxItems: 1 35*e67e8565SEmmanuel Vadot 36*e67e8565SEmmanuel Vadot clock-frequency: true 37*e67e8565SEmmanuel Vadot 38*e67e8565SEmmanuel Vadotrequired: 39*e67e8565SEmmanuel Vadot - compatible 40*e67e8565SEmmanuel Vadot - reg 41*e67e8565SEmmanuel Vadot - interrupts 42*e67e8565SEmmanuel Vadot - clocks 43*e67e8565SEmmanuel Vadot 44*e67e8565SEmmanuel VadotunevaluatedProperties: false 45*e67e8565SEmmanuel Vadot 46*e67e8565SEmmanuel Vadotexamples: 47*e67e8565SEmmanuel Vadot - | 48*e67e8565SEmmanuel Vadot i2c@7e205000 { 49*e67e8565SEmmanuel Vadot compatible = "brcm,bcm2835-i2c"; 50*e67e8565SEmmanuel Vadot reg = <0x7e205000 0x1000>; 51*e67e8565SEmmanuel Vadot interrupts = <2 21>; 52*e67e8565SEmmanuel Vadot clocks = <&clk_i2c>; 53*e67e8565SEmmanuel Vadot clock-frequency = <100000>; 54*e67e8565SEmmanuel Vadot }; 55