Freescale Low Power Inter IC (LPI2C) for i.MX
Schema identifier ($id): "http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Guo <shawnguo@kernel.org>", "Sascha Hauer <s.hauer@pengutronix.de>", "Fabio Estevam <festevam@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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8qxp-lpi2c","fsl,imx8dxl-lpi2c","fsl,imx8qm-lpi2c","fsl,imx8ulp-lpi2c","fsl,imx93-lpi2c","fsl,imx94-lpi2c","fsl,imx95-lpi2c"Item 2
Exact value (
const):"fsl,imx7ulp-lpi2c"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
assigned-clock-parents — not listed as required here #
true — No constraints added by this property rule.
assigned-clock-rates — not listed as required here #
true — No constraints added by this property rule.
assigned-clocks — not listed as required here #
true — No constraints added by this property rule.
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"per"
Item 2
Exact value (
const):"ipg"
clocks — required here #
Maximum number of items (maxItems): 2
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for TX
Item 2
DMA controller phandle and request line for RX
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx7ulp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c@40a50000 {
compatible = "fsl,imx7ulp-lpi2c";
reg = <0x40A50000 0x10000>;
interrupt-parent = <&intc>;
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7ULP_CLK_LPI2C7>,
<&clks IMX7ULP_CLK_NIC1_BUS_DIV>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)