Skip to contentSkip to conversation

arm64: dts: rockchip: add rk356x sfc support

PATCH New Peter Geis 1 participant 1 message Apr 12, 2022

Subsystems (2)
lore
Share & tools
lore

Peter Geis

author
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: add rk356x sfc support

Add the sfc node to the rk356x device tree.
The sfc node on rk356x can function as a boot device and supports four lanes of receive data and one lane of transmit data for supported SPI-NOR chips.

---
 arch/arm64/boot/dts/rockchip/rk356x.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +11 -0
index d5131f5aaf73..b52edcdbbe7d 100644
@@ -812,6 +812,17 @@ sdmmc1: mmc@fe2c0000 {
 		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>;
Signature · 1 line
2.25.1