mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 04:22:32 -04:00
Krzysztof Kozlowski's @canonical.com email stopped working, so switch to generic @kernel.org account for all Devicetree bindings. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20220330074016.12896-2-krzysztof.kozlowski@linaro.org
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/nfc/nxp,nci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NXP Semiconductors NCI NFC controller
|
|
|
|
maintainers:
|
|
- Charles Gorand <charles.gorand@effinnov.com>
|
|
- Krzysztof Kozlowski <krzk@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: nxp,nxp-nci-i2c
|
|
- items:
|
|
- const: nxp,pn547
|
|
- const: nxp,nxp-nci-i2c
|
|
|
|
enable-gpios:
|
|
description: Output GPIO pin used for enabling/disabling the controller
|
|
|
|
firmware-gpios:
|
|
description: Output GPIO pin used to enter firmware download mode
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- enable-gpios
|
|
- interrupts
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
nfc@29 {
|
|
compatible = "nxp,nxp-nci-i2c";
|
|
|
|
reg = <0x29>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
|
|
firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|