1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/net/nfc/marvell,nci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell International Ltd. NCI NFC controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
22 Specifies that the chip is muxing NCI over HCI frames
31 $ref: /schemas/types.yaml#/definitions/phandle-array
34 Output GPIO pin used to reset the chip (active low)
39 For I2C type of connection. Specifies that the chip read event shall be
40 triggered on falling edge.
45 For I2C type of connection. Specifies that the chip read event shall be
46 triggered on rising edge.
51 For UART type of connection. Specifies that the chip needs specific break
57 For UART type of connection. Specifies that the chip is using RTS/CTS.
70 const: marvell,nfc-i2c
77 spi-max-frequency: false
85 const: marvell,nfc-spi
87 $ref: /schemas/spi/spi-peripheral-props.yaml#
91 i2c-int-falling: false
100 const: marvell,nfc-uart
103 i2c-int-falling: false
104 i2c-int-rising: false
108 spi-max-frequency: false
111 unevaluatedProperties: false
115 #include <dt-bindings/gpio/gpio.h>
116 #include <dt-bindings/interrupt-controller/irq.h>
119 #address-cells = <1>;
123 compatible = "marvell,nfc-i2c";
126 interrupt-parent = <&gpio3>;
127 interrupts = <21 IRQ_TYPE_EDGE_RISING>;
131 reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
136 #include <dt-bindings/gpio/gpio.h>
137 #include <dt-bindings/interrupt-controller/irq.h>
140 #address-cells = <1>;
144 compatible = "marvell,nfc-spi";
147 spi-max-frequency = <3000000>;
151 interrupt-parent = <&gpio1>;
152 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
154 reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
159 #include <dt-bindings/gpio/gpio.h>
163 compatible = "marvell,nfc-uart";
165 reset-n-io = <&gpio3 16 GPIO_ACTIVE_LOW>;