Xilinx IIC controller
Schema identifier ($id): "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "info@mocean-labs.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): "xlnx,axi-iic-2.1", "xlnx,xps-iic-2.00.a"
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
clock-name — not listed as required here #
Exact value (const): "pclk"
Input clock name.
clock-frequency — not listed as required here #
Optional I2C SCL clock frequency. If not specified, do not configure in software, rely only on hardware design value.
Default value (default): 100000
Allowed values (enum): 100000, 400000, 1000000
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
axi_iic_0: i2c@40800000 {
compatible = "xlnx,xps-iic-2.00.a";
clocks = <&clkc 15>;
interrupts = < 1 2 >;
reg = < 0x40800000 0x10000 >;
#size-cells = <0>;
#address-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)