Skip to content

Commit 8692526

Browse files
sycamoremoonRevySR
authored andcommitted
FROMLIST: riscv: dts: sophgo: Enable SPI NOR node for SG2042_EVB_V1
Enable SPI NOR node for SG2042_EVB_V1 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 2718fa0 commit 8692526

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,30 @@
238238
status = "okay";
239239
};
240240

241+
&spifmc0 {
242+
status = "okay";
243+
244+
flash@0 {
245+
compatible = "jedec,spi-nor";
246+
reg = <0>;
247+
spi-max-frequency = <100000000>;
248+
spi-tx-bus-width = <4>;
249+
spi-rx-bus-width = <4>;
250+
};
251+
};
252+
253+
&spifmc1 {
254+
status = "okay";
255+
256+
flash@0 {
257+
compatible = "jedec,spi-nor";
258+
reg = <0>;
259+
spi-max-frequency = <100000000>;
260+
spi-tx-bus-width = <4>;
261+
spi-rx-bus-width = <4>;
262+
};
263+
};
264+
241265
&uart0 {
242266
pinctrl-0 = <&uart0_cfg>;
243267
pinctrl-names = "default";

0 commit comments

Comments
 (0)