Lines Matching +full:spi +full:- +full:cpol
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: SPI EEPROMs compatible with Atmel's AT25
10 - Christian Eggers <ceggers@arri.de>
14 pattern: "^eeprom@[0-9a-f]{1,2}$"
24 - items:
25 - enum:
26 - anvo,anv32e61w
27 - atmel,at25256B
28 - fujitsu,mb85rs1mt
29 - fujitsu,mb85rs64
30 - microchip,at25160bn
31 - microchip,25lc040
32 - st,m95m02
33 - st,m95256
35 - const: atmel,at25
38 - items:
39 - const: atmel,at25
45 spi-max-frequency: true
58 address-width:
66 spi-cpha: true
68 spi-cpol: true
70 read-only:
75 wp-gpios:
78 GPIO to which the write-protect pin of the chip is connected.
80 # Deprecated: at25,byte-len, at25,addr-mode, at25,page-size
81 at25,byte-len:
87 at25,addr-mode:
90 Addr-mode flags, as defined in include/linux/spi/eeprom.h.
91 Deprecated, use "address-width" property instead.
94 at25,page-size:
101 - compatible
102 - reg
103 - spi-max-frequency
104 - pagesize
105 - size
106 - address-width
111 - |
112 #include <dt-bindings/gpio/gpio.h>
114 #address-cells = <1>;
115 #size-cells = <0>;
120 spi-max-frequency = <5000000>;
121 spi-cpha;
122 spi-cpol;
123 wp-gpios = <&gpio1 3 0>;
127 address-width = <16>;