[U-Boot] [PATCH 02/10] x86: Add device tree information for Chrome OS EC

Simon Glass sjg at chromium.org
Fri Oct 10 15:30:13 CEST 2014


Add the required node describing how to find the EC on link.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/dts/link.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/x86/dts/link.dts b/arch/x86/dts/link.dts
index 4a37dac..67ce52a 100644
--- a/arch/x86/dts/link.dts
+++ b/arch/x86/dts/link.dts
@@ -32,4 +32,22 @@
 			memory-map = <0xff800000 0x00800000>;
 		};
 	};
+
+	lpc {
+		compatible = "intel,lpc";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		cros-ec at 200 {
+			compatible = "google,cros-ec";
+			reg = <0x204 1 0x200 1 0x880 0x80>;
+
+			/* This describes the flash memory within the EC */
+			#address-cells = <1>;
+			#size-cells = <1>;
+			flash at 8000000 {
+				reg = <0x08000000 0x20000>;
+				erase-value = <0xff>;
+			};
+		};
+	};
 };
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list