STMicroelectronics SAS ST21NFCA NFC controller
Schema identifier ($id): "http://devicetree.org/schemas/net/nfc/st,st21nfca.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,st21nfca-i2c"
enable-gpios — required here #
Output GPIO pin used for enabling/disabling the controller
ese-present — not listed as required here #
Value type (type): "boolean"
Specifies that an ese is physically connected to the controller
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
uicc-present — not listed as required here #
Value type (type): "boolean"
Specifies that the uicc swp signal can be physically connected to the controller
Required in this object (required): "compatible", "enable-gpios", "interrupts", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
nfc@1 {
compatible = "st,st21nfca-i2c";
reg = <0x1>;
interrupt-parent = <&gpio5>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
ese-present;
uicc-present;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause