brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 8a72743 Raw
65 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/net/nfc/st,st21nfca.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectronics SAS ST21NFCA NFC controller8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11 12properties:13  compatible:14    const: st,st21nfca-i2c15 16  enable-gpios:17    description: Output GPIO pin used for enabling/disabling the controller18 19  ese-present:20    type: boolean21    description: |22      Specifies that an ese is physically connected to the controller23 24  interrupts:25    maxItems: 126 27  reg:28    maxItems: 129 30  uicc-present:31    type: boolean32    description: |33      Specifies that the uicc swp signal can be physically connected to the34      controller35 36required:37  - compatible38  - enable-gpios39  - interrupts40  - reg41 42additionalProperties: false43 44examples:45  - |46    #include <dt-bindings/gpio/gpio.h>47    #include <dt-bindings/interrupt-controller/irq.h>48 49    i2c {50        #address-cells = <1>;51        #size-cells = <0>;52 53        nfc@1 {54            compatible = "st,st21nfca-i2c";55            reg = <0x1>;56 57            interrupt-parent = <&gpio5>;58            interrupts = <2 IRQ_TYPE_LEVEL_LOW>;59            enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;60 61            ese-present;62            uicc-present;63        };64    };65