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

From: Markus Reichl
Date: Mon Nov 18 2019 - 07:45:01 EST


rk3399-roc-pc has 16 MB SPI NOR Flash, enable it.

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

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";
};
--
2.20.1