Skip to contentSkip to conversation

arm64: dts: rockchip: Enable SPI flash on PinePhone Pro

PATCH Applied Peter Robinson 2 participants 2 messages Jun 23, 2024 – Jun 24, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Enable SPI flash on PinePhone Pro

The PinePhone Pro as SPI flash on board so enable the SPI interface and the flash.

---
 arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +10 -0
index 8c2a4aaa635d0..e94656dd64238 100644
@@ -629,6 +629,16 @@ &sdhci {
 	status = "okay";
 };
 
+&spi1 {
+	status = "okay";
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		spi-max-frequency = <10000000>;
+	};
+};
+
 &tsadc {
 	rockchip,hw-tshut-mode = <1>;
 	rockchip,hw-tshut-polarity = <1>;
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Peter Robinson

The PinePhone Pro as SPI flash on board so enable the SPI interface and the flash.

Applied, thanks!

[1/1] arm64: dts: rockchip: Enable SPI flash on PinePhone Pro

      commit: c7f024956d9f35d8b305fe90fe33d7f15055ef25

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>