From 6ddc4fd82283056a65d61ef38398ffbd06fd3c7b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 10 Oct 2014 07:30:13 -0600 Subject: [PATCH] x86: Add device tree information for Chrome OS EC Add the required node describing how to find the EC on link. Signed-off-by: Simon Glass --- 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 4a37dac4ea..67ce52a102 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@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@8000000 { + reg = <0x08000000 0x20000>; + erase-value = <0xff>; + }; + }; + }; }; -- 2.39.2