mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 13e0ee34f39c01948a7bbaab0b3c225d9b00a5bb Mon Sep 17 00:00:00 2001
|
|
From: Peter Geis <pgwipeout@gmail.com>
|
|
Date: Fri, 29 Apr 2022 07:52:49 -0400
|
|
Subject: [PATCH] arm64: dts: rockchip: add rk356x sfc support
|
|
|
|
Add the sfc node to the rk356x device tree. This enables spi flash
|
|
support for this soc.
|
|
|
|
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
|
|
Link: https://lore.kernel.org/r/20220429115252.2360496-5-pgwipeout@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
@@ -729,6 +729,17 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ sfc: spi@fe300000 {
|
|
+ compatible = "rockchip,sfc";
|
|
+ reg = <0x0 0xfe300000 0x0 0x4000>;
|
|
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
|
|
+ clock-names = "clk_sfc", "hclk_sfc";
|
|
+ pinctrl-0 = <&fspi_pins>;
|
|
+ pinctrl-names = "default";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
sdhci: mmc@fe310000 {
|
|
compatible = "rockchip,rk3568-dwcmshc";
|
|
reg = <0x0 0xfe310000 0x0 0x10000>;
|