mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
|
From 9204a7ecca96403ee3d61c14cb9eb87ec89b0fcd Mon Sep 17 00:00:00 2001
|
||
|
From: FUKAUMI Naoki <naoki@radxa.com>
|
||
|
Date: Sun, 23 Jun 2024 11:33:27 +0900
|
||
|
Subject: [PATCH] arm64: dts: rockchip: add SFC support for Radxa ROCK 5B
|
||
|
|
||
|
This commit adds support for SPI NOR flash on Radxa ROCK 5B.
|
||
|
|
||
|
SPI NOR flash chip may vary, so use safe(lowest) spi-max-frequency.
|
||
|
|
||
|
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
|
||
|
Link: https://lore.kernel.org/r/20240623023329.1044-1-naoki@radxa.com
|
||
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
||
|
---
|
||
|
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 14 ++++++++++++++
|
||
|
1 file changed, 14 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
||
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
||
|
@@ -442,6 +442,20 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&sfc {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&fspim2_pins>;
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ flash@0 {
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>;
|
||
|
+ spi-max-frequency = <104000000>;
|
||
|
+ spi-rx-bus-width = <4>;
|
||
|
+ spi-tx-bus-width = <1>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
&uart6 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
|