Skip to content

Commit 2f8b598

Browse files
sycamoremoonRevySR
authored andcommitted
FROMLIST: riscv: dts: sophgo: Enable SPI NOR node for SG2042_EVB_V2
Enable SPI NOR node for SG2042_EVB_V2 device tree Signed-off-by: Zixian Zeng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Han Gao <[email protected]>
1 parent 8692526 commit 2f8b598

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/riscv/boot/dts/sophgo/sg2042-evb-v2.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,18 @@
226226
status = "okay";
227227
};
228228

229+
&spifmc1 {
230+
status = "okay";
231+
232+
flash@0 {
233+
compatible = "jedec,spi-nor";
234+
reg = <0>;
235+
spi-max-frequency = <100000000>;
236+
spi-tx-bus-width = <4>;
237+
spi-rx-bus-width = <4>;
238+
};
239+
};
240+
229241
&uart0 {
230242
pinctrl-0 = <&uart0_cfg>;
231243
pinctrl-names = "default";

0 commit comments

Comments
 (0)