mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
1c61a8f958
Hardware -------- RockChip RK3588 ARM64 (8 cores) 4/8/16/32GB LPDDR4X RAM 2500 Base-T RGB LED eMMC Connector SPI-NOR 16MB Micro-SD Slot 2x USB 2.0 Port 2x USB 3.0 Port Headphone Jack M.2 E-Key M.2 M-Key USB PD 5/9/12/15/20V Power Install -------- Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/16149 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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>;
|