Lines Matching +full:nfc +full:- +full:i2c

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
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>
15 - marvell,nfc-i2c
16 - marvell,nfc-spi
17 - marvell,nfc-uart
19 hci-muxed:
30 reset-n-io:
31 $ref: /schemas/types.yaml#/definitions/phandle-array
36 i2c-int-falling:
39 For I2C type of connection. Specifies that the chip read event shall be
42 i2c-int-rising:
45 For I2C type of connection. Specifies that the chip read event shall be
48 break-control:
54 flow-control:
59 spi-cpha: true
60 spi-cpol: true
63 - compatible
66 - if:
70 const: marvell,nfc-i2c
73 break-control: false
74 flow-control: false
75 spi-cpha: false
76 spi-cpol: false
77 spi-max-frequency: false
79 - reg
81 - if:
85 const: marvell,nfc-spi
87 $ref: /schemas/spi/spi-peripheral-props.yaml#
89 break-control: false
90 flow-control: false
91 i2c-int-falling: false
92 i2c-int-rising: false
94 - reg
96 - if:
100 const: marvell,nfc-uart
103 i2c-int-falling: false
104 i2c-int-rising: false
106 spi-cpha: false
107 spi-cpol: false
108 spi-max-frequency: false
114 - |
115 #include <dt-bindings/gpio/gpio.h>
116 #include <dt-bindings/interrupt-controller/irq.h>
118 i2c {
119 #address-cells = <1>;
120 #size-cells = <0>;
122 nfc@8 {
123 compatible = "marvell,nfc-i2c";
126 interrupt-parent = <&gpio3>;
129 i2c-int-rising;
131 reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
135 - |
136 #include <dt-bindings/gpio/gpio.h>
137 #include <dt-bindings/interrupt-controller/irq.h>
140 #address-cells = <1>;
141 #size-cells = <0>;
143 nfc@0 {
144 compatible = "marvell,nfc-spi";
147 spi-max-frequency = <3000000>;
148 spi-cpha;
149 spi-cpol;
151 interrupt-parent = <&gpio1>;
154 reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
158 - |
159 #include <dt-bindings/gpio/gpio.h>
162 nfc {
163 compatible = "marvell,nfc-uart";
165 reset-n-io = <&gpio3 16 GPIO_ACTIVE_LOW>;
167 hci-muxed;
168 flow-control;