xref: /linux/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
170387813SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
270387813SMaxime Ripard%YAML 1.2
370387813SMaxime Ripard---
470387813SMaxime Ripard$id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml#
570387813SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
670387813SMaxime Ripard
770387813SMaxime Ripardtitle: Broadcom STB BSC IIC Master Controller
870387813SMaxime Ripard
970387813SMaxime Ripardmaintainers:
1070387813SMaxime Ripard  - Kamal Dasu <kdasu.kdev@gmail.com>
1170387813SMaxime Ripard
1270387813SMaxime RipardallOf:
1370387813SMaxime Ripard  - $ref: /schemas/i2c/i2c-controller.yaml#
1470387813SMaxime Ripard
1570387813SMaxime Ripardproperties:
1670387813SMaxime Ripard  compatible:
1770387813SMaxime Ripard    enum:
181de20644SMaxime Ripard      - brcm,bcm2711-hdmi-i2c
1970387813SMaxime Ripard      - brcm,brcmstb-i2c
2070387813SMaxime Ripard      - brcm,brcmper-i2c
2170387813SMaxime Ripard
2270387813SMaxime Ripard  reg:
231de20644SMaxime Ripard    minItems: 1
241de20644SMaxime Ripard    items:
251de20644SMaxime Ripard      - description: BSC register range
261de20644SMaxime Ripard      - description: Auto-I2C register range
271de20644SMaxime Ripard
281de20644SMaxime Ripard  reg-names:
291de20644SMaxime Ripard    items:
301de20644SMaxime Ripard      - const: bsc
311de20644SMaxime Ripard      - const: auto-i2c
3270387813SMaxime Ripard
3370387813SMaxime Ripard  interrupts:
3470387813SMaxime Ripard    maxItems: 1
3570387813SMaxime Ripard
3670387813SMaxime Ripard  interrupt-names:
3770387813SMaxime Ripard    maxItems: 1
3870387813SMaxime Ripard
3970387813SMaxime Ripard  clock-frequency:
4070387813SMaxime Ripard    enum:
4170387813SMaxime Ripard      - 46875
4270387813SMaxime Ripard      - 50000
4370387813SMaxime Ripard      - 93750
4470387813SMaxime Ripard      - 97500
4570387813SMaxime Ripard      - 187500
4670387813SMaxime Ripard      - 200000
4770387813SMaxime Ripard      - 375000
4870387813SMaxime Ripard      - 390000
4970387813SMaxime Ripard
5070387813SMaxime Ripardrequired:
5170387813SMaxime Ripard  - compatible
5270387813SMaxime Ripard  - reg
5370387813SMaxime Ripard  - clock-frequency
5470387813SMaxime Ripard
5570387813SMaxime RipardunevaluatedProperties: false
5670387813SMaxime Ripard
571de20644SMaxime Ripardif:
581de20644SMaxime Ripard  properties:
591de20644SMaxime Ripard    compatible:
601de20644SMaxime Ripard      contains:
611de20644SMaxime Ripard        enum:
621de20644SMaxime Ripard          - brcm,bcm2711-hdmi-i2c
631de20644SMaxime Ripard
641de20644SMaxime Ripardthen:
651de20644SMaxime Ripard  properties:
661de20644SMaxime Ripard    reg:
671de20644SMaxime Ripard      minItems: 2
681de20644SMaxime Ripard
691de20644SMaxime Ripard  required:
701de20644SMaxime Ripard    - reg-names
711de20644SMaxime Ripard
721de20644SMaxime Ripardelse:
731de20644SMaxime Ripard  properties:
741de20644SMaxime Ripard    reg:
751de20644SMaxime Ripard      maxItems: 1
761de20644SMaxime Ripard
7770387813SMaxime Ripardexamples:
7870387813SMaxime Ripard  - |
7970387813SMaxime Ripard    bsca: i2c@f0406200 {
8070387813SMaxime Ripard        compatible = "brcm,brcmstb-i2c";
8170387813SMaxime Ripard        reg = <0xf0406200 0x58>;
82*2362c730SKrzysztof Kozlowski        clock-frequency = <390000>;
83*2362c730SKrzysztof Kozlowski        interrupt-parent = <&irq0_intc>;
8470387813SMaxime Ripard        interrupts = <0x18>;
8570387813SMaxime Ripard        interrupt-names = "upg_bsca";
8670387813SMaxime Ripard    };
8770387813SMaxime Ripard
881de20644SMaxime Ripard  - |
891de20644SMaxime Ripard    ddc0: i2c@7ef04500 {
901de20644SMaxime Ripard        compatible = "brcm,bcm2711-hdmi-i2c";
911de20644SMaxime Ripard        reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
921de20644SMaxime Ripard        reg-names = "bsc", "auto-i2c";
931de20644SMaxime Ripard        clock-frequency = <390000>;
941de20644SMaxime Ripard    };
951de20644SMaxime Ripard
9670387813SMaxime Ripard...
97