diff mbox series

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

Message ID 20240623204616.1344806-1-pbrobinson@gmail.com (mailing list archive)
State New
Headers show
Series arm64: dts: rockchip: Enable SPI flash on PinePhone Pro | expand

Commit Message

Peter Robinson June 23, 2024, 8:46 p.m. UTC
The PinePhone Pro as SPI flash on board so enable the SPI
interface and the flash.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Heiko Stübner June 24, 2024, 4:20 p.m. UTC | #1
On Sun, 23 Jun 2024 21:46:14 +0100, Peter Robinson wrote:
> 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,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
index 8c2a4aaa635d0..e94656dd64238 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
@@ -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>;