forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rockchip-rk3588/edge: nanopct6: Add NanoPC T6 SPI Flash (6.10-rc2 ver…
…sion)
- Loading branch information
1 parent
6dec7db
commit 117b6fe
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
patch/kernel/rockchip-rk3588-edge/1051-arm64-dts-rockchip-Add-NanoPC-T6-SPI-Flash.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ricardo Pardini <[email protected]> | ||
Date: Thu, 6 Jun 2024 23:00:05 +0200 | ||
Subject: arm64: dts: rockchip: Add NanoPC T6 SPI Flash | ||
|
||
Signed-off-by: Ricardo Pardini <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | 14 ++++++++++ | ||
1 file changed, 14 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | ||
index ad8e36a339dc4..2085e73a44642 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts | ||
@@ -569,20 +569,34 @@ &sdmmc { | ||
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; | ||
disable-wp; | ||
no-mmc; | ||
no-sdio; | ||
sd-uhs-sdr104; | ||
vmmc-supply = <&vcc3v3_sd_s0>; | ||
vqmmc-supply = <&vccio_sd_s0>; | ||
status = "okay"; | ||
}; | ||
|
||
+&sfc { | ||
+ pinctrl-names = "default"; | ||
+ pinctrl-0 = <&fspim1_pins>; | ||
+ status = "okay"; | ||
+ | ||
+ flash@0 { | ||
+ compatible = "jedec,spi-nor"; | ||
+ reg = <0x0>; | ||
+ spi-max-frequency = <50000000>; | ||
+ spi-rx-bus-width = <4>; | ||
+ spi-tx-bus-width = <1>; | ||
+ }; | ||
+}; | ||
+ | ||
&spi2 { | ||
status = "okay"; | ||
assigned-clocks = <&cru CLK_SPI2>; | ||
assigned-clock-rates = <200000000>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; | ||
num-cs = <1>; | ||
|
||
pmic@0 { | ||
compatible = "rockchip,rk806"; | ||
-- | ||
Armbian | ||
|