All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] arm64: dts: rockchip: add SFC support for Radxa ROCK 5B
@ 2024-06-23  2:33 ` FUKAUMI Naoki
  0 siblings, 0 replies; 18+ messages in thread
From: FUKAUMI Naoki @ 2024-06-23  2:33 UTC (permalink / raw)
  To: heiko
  Cc: robh, krzk+dt, conor+dt, amadeus, chris.obbard, sebastian.reichel,
	devicetree, linux-rockchip, FUKAUMI Naoki

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>
---
 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 6a3fd6be1793..966bbc582d89 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -449,6 +449,20 @@ &sdio {
 	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>;
-- 
2.43.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-06-24 21:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-23  2:33 [PATCH 1/3] arm64: dts: rockchip: add SFC support for Radxa ROCK 5B FUKAUMI Naoki
2024-06-23  2:33 ` FUKAUMI Naoki
2024-06-23  2:33 ` [PATCH 2/3] arm64: dts: rockchip: add (but disabled) SFC node for Radxa ROCK 5A FUKAUMI Naoki
2024-06-23  2:33   ` FUKAUMI Naoki
2024-06-23  2:33 ` [PATCH 3/3] arm64: dts: rockchip: change spi-max-frequency for Radxa ROCK 3C FUKAUMI Naoki
2024-06-23  2:33   ` FUKAUMI Naoki
2024-06-23  4:04   ` Chukun Pan
2024-06-23  4:04     ` Chukun Pan
2024-06-23  4:24     ` FUKAUMI Naoki
2024-06-23  4:24       ` FUKAUMI Naoki
2024-06-24 10:00       ` Chukun Pan
2024-06-24 10:00         ` Chukun Pan
2024-06-24 21:29         ` FUKAUMI Naoki
2024-06-24 21:29           ` FUKAUMI Naoki
2024-06-24 14:58       ` Heiko Stübner
2024-06-24 14:58         ` Heiko Stübner
2024-06-24 16:20 ` [PATCH 1/3] arm64: dts: rockchip: add SFC support for Radxa ROCK 5B Heiko Stuebner
2024-06-24 16:20   ` Heiko Stuebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.