[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200923131424.1612960-2-art@khadas.com>
Date: Wed, 23 Sep 2020 21:14:23 +0800
From: Artem Lapkin <email2tema@...il.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: robh+dt@...nel.org, art@...das.com, jbx6244@...il.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
nick@...das.com, gouwa@...das.com
Subject: [PATCH v2 1/2] arm64: dts: rockchip: add spiflash node to rk3399-khadas-edge
The Khadas Edge Boards uses winbond - w25q128 spi flash with 104Mhz
Signed-off-by: Artem Lapkin <art@...das.com>
Tested-by: Artem Lapkin <art@...das.com>
---
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
index e36837c04dc..c67420578fa 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi
@@ -690,6 +690,16 @@ &sdhci {
status = "okay";
};
+&spi1 {
+ status = "okay";
+
+ spiflash: flash@0 {
+ compatible = "winbond,w25q128fw", "jedec,spi-nor";
+ reg = <0>;
+ spi-max-frequency = <104000000>;
+ };
+};
+
&tcphy0 {
status = "okay";
};
--
2.25.1
Powered by blists - more mailing lists