diff mbox series

arm64: dts: rockchip: Enable MTD Flash on rk3399-roc-pc

Message ID 94f44e1d-86c6-1e32-aa63-56edbd7d75f5@fivetechno.de (mailing list archive)
State Mainlined
Commit a43e29090934670233026838b05a7aa8be1d76d6
Headers show
Series arm64: dts: rockchip: Enable MTD Flash on rk3399-roc-pc | expand

Commit Message

Markus Reichl Nov. 18, 2019, 12:44 p.m. UTC
rk3399-roc-pc has 16 MB SPI NOR Flash, enable it.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
 arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Heiko Stuebner Nov. 19, 2019, 9:09 a.m. UTC | #1
Am Montag, 18. November 2019, 13:44:54 CET schrieb Markus Reichl:
> rk3399-roc-pc has 16 MB SPI NOR Flash, enable it.
> 
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>

applied (yesterday evening already)

Thanks
Heiko
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
index a50e5ea52a4c..137e3ce106b3 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi
@@ -696,6 +696,16 @@ 
 	status = "okay";
 };
 
+&spi1 {
+	status = "okay";
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		reg = <0>;
+		spi-max-frequency = <10000000>;
+	};
+};
+
 &tcphy0 {
 	status = "okay";
 };