I2C Controller on WonderMedia WM8505 and related SoCs

Schema identifier ($id): "http://devicetree.org/schemas/i2c/wm,wm8505-i2c.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Alexey Charkov <alchark@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 #

Exact value (const): "wm,wm8505-i2c"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Allowed values (enum): 100000, 400000

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c_0: i2c@d8280000 {
    compatible = "wm,wm8505-i2c";
    reg = <0xd8280000 0x1000>;
    interrupts = <19>;
    clocks = <&clki2c0>;
    clock-frequency = <400000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause

Edit this page