Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395567

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

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: dts: rk3288: add SPI flash node for veyron
Date 2016-05-06 03:10 +0200
Message-ID <rvCrf-35r-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: rk3288: add SPI flash node for veyron Brian Norris <computersforpeace@gmail.com> - 2016-05-06 03:10 +0200
  Re: [PATCH] ARM: dts: rk3288: add SPI flash node for veyron Heiko Stuebner <heiko@sntech.de> - 2016-05-08 23:30 +0200

csiph-web