File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 55
55
pinmux_lpspi1: pinmux_lpspi1 {
56
56
group0 {
57
57
pinmux = <LPSPI1_SIN_PTB1>,
58
- <LPSPI1_SOUT_PTB3>;
58
+ <LPSPI1_SCK_PTB2>,
59
+ <LPSPI1_SOUT_PTB3>,
60
+ <LPSPI1_PCS0_PTB0>;
59
61
slew-rate = "fast";
60
62
drive-strength = "low";
61
63
};
Original file line number Diff line number Diff line change 95
95
status = "okay";
96
96
pinctrl-0 = <&pinmux_lpspi1>;
97
97
pinctrl-names = "default";
98
+ pcs-sck-delay = <5>;
99
+ sck-pcs-delay = <5>;
100
+ transfer-delay = <125>;
101
+
102
+ mx25r6435fm2il0: flash@0 {
103
+ compatible = "jedec,spi-nor";
104
+ jedec-id = [c2 28 17];
105
+ reg = <0>;
106
+ /* only wp-gpio on default board configuration,
107
+ * there is a reset gpio line but the line is
108
+ * DNP by default on the board (R4 on schematic)
109
+ */
110
+ wp-gpios = <&gpioc 0 GPIO_ACTIVE_LOW>;
111
+ size = <DT_SIZE_M(64)>;
112
+ has-dpd;
113
+ dpd-wakeup-sequence = <30000 20 35000>;
114
+ t-enter-dpd = <10000>;
115
+ /* this is the default (reset) mode for this flash */
116
+ mxicy,mx25r-power-mode = "low-power";
117
+ /* 8 MHz for low power mode */
118
+ spi-max-frequency = <8000000>;
119
+ };
98
120
};
99
121
100
122
&flash {
You can’t perform that action at this time.
0 commit comments