1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/nfc/st, 4 $id: http://devicetree.org/schemas/net/nfc/st,st21nfca.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: STMicroelectronics SAS ST21NFCA NFC con 7 title: STMicroelectronics SAS ST21NFCA NFC controller 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: st,st21nfca-i2c 14 const: st,st21nfca-i2c 15 15 16 enable-gpios: 16 enable-gpios: 17 description: Output GPIO pin used for enab 17 description: Output GPIO pin used for enabling/disabling the controller 18 18 19 ese-present: 19 ese-present: 20 type: boolean 20 type: boolean 21 description: | 21 description: | 22 Specifies that an ese is physically conn 22 Specifies that an ese is physically connected to the controller 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 reg: 27 reg: 28 maxItems: 1 28 maxItems: 1 29 29 30 uicc-present: 30 uicc-present: 31 type: boolean 31 type: boolean 32 description: | 32 description: | 33 Specifies that the uicc swp signal can b 33 Specifies that the uicc swp signal can be physically connected to the 34 controller 34 controller 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - enable-gpios 38 - enable-gpios 39 - interrupts 39 - interrupts 40 - reg 40 - reg 41 41 42 additionalProperties: false 42 additionalProperties: false 43 43 44 examples: 44 examples: 45 - | 45 - | 46 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/interrupt-controller 47 #include <dt-bindings/interrupt-controller/irq.h> 48 48 49 i2c { 49 i2c { 50 #address-cells = <1>; 50 #address-cells = <1>; 51 #size-cells = <0>; 51 #size-cells = <0>; 52 52 53 nfc@1 { 53 nfc@1 { 54 compatible = "st,st21nfca-i2c"; 54 compatible = "st,st21nfca-i2c"; 55 reg = <0x1>; 55 reg = <0x1>; 56 56 57 interrupt-parent = <&gpio5>; 57 interrupt-parent = <&gpio5>; 58 interrupts = <2 IRQ_TYPE_LEVEL_LOW 58 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 59 enable-gpios = <&gpio5 29 GPIO_ACT 59 enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; 60 60 61 ese-present; 61 ese-present; 62 uicc-present; 62 uicc-present; 63 }; 63 }; 64 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.