0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/i2c/brcm,bcm2835-i2c.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom BCM2835 I2C controller
0008
0009 maintainers:
0010 - Stephen Warren <swarren@wwwdotorg.org>
0011
0012 allOf:
0013 - $ref: /schemas/i2c/i2c-controller.yaml#
0014
0015 properties:
0016 compatible:
0017 oneOf:
0018 - enum:
0019 - brcm,bcm2835-i2c
0020 - items:
0021 - const: brcm,bcm2711-i2c
0022 - const: brcm,bcm2835-i2c
0023
0024 reg:
0025 maxItems: 1
0026
0027 interrupts:
0028 maxItems: 1
0029
0030 clock-names:
0031 maxItems: 1
0032
0033 clocks:
0034 maxItems: 1
0035
0036 clock-frequency: true
0037
0038 required:
0039 - compatible
0040 - reg
0041 - interrupts
0042 - clocks
0043
0044 unevaluatedProperties: false
0045
0046 examples:
0047 - |
0048 i2c@7e205000 {
0049 compatible = "brcm,bcm2835-i2c";
0050 reg = <0x7e205000 0x1000>;
0051 interrupts = <2 21>;
0052 clocks = <&clk_i2c>;
0053 clock-frequency = <100000>;
0054 };