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

Brian Norris computersforpeace at gmail.com
Thu May 5 18:02:44 PDT 2016


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 at gmail.com>
---
 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 at 0 {
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+	};
 };
 
 &tsadc {
-- 
2.8.0.rc3.226.g39d4020




More information about the Linux-rockchip mailing list