Lines Matching +full:broken +full:- +full:flash +full:- +full:reset
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI NOR flash ST M25Pxx (and similar) serial flash chips
10 - Rob Herring <[email protected]>
13 - $ref: mtd.yaml#
14 - $ref: /schemas/spi/spi-peripheral-props.yaml#
19 - items:
20 - pattern: "^((((micron|spansion|st),)?\
33 - const: jedec,spi-nor
34 - items:
35 - enum:
36 - issi,is25lp016d
37 - micron,mt25qu02g
38 - mxicy,mx25r1635f
39 - mxicy,mx25u6435f
40 - mxicy,mx25v8035f
41 - spansion,s25sl12801
42 - spansion,s25fs512s
43 - const: jedec,spi-nor
44 - const: jedec,spi-nor
49 "jedec,spi-nor" compatible.
58 m25p,fast-read:
66 broken-flash-reset:
69 Some flash devices utilize stateful addressing modes (e.g., for 32-bit
71 sorts of flash don't have a standardized software reset command, and
72 because some systems don't toggle the flash RESET# pin upon system reset
74 properly if the flash is left in the "wrong" state. This boolean flag can
75 be used on such systems, to denote the absence of a reliable reset
78 no-wp:
84 strapped to LOW, the status register nonvolatile bits become read-only and
86 this hardware-protected mode is to drive WP# HIGH. If the WP# signal of the
87 flash device is not connected or is wrongly tied to GND (that includes internal
88 pull-downs) then status register permanently becomes read-only as the SRWD bit
89 cannot be reset. This boolean flag can be used on such systems to avoid setting
93 reset-gpios:
95 A GPIO line connected to the RESET (active low) signal of the device.
96 If "broken-flash-reset" is present then having this property does not
99 vcc-supply:
103 spi-cpol: true
104 spi-cpha: true
107 spi-cpol: [ spi-cpha ]
108 spi-cpha: [ spi-cpol ]
113 - |
114 #include <dt-bindings/gpio/gpio.h>
116 #address-cells = <1>;
117 #size-cells = <0>;
119 flash@0 {
120 compatible = "spansion,m25p80", "jedec,spi-nor";
122 spi-max-frequency = <40000000>;
123 m25p,fast-read;
124 reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>;