Broadcom STB BSC IIC Master Controller
Schema identifier ($id): "http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kamal Dasu <kdasu.kdev@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/i2c/i2c-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "brcm,bcm2711-hdmi-i2c", "brcm,brcmstb-i2c", "brcm,brcmper-i2c"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
BSC register range
Item 2
Auto-I2C register range
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"bsc"
Item 2
Exact value (
const):"auto-i2c"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — required here #
Allowed values (enum): 46875, 50000, 93750, 97500, 187500, 200000, 375000, 390000
Required in this object (required): "compatible", "reg", "clock-frequency"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Properties and child nodes (
properties) #
reg— not listed as required here #Minimum number of items (
minItems):2
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):1
Examples (examples) #
bsca: i2c@f0406200 {
compatible = "brcm,brcmstb-i2c";
reg = <0xf0406200 0x58>;
clock-frequency = <390000>;
interrupt-parent = <&irq0_intc>;
interrupts = <0x18>;
interrupt-names = "upg_bsca";
};
ddc0: i2c@7ef04500 {
compatible = "brcm,bcm2711-hdmi-i2c";
reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
reg-names = "bsc", "auto-i2c";
clock-frequency = <390000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0