1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom STB BSC IIC Master Controller
8
9maintainers:
10  - Kamal Dasu <kdasu.kdev@gmail.com>
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - brcm,brcmstb-i2c
19      - brcm,brcmper-i2c
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  interrupt-names:
28    maxItems: 1
29
30  clock-frequency:
31    enum:
32      - 46875
33      - 50000
34      - 93750
35      - 97500
36      - 187500
37      - 200000
38      - 375000
39      - 390000
40
41required:
42  - compatible
43  - reg
44  - clock-frequency
45
46unevaluatedProperties: false
47
48examples:
49  - |
50      bsca: i2c@f0406200 {
51          clock-frequency = <390000>;
52          compatible = "brcm,brcmstb-i2c";
53          interrupt-parent = <&irq0_intc>;
54          reg = <0xf0406200 0x58>;
55          interrupts = <0x18>;
56          interrupt-names = "upg_bsca";
57      };
58
59...
60