Cadence I2C controller
Schema identifier ($id): "http://devicetree.org/schemas/i2c/cdns,i2c-r1p10.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michal Simek <michal.simek@amd.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): "cdns,i2c-r1p10", "cdns,i2c-r1p14"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Minimum value (minimum): 1
Maximum value (maximum): 400000
Desired operating frequency, in Hz, of the bus.
clock-name — not listed as required here #
Exact value (const): "pclk"
Input clock name.
fifo-depth — not listed as required here #
Size of the data FIFO in bytes.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 16
Allowed values (enum): 2, 4, 8, 16, 32, 64, 128, 256
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c@e0004000 {
compatible = "cdns,i2c-r1p10";
clocks = <&clkc 38>;
resets = <&rstc 288>;
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
reg = <0xe0004000 0x1000>;
clock-frequency = <400000>;
#address-cells = <1>;
#size-cells = <0>;
fifo-depth = <8>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 18: cadence i2c controller version 1.0
Line 19: cadence i2c controller version 1.4