[U-Boot] [PATCH v2 12/15] x86: Add FDT SPI node for link

Simon Glass sjg at chromium.org
Mon Mar 11 17:08:10 CET 2013


Add a memory-mapped 8GB SPI chip.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None

 board/chromebook-x86/dts/link.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/board/chromebook-x86/dts/link.dts b/board/chromebook-x86/dts/link.dts
index ae8217d..d0738cb 100644
--- a/board/chromebook-x86/dts/link.dts
+++ b/board/chromebook-x86/dts/link.dts
@@ -21,4 +21,15 @@
 
         chosen { };
         memory { device_type = "memory"; reg = <0 0>; };
+
+	spi {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "intel,ich9";
+		spi-flash at 0 {
+			reg = <0>;
+			compatible = "winbond,w25q64", "spi-flash";
+			memory-map = <0xff800000 0x00800000>;
+		};
+	};
 };
-- 
1.8.1.3



More information about the U-Boot mailing list