Skip to content

Commit 2718fa0

Browse files
sycamoremoonRevySR
authored andcommitted
FROMLIST: riscv: dts: sophgo: Enable SPI NOR node for PioneerBox
Enable SPI NOR node for PioneerBox device tree Reviewed-by: Chen Wang <[email protected]> Tested-by: Chen Wang <[email protected]> Signed-off-by: Zixian Zeng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Han Gao <[email protected]>
1 parent ab968b1 commit 2718fa0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,30 @@
138138
status = "okay";
139139
};
140140

141+
&spifmc0 {
142+
status = "okay";
143+
144+
flash@0 {
145+
compatible = "jedec,spi-nor";
146+
reg = <0>;
147+
spi-max-frequency = <100000000>;
148+
spi-tx-bus-width = <4>;
149+
spi-rx-bus-width = <4>;
150+
};
151+
};
152+
153+
&spifmc1 {
154+
status = "okay";
155+
156+
flash@0 {
157+
compatible = "jedec,spi-nor";
158+
reg = <0>;
159+
spi-max-frequency = <100000000>;
160+
spi-tx-bus-width = <4>;
161+
spi-rx-bus-width = <4>;
162+
};
163+
};
164+
141165
&uart0 {
142166
pinctrl-0 = <&uart0_cfg>;
143167
pinctrl-names = "default";

0 commit comments

Comments
 (0)