brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · ac9ddf2 Raw
97 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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 Controller8 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,bcm2711-hdmi-i2c19      - brcm,brcmstb-i2c20      - brcm,brcmper-i2c21 22  reg:23    minItems: 124    items:25      - description: BSC register range26      - description: Auto-I2C register range27 28  reg-names:29    items:30      - const: bsc31      - const: auto-i2c32 33  interrupts:34    maxItems: 135 36  interrupt-names:37    maxItems: 138 39  clock-frequency:40    enum:41      - 4687542      - 5000043      - 9375044      - 9750045      - 18750046      - 20000047      - 37500048      - 39000049 50required:51  - compatible52  - reg53  - clock-frequency54 55unevaluatedProperties: false56 57if:58  properties:59    compatible:60      contains:61        enum:62          - brcm,bcm2711-hdmi-i2c63 64then:65  properties:66    reg:67      minItems: 268 69  required:70    - reg-names71 72else:73  properties:74    reg:75      maxItems: 176 77examples:78  - |79    bsca: i2c@f0406200 {80        compatible = "brcm,brcmstb-i2c";81        reg = <0xf0406200 0x58>;82        clock-frequency = <390000>;83        interrupt-parent = <&irq0_intc>;84        interrupts = <0x18>;85        interrupt-names = "upg_bsca";86    };87 88  - |89    ddc0: i2c@7ef04500 {90        compatible = "brcm,bcm2711-hdmi-i2c";91        reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;92        reg-names = "bsc", "auto-i2c";93        clock-frequency = <390000>;94    };95 96...97