Skip to content

Commit f8c9816

Browse files
committed
REVYOS: riscv: dts: sophgo: Enable SPI NOR node for SG2042_EVB_V1/V2
Signed-off-by: Han Gao <[email protected]>
1 parent 435d4b0 commit f8c9816

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,24 @@
268268
status = "okay";
269269
};
270270

271+
&spifmc0 {
272+
status = "okay";
273+
274+
flash@0 {
275+
compatible = "jedec,spi-nor";
276+
reg = <0>;
277+
};
278+
};
279+
280+
&spifmc1 {
281+
status = "okay";
282+
283+
flash@0 {
284+
compatible = "jedec,spi-nor";
285+
reg = <0>;
286+
};
287+
};
288+
271289
&uart0 {
272290
pinctrl-0 = <&uart0_cfg>;
273291
pinctrl-names = "default";

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,15 @@
256256
status = "okay";
257257
};
258258

259+
&spifmc1 {
260+
status = "okay";
261+
262+
flash@0 {
263+
compatible = "jedec,spi-nor";
264+
reg = <0>;
265+
};
266+
};
267+
259268
&uart0 {
260269
pinctrl-0 = <&uart0_cfg>;
261270
pinctrl-names = "default";

0 commit comments

Comments
 (0)