projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57d1a9
)
arm64: dts: rockchip: enable onboard spi flash for rock-3a
author
Chukun Pan
<amadeus@jmu.edu.cn>
Tue, 9 Apr 2024 12:00:03 +0000
(20:00 +0800)
committer
Heiko Stuebner
<heiko@sntech.de>
Fri, 3 May 2024 11:32:42 +0000
(13:32 +0200)
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>
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
index ccc4119ca43a41778961ec5abf042831f90edff6..ebdedea15ad1605a05f278d52ad2f6cf8101c14a 100644
(file)
--- a/
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
+++ b/
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
@@
-757,6
+757,20
@@
status = "okay";
};
+&sfc {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0x0>;
+ spi-max-frequency = <104000000>;
+ spi-rx-bus-width = <4>;
+ spi-tx-bus-width = <1>;
+ };
+};
+
&tsadc {
rockchip,hw-tshut-mode = <1>;
rockchip,hw-tshut-polarity = <0>;