I2C controller embedded in STMicroelectronics STi platform

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

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

Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.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): "st,comms-ssc-i2c", "st,comms-ssc4-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-names — required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Allowed values (enum): 100000, 400000

Default value (default): 100000

st,i2c-min-scl-pulse-width-us — not listed as required here #

The minimum valid SCL pulse width that is allowed through the deglitch circuit. In units of us.

st,i2c-min-sda-pulse-width-us — not listed as required here #

The minimum valid SDA pulse width that is allowed through the deglitch circuit. In units of us.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stih407-clks.h>
i2c@fed40000 {
    compatible = "st,comms-ssc4-i2c";
    reg = <0xfed40000 0x110>;
    interrupts =  <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk_s_a0_ls CLK_ICN_REG>;
    clock-names = "ssc";
    clock-frequency = <400000>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_i2c0_default>;
    st,i2c-min-scl-pulse-width-us = <0>;
    st,i2c-min-sda-pulse-width-us = <5>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page