Skip to content

Commit 6c7676a

Browse files
aiamadeusmmind
authored andcommitted
arm64: dts: rockchip: enable onboard spi flash for rock-3a
There is a mx25u12835f spi flash on this board, enable it. [ 2.525805] spi-nor spi4.0: mx25u12835f (16384 Kbytes) Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://lore.kernel.org/r/20240409120003.309358-2-amadeus@jmu.edu.cn Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent c57d1a9 commit 6c7676a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,20 @@
757757
status = "okay";
758758
};
759759

760+
&sfc {
761+
#address-cells = <1>;
762+
#size-cells = <0>;
763+
status = "okay";
764+
765+
flash@0 {
766+
compatible = "jedec,spi-nor";
767+
reg = <0x0>;
768+
spi-max-frequency = <104000000>;
769+
spi-rx-bus-width = <4>;
770+
spi-tx-bus-width = <1>;
771+
};
772+
};
773+
760774
&tsadc {
761775
rockchip,hw-tshut-mode = <1>;
762776
rockchip,hw-tshut-polarity = <0>;

0 commit comments

Comments
 (0)