Marvell MMP I2C controller
Schema identifier ($id): "http://devicetree.org/schemas/i2c/i2c-pxa.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/i2c/i2c-controller.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)When the condition matches (
then) #
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mrvl,mmp-twsi", "mrvl,pxa-i2c", "marvell,armada-3700-i2c"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
mrvl,i2c-polling — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Disable interrupt of i2c controller. Polling status register of i2c controller instead.
mrvl,i2c-fast-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable fast mode of i2c controller.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#address-cells", "#size-cells"
Examples (examples) #
#include <dt-bindings/clock/marvell,mmp2.h>
i2c@d4011000 {
compatible = "mrvl,mmp-twsi";
reg = <0xd4011000 0x1000>;
interrupts = <7>;
clocks = <&soc_clocks MMP2_CLK_TWSI1>;
mrvl,i2c-fast-mode;
#address-cells = <1>;
#size-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only