[PATCH] ARM: dts: rk3288: add SPI flash node for veyron

From: Brian Norris
Date: Thu May 05 2016 - 21:02:58 EST


This is a standard binding for describing SPI flash that can be
identified by reading their JEDEC ID. Let's use it.

Tested on Veyron Jaq.

Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx>
---
arch/arm/boot/dts/rk3288-veyron.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index 412809c60d01..28f8ba8ae500 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -369,6 +369,12 @@
status = "okay";

rx-sample-delay-ns = <12>;
+
+ flash@0 {
+ compatible = "jedec,spi-nor";
+ spi-max-frequency = <50000000>;
+ reg = <0>;
+ };
};

&tsadc {
--
2.8.0.rc3.226.g39d4020